Crate openaction

Source

Structs§

AppearEvent
Coordinates
A representation of the coordinates of an action instance.
DeviceDidConnectEvent
DeviceDidDisconnectEvent
DeviceInfo
DeviceSizeInfo
DialPressEvent
DialPressPayload
DialRotateEvent
DialRotatePayload
DidReceiveGlobalSettingsEvent
DidReceiveGlobalSettingsPayload
DidReceiveSettingsEvent
DidReceiveSettingsPayload
GenericInstancePayload
A representation of the payload data that accompanies events related to actions.
KeyEvent
OutboundEventManager
A struct with methods for sending events to the OpenAction server.
PropertyInspectorAppearEvent
SetBrightnessEvent
SetImageEvent
SystemDidWakeUpEvent
TitleParameters
TitleParametersDidChangeEvent
TitleParametersDidChangePayload

Statics§

OUTBOUND_EVENT_MANAGER
The outbound event manager available for access outside of event handlers.

Traits§

ActionEventHandler
A trait requiring methods for handling events related to an action.
GlobalEventHandler
A trait requiring methods for handling global events.

Functions§

init_plugin
Initialise the plugin and register it with the OpenAction server.

Type Aliases§

EventHandlerResult
The required return value for event handler functions. It is a ubiquitous Result type for convenience.
SettingsValue