Class: CacheLoadedEvent

  • cast.framework.events.CacheLoadedEvent provides data for a cast.framework.events.EventType.CACHE_LOADED event, specifically regarding cached media information.

  • Although it has a constructor and properties to handle media information, this event is deprecated and never actually fires.

  • The media property, if present, would contain a cast.framework.messages.MediaInformation object detailing the cached media.

Constructor

CacheLoadedEvent

new CacheLoadedEvent(media)

Parameter

media

Optional

cast.framework.messages.MediaInformation

Value must not be null.

Deprecated
This event never fires.

Property

media

constant

(non-null cast.framework.messages.MediaInformation or undefined)

Information about the media being cached.