Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
OnCommand

OnCommand Class Reference

Constructors

Instance Methods

Constructors

new OnCommand(parameters)

Initalizes an instance of OnCommand.

Instance Methods

onCommand.getCmdID() ⇒ Number

Get the CmdID

Kind: Instance method of OnCommand
Returns: Number - the KEY_CMD_ID value

onCommand.getTriggerSource() ⇒ TriggerSource

Get the TriggerSource

Kind: Instance method of OnCommand
Returns: TriggerSource - the KEY_TRIGGER_SOURCE value

onCommand.setCmdID(id) ⇒ OnCommand

Set the CmdID

Kind: Instance method of OnCommand
Returns: OnCommand - The class instance for method chaining.

ParamTypeDescription
id Number Command ID, which is related to a specific menu entry - The desired CmdID.

onCommand.setTriggerSource(source) ⇒ OnCommand

Set the TriggerSource

Kind: Instance method of OnCommand
Returns: OnCommand - The class instance for method chaining.

ParamTypeDescription
source TriggerSource See TriggerSource - The desired TriggerSource.
View on GitHub.com
Previous Section Next Section