O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2023-12-01 UTC.
[null,null,["Ostatnia aktualizacja: 2023-12-01 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"]]