xsGetPluginOptions
Options of every active plugin
__SFCodeObj.call("xsGetPluginOptions", [version:uint]):String
Arguments
| Name | Type | Description |
|---|---|---|
version | uint | Optional. Result format version. 2 or higher lists choice and number options. |
Returns String (JSON)
| Field | Type | Description |
|---|---|---|
plugins | Array | |
plugins[].id | String | |
plugins[].name | String | |
plugins[].options | Array | |
plugins[].options[].id | String | |
plugins[].options[].group | String | |
plugins[].options[].label | String | |
plugins[].options[].type | "toggle" | "choice" | "number" | Present only when the call passed version 2 or higher. |
plugins[].options[].value | Boolean or Number | |
plugins[].options[].choices | Array of String | Choice options only. |
plugins[].options[].min | Number | Number options only. |
plugins[].options[].max | Number | Number options only. |
plugins[].options[].step | Number | Number options only. |
plugins[].options[].decimals | int | Number options only. |
Without an argument, or with version 1, only toggle options are listed and options carry no type. With version 2 or higher, choice and number options are listed too and every option has type. Plugins without an options provider list an empty options array. Plugins that do not fit in the 40 KiB result are left out.