Class Pipeline.ValveNode

Definition

Namespace:
Tizen.MachineLearning.Inference
Assembly:
Tizen.MachineLearning.Inference.dll
API Level:
8

ValveNode class to handle the valve node.

C#
Copy
public class ValveNode : Pipeline.NodeInfo
Inheritance
System.Object
Pipeline.ValveNode

Methods

View Source

Control(Boolean)

Controls the valve. Set the flag true to open (let the flow pass), false to close (stop the flow).

Declaration
C#
Copy
public void Control(bool open)
Parameters
Type Name Description
Boolean open

The flag to control the flow

Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

System.InvalidOperationException

Thrown when the node is invalid.

API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference