Class: UserActionState

  • The chrome.cast.media.UserActionState class represents the state of a user action for media and is a static class.

  • The constructor for UserActionState takes a required userAction parameter of type chrome.cast.media.UserAction.

  • The class has two properties: customData for optional app-specific data, and userAction, which holds the non-null user action.

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.