Skip to main content

DeviceEvent

Namespace: Wisej.Hybrid

Assembly: Wisej.Hybrid (4.1.0.0)

Represents an event that occurred on the Hybrid client.

public class DeviceEvent

Constructors​

Instance member DeviceEvent()​

Initializes a new instance of DeviceEvent.

Instance member DeviceEvent(handler, type, data)​

Initializes a new instance of DeviceEvent with the given _args.

NameTypeDescription
handlerStringThe handler that fired the event.
typeStringThe type of event.
dataObjectThe event payload.

Properties​

Instance member Data​

Object: The event data.

Instance member Handler​

String: The handler that fired the event.

Instance member ServiceType​

ServiceType:

Instance member Type​

String: The type of event.

Methods​

Instance member GetData<T>()​

ParameterTypeDescription
T

Returns: T.