Click or drag to resize

WidgetOutput Class

This object handles output on a widget.
Inheritance Hierarchy
SystemObject
  IBM.Watson.DeveloperCloud.WidgetsWidgetOutput

Namespace:  IBM.Watson.DeveloperCloud.Widgets
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
[SerializableAttribute]
public class Output

The WidgetOutput type exposes the following members.

Constructors
  NameDescription
Public methodWidgetOutput
The constructor for an widget output object.
Top
Properties
  NameDescription
Public propertyAllowMany
If true, allows more than one input to be connected to this output.
Public propertyConnections
Connections between widgets.
Public propertyDataType
The type of data this output sends.
Public propertyIsConnected
Returns true if this output is connected to a input.
Public propertyOnInputAdded
Gets or sets the on input added callback
Public propertyOnInputRemoved
Gets or sets the on input removed callback
Public propertyOwner
Returns a reference to the Widget owner, this is set when the Widget initializes.
Top
Methods
  NameDescription
Public methodAddConnection(WidgetInput)
Add a connection to this output, returns false if the connection can't be made.
Public methodAddConnection(GameObject, String)
Add a connect to a given object and optional target input.
Public methodRemoveConnection
Remove the connection between widgets.
Public methodSendData
Sends a data object to the target of this output.
Public methodStart
Starts this Output.
Top
See Also