Click or drag to resize

WidgetInput Constructor

Constructs an input object for a Widget.

Namespace:  IBM.Watson.DeveloperCloud.Widgets
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Input(
	string name,
	Type dataType,
	string receiverFunction,
	bool allowMany = true
)

Parameters

name
Type: SystemString
The name of the input.
dataType
Type: SystemType
The type of data the input takes.
receiverFunction
Type: SystemString
The name of the function to invoke with the input. The input function must match If true, then allow more than one output to connect to this input. the OnReceiveData callback.
allowMany (Optional)
Type: SystemBoolean

[Missing <param name="allowMany"/> documentation for "M:IBM.Watson.DeveloperCloud.Widgets.Widget.Input.#ctor(System.String,System.Type,System.String,System.Boolean)"]

See Also