Class: CacheLoadedEvent

  • CacheLoadedEvent is an event data class for a cast.framework.events.EventType.CACHE_LOADED event within the cast framework.

  • The constructor for CacheLoadedEvent can optionally take media as a parameter, which should be a cast.framework.messages.MediaInformation object.

  • This event is deprecated and never fires.

  • The media property provides information about the media being cached.

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.