Sınıf: ReadyEvent
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[[["\u003cp\u003e\u003ccode\u003ecast.framework.system.ReadyEvent\u003c/code\u003e signals that the Cast system is ready for the receiver application.\u003c/p\u003e\n"],["\u003cp\u003eIt provides application data via the \u003ccode\u003edata\u003c/code\u003e property, which is of type \u003ccode\u003ecast.framework.system.ApplicationData\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis event is dispatched by \u003ccode\u003ecast.framework.CastReceiverContext\u003c/code\u003e and extends \u003ccode\u003ecast.framework.system.Event\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `ReadyEvent` is dispatched by `cast.framework.CastReceiverContext` when the system is ready. Its constructor, `ReadyEvent(applicationData)`, takes non-null `applicationData` of type `cast.framework.system.ApplicationData`. This event has two properties: `data`, which holds the application data, and `type`, which defines the event type, inherited from `cast.framework.system.Event`. The `ReadyEvent` extends the general `Event` class.\n"],null,["# Class: ReadyEvent\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[system](/cast/docs/reference/web_receiver/cast.framework.system).ReadyEvent\n===============================================================================================================================================\n\nclass static\n\nAn event dispatched by [cast.framework.CastReceiverContext](/cast/docs/reference/web_receiver/cast.framework.CastReceiverContext) when the\nsystem is ready.\n\nConstructor\n-----------\n\n### ReadyEvent\n\nnew\nReadyEvent(applicationData)\n\n| #### Parameter ||\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| applicationData | [cast.framework.system.ApplicationData](/cast/docs/reference/web_receiver/cast.framework.system.ApplicationData) The application data. Value must not be null. |\n\nExtends\n: [cast.framework.system.Event](/cast/docs/reference/web_receiver/cast.framework.system.Event)\n\nProperties\n----------\n\n### data\n\nnon-null [cast.framework.system.ApplicationData](/cast/docs/reference/web_receiver/cast.framework.system.ApplicationData)\n\nThe application data.\n\n### type\n\nnon-null [cast.framework.system.EventType](/cast/docs/reference/web_receiver/cast.framework.system#.EventType)\n\nThe event type.\n\nInherited from\n: [cast.framework.system.Event#type](/cast/docs/reference/web_receiver/cast.framework.system.Event#type)"]]