Click or drag to resize

IGHARemoteObjectSubscribeToPropertyAsync Method

Subscribes to any changes to the specified property

Namespace:  RemoteRESTLib
Assembly:  GHARemoteRESTLib (in GHARemoteRESTLib.dll) Version: 1.0.14
Syntax
Task<Guid> SubscribeToPropertyAsync(
	string propertyName,
	GHAConnectionManagerPropertyChangeHandler eventHandler
)

Parameters

propertyName
Type: SystemString
Name of property to which to subscribe
eventHandler
Type: RemoteRESTLibGHAConnectionManagerPropertyChangeHandler

[Missing <param name="eventHandler"/> documentation for "M:RemoteRESTLib.IGHARemoteObject.SubscribeToPropertyAsync(System.String,RemoteRESTLib.GHAConnectionManager.PropertyChangeHandler)"]

Return Value

Type: TaskGuid
Unique identifier for the subscription
See Also