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 | 説明 |
|---|---|
| profile | スイッチしたいプロファイル名。プロファイル名はmanifest.jsonで与えられた名称と一致してなければならない。 |
プラグインは、manifest.json に記述されているプロファイルにのみスイッチできます。
profile が空の場合、StreamDeckアプリケーションは、それまで選択されていたプロファイルに切り戻します。