Structures
The following structures are available globally.
-
Manages a plugins lifecycle and handling launch from the Stream Deck application.
See moreDeclaration
Swift
public struct PluginCommand : ParsableCommand
-
The root object to decode a received event.
See moreDeclaration
Swift
public struct ReceivableEvent : Decodable
-
Events sent by the server in response to actions.
See moreDeclaration
Swift
public struct ActionEvent<Payload> : Decodable where Payload : Decodable
-
Events sent by the server that do not have an associated action instance.
See moreDeclaration
Swift
public struct Event<Payload> : Decodable where Payload : Decodable
-
Device connection events sent by the server.
See moreDeclaration
Swift
public struct DeviceConnectionEvent : Decodable
-
Action instance settings received after calling
See moregetSettings()
.Declaration
Swift
public struct SettingsEvent<S> : Decodable where S : Decodable
-
Global settings received after calling
See moregetGlobalSettings()
.Declaration
Swift
public struct GlobalSettingsEvent<S> : Decodable where S : Decodable
-
Declaration
Swift
public struct SendToPluginEvent : Decodable
-
Declaration
Swift
public struct ApplicationEvent : Decodable
-
The basic type for decoding property inspector events.
propertyInspectorDidAppear
propertyInspectorDidDisappear
sendToPlugin
sendToPropertyInspector
Declaration
Swift
public struct PropertyInspectorEvent : Decodable
-
A struct that indicates an action has no settings.
Declaration
Swift
public struct NoSettings : Codable, Hashable
-
The coordinates of the action triggered.
See moreDeclaration
Swift
public struct Coordinates : Decodable, Hashable
-
Keys marked as exported are expected to be set by an action before it finishes.
See moreImportedContext
checks whether a key has been registered by a previousExportedContext
.Declaration
Swift
@propertyWrapper public struct Environment<K> : CustomReflectable where K : EnvironmentKey
-
The central registry of
See moreEnvironmentKey
and their values.Declaration
Swift
public struct EnvironmentValues
-
Information received about the Stream Deck device.
See moreDeclaration
Swift
public struct DeviceInfo : Decodable
-
The size of a device.
See moreDeclaration
Swift
public struct Size : Decodable
-
The registration information sent by the Stream Deck application when launching the plugin.
See moreDeclaration
Swift
public struct PluginRegistrationInfo : Decodable, CustomStringConvertible
-
Information about the Stream Deck application.
See moreDeclaration
Swift
public struct StreamDeckApp : Decodable, CustomStringConvertible
-
Information about the plugin.
See moreDeclaration
Swift
public struct PluginInfo : Decodable, CustomStringConvertible
-
The states an action can show.
See moreDeclaration
Swift
public struct PluginActionState : Codable
-
Declaration
Swift
public struct PluginOS : Codable
-
The minimum version of the Stream Deck application supported.
See moreDeclaration
Swift
public struct PluginSoftware : Codable
-
A plugin can request to be notified when some applications are launched or terminated.
In order to do so, the ApplicationsToMonitor object should contain for each platform an array specifying the list of application identifiers to monitor.
Note
On macOS the application bundle identifier is used while the exe filename is used on Windows.Declaration
Swift
public struct ApplicationsToMonitor : Codable
-
Preconfigured plugin profiles.
See moreDeclaration
Swift
public struct PluginProfile : Codable
-
Layouts describe how information is shown on the Stream Deck + touch display.
There are built-in pre-defined layouts or create a custom layout JSON file. The layout name or path to the custom layout json file is defined in the manifest.
The layout can also be dynamically changed using the
See moresetFeedbackLayout
event.Declaration
Swift
public struct LayoutName : Codable, ExpressibleByStringLiteral, Identifiable, Hashable
-
The Encoder property is used to describe and configure the dial and display segment on StreamDeck+.
See moreDeclaration
Swift
public struct RotaryEncoder : Codable
-
Declaration
Swift
public struct TriggerDescription : Codable