Struct CommandSource
sealed struct CommandSource
The CommandSource type represents the initiator of the command.
It is a predefined set of constants but new constants could be added in the future.
Fields
Constants
SYSTEM_DISPLAY_OFF
Indicates the media control command was initiated by the system, e.g., the HDMI cable was disconnected resulting in a pause command.CommandSource={"SYSTEM_DISPLAY_OFF"}
USER
Indicates the media control command was initiated by the user, e.g., the pause button was pressed on the remote control.CommandSource={"USER"}
OTHER
Indicates the media control command was initiated by neither the user nor the system when the display is turned off.CommandSource={"OTHER"}

