AI-generated Key Takeaways
-
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) andcustomData
for app-specific information.
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.