Class: SystemVolumeChangedEvent

  • SystemVolumeChangedEvent is dispatched when the system volume level is changed.

  • It provides the updated volume data through the data property, which is of type SystemVolumeData.

  • The event is initiated by CastReceiverContext and extends the Event class.

  • This event's type property is set to EventType.SYSTEM_VOLUME_CHANGED.

Constructor

SystemVolumeChangedEvent

new SystemVolumeChangedEvent(volume)

Parameter

volume

cast.framework.system.SystemVolumeData

The system volume data.

Value must not be null.

Extends
cast.framework.system.Event

Properties

data

non-null cast.framework.system.SystemVolumeData

The system volume data.

type

non-null cast.framework.system.EventType

The event type.

Inherited from
cast.framework.system.Event#type