AI-generated Key Takeaways
-
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.
chrome.cast.media. UserActionState
Represent User Action state for media.
Constructor
UserActionState
new UserActionState(userAction)
Parameter |
|
---|---|
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.