Class: MediaInformationChangedEvent

  • The cast.framework.events.MediaInformationChangedEvent signals changes in media information during a Cast session.

  • It's triggered by the cast.framework.events.EventType.MEDIA_INFORMATION_CHANGED event and provides updated media details.

  • The event data includes a media property containing a cast.framework.messages.MediaInformation object representing the updated media information.

Constructor

MediaInformationChangedEvent

new MediaInformationChangedEvent(media)

Parameter

media

Optional

cast.framework.messages.MediaInformation

Value must not be null.