Class Pipeline.ValveNode
Definition
- Namespace:
- Tizen.MachineLearning.Inference
- Assembly:
- Tizen.MachineLearning.Inference.dll
- API Level:
- 8
ValveNode class to handle the valve node.
C#Copypublic class ValveNode : Pipeline.NodeInfo
- Inheritance
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#Copypublic 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. |