ActionEvent
public struct ActionEvent<Payload> : Decodable where Payload : Decodable
Events sent by the server in response to actions.
-
The action’s unique identifier. If your plugin supports multiple actions, you should use this value to see which action was triggered.
Declaration
Swift
public let action: String
-
An opaque value identifying the instance’s action.
Declaration
Swift
public let context: String
-
An opaque value identifying the device.
Declaration
Swift
public let device: String
-
The payload of the event.
Declaration
Swift
public let payload: Payload