Crate openaction

Crate openaction 

Source

Modules§

device_plugin
Outbound events sent by plugins that add support for new devices

Structs§

Coordinates
The coordinates of an action instance on the device surface
Instance
An instance of an action bound to the device surface
TitleParametersDidChangePayload

Enums§

OpenActionError

Traits§

Action
Event handler trait for events that relate to a specific instance of an action
GlobalEventHandler
Event handler trait for events that do not relate to a specific instance of an action

Functions§

get_global_settings
https://openaction.amankhanna.me/5_serverbound/settings.html#getglobalsettings
get_instance
Get an instance of an action by its ID
log_message
https://openaction.amankhanna.me/5_serverbound/misc.html#logmessage
open_url
https://openaction.amankhanna.me/5_serverbound/misc.html#openurl
register_action
Register the event handler for an action defined in the plugin manifest
run
Register the plugin and run the plugin event loop, blocking until disconnect
set_global_event_handler
Register the handler for global events (does nothing if already set)
set_global_settings
https://openaction.amankhanna.me/5_serverbound/settings.html#setglobalsettings
visible_instances
List all instances of an action currently visible to the user

Type Aliases§

ActionUuid
UUID of an action as defined in the plugin manifest
InstanceId
Value uniquely identifying an instance of an action
OpenActionResult

Attribute Macros§

async_trait
async_trait