Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["The `CustomStateEvent` class provides data for custom state events within the Cast framework."],["It includes a `state` property, a non-null object representing the sent media status."],["Developers can use the `CustomStateEvent` constructor with the `state` parameter to create instances of this event."]]],["The `CustomStateEvent` class provides event data for `cast.framework.events.EventType.CUSTOM_STATE`. It's created with a constructor, `CustomStateEvent(state)`, which requires a non-null Object for the `state` parameter. The class contains one property: `state`, a non-null Object that holds the media status transmitted during the event. This event signifies that a custom state was sent and this class holds the content of that sent custom media status.\n"]]