Class: UserActionState

  • chrome.cast.media.UserActionState represents the state of a user action for media on a Cast device.

  • It is constructed with a mandatory userAction parameter indicating the type of user action, like seeking or pausing.

  • The state includes properties like userAction (the action type) and customData for app-specific information.

Constructor

UserActionState

new UserActionState(userAction)

Parameter

userAction

chrome.cast.media.UserAction

Value must not be null.

Properties

customData

(non-null Object or undefined)

Optional app specific data.

userAction

non-null chrome.cast.media.UserAction

The user action.