switchToProfile - mononok/FlightSims GitHub Wiki

設定済みのプロファイルにスイッチする。

var json = {
    "event": "switchToProfile",
    "context": opaqueValue,
    "device": opaqueValue,
    "payload": {
        "profile": "ProfileName"
    }
};

メンバー

メンバー 説明
event switchToProfile
context An opaque value identifying the plugin. This value should be set to the PluginUUID received during the registration procedure.
device デバイス識別子
payload jsonオブジェクト

Payload

Payload 説明
profile スイッチしたいプロファイル名。プロファイル名はmanifest.jsonで与えられた名称と一致してなければならない。

注意

プラグインは、manifest.json に記述されているプロファイルにのみスイッチできます。
profile が空の場合、StreamDeckアプリケーションは、それまで選択されていたプロファイルに切り戻します。

⚠️ **GitHub.com Fallback** ⚠️