NumberTriggerSourceOnCommandOnCommandNumberGet the CmdID
Kind: Instance method of OnCommand
Returns: Number - the KEY_CMD_ID value
TriggerSourceGet the TriggerSource
Kind: Instance method of OnCommand
Returns: TriggerSource - the KEY_TRIGGER_SOURCE value
OnCommandSet the CmdID
Kind: Instance method of OnCommand
Returns: OnCommand - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| id | Number |
Command ID, which is related to a specific menu entry - The desired CmdID. {'num_min_value': 0, 'num_max_value': 2000000000} |