[null,null,["Last updated 2024-09-18 UTC."],[[["\u003cp\u003e\u003ccode\u003ecast.framework.events.CacheLoadedEvent\u003c/code\u003e provides data for a \u003ccode\u003ecast.framework.events.EventType.CACHE_LOADED\u003c/code\u003e event, specifically regarding cached media information.\u003c/p\u003e\n"],["\u003cp\u003eAlthough it has a constructor and properties to handle media information, this event is deprecated and never actually fires.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003emedia\u003c/code\u003e property, if present, would contain a \u003ccode\u003ecast.framework.messages.MediaInformation\u003c/code\u003e object detailing the cached media.\u003c/p\u003e\n"]]],[],null,["# Class: CacheLoadedEvent\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[events](/cast/docs/reference/web_receiver/cast.framework.events).CacheLoadedEvent\n=====================================================================================================================================================\n\nclass static\n\nEvent data for a `cast.framework.events.EventType.CACHE_LOADED` event.\n\nConstructor\n-----------\n\n### CacheLoadedEvent\n\nnew\nCacheLoadedEvent(media)\n\n| #### Parameter ||\n|-------|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| media | Optional [cast.framework.messages.MediaInformation](/cast/docs/reference/web_receiver/cast.framework.messages.MediaInformation) Value must not be null. |\n\nDeprecated\n: This event never fires.\n\nProperty\n--------\n\n### media\n\nconstant\n\n(non-null [cast.framework.messages.MediaInformation](/cast/docs/reference/web_receiver/cast.framework.messages.MediaInformation) or undefined)\n\nInformation about the media being cached."]]