Class: RemotePlayerChangedEvent

  • RemotePlayerChangedEvent signals changes in the remote player's state, providing details about the specific field that was modified.

  • This event includes the event type, the name of the changed field (field), and the new value of that field (value).

  • Developers can use this event to track and respond to real-time changes in the remote player, such as playback status or volume adjustments.

Constructor

RemotePlayerChangedEvent

new RemotePlayerChangedEvent(type, field, value)

Parameter

type

cast.framework.RemotePlayerEventType

Event type.

Value must not be null.

field

string

The changed field name.

value

any type

The new field value.

Properties

field

string

The field name that was changed.

value

any type

The new field value.