[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-07-24 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCustomStateEvent\u003c/code\u003e class provides data for custom state events within the Cast framework.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a \u003ccode\u003estate\u003c/code\u003e property, a non-null object representing the sent media status.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the \u003ccode\u003eCustomStateEvent\u003c/code\u003e constructor with the \u003ccode\u003estate\u003c/code\u003e parameter to create instances of this event.\u003c/p\u003e\n"]]],["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"],null,["cast.[framework](/cast/docs/reference/web_receiver/cast.framework).[events](/cast/docs/reference/web_receiver/cast.framework.events).CustomStateEvent \nclass static\n\nEvent data for a `cast.framework.events.EventType.CUSTOM_STATE` event.\n\nConstructor\n\nCustomStateEvent\n\nnew\nCustomStateEvent(state)\n\n| Parameter ||\n|-------|--------------------------------|\n| state | Object Value must not be null. |\n\nProperty\n\nstate \nconstant\n\nnon-null Object\n\nThe media status that was sent."]]