Number
TriggerSource
OnCommand
OnCommand
Number
Get the CmdID
Kind: Instance method of OnCommand
Returns: Number
- the KEY_CMD_ID value
TriggerSource
Get the TriggerSource
Kind: Instance method of OnCommand
Returns: TriggerSource
- the KEY_TRIGGER_SOURCE value
OnCommand
Set 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} |