PluginRegistrationInfo

public struct PluginRegistrationInfo : Decodable, CustomStringConvertible

The registration information sent by the Stream Deck application when launching the plugin.

  • A json object containing information about the application.

    Declaration

    Swift

    public let application: StreamDeckApp
  • A json object containing information about the plugin.

    Declaration

    Swift

    public let plugin: PluginInfo
  • Pixel ratio value to indicate if the Stream Deck application is running on a HiDPI screen.

    Declaration

    Swift

    public let devicePixelRatio: Int
  • A json object containing information about the preferred user colors.

    Declaration

    Swift

    public let colors: [String : String]
  • Declaration

    Swift

    public var description: String { get }
  • Create an object from a JSON string.

    Declaration

    Swift

    public init(string: String) throws

    Parameters

    string

    A UTF-8 encoded JSON string.