Class: SystemVolumeChangedEvent

  • SystemVolumeChangedEvent is dispatched by cast.framework.CastReceiverContext when the system volume changes.

  • The constructor SystemVolumeChangedEvent takes SystemVolumeData as a parameter.

  • The event includes data containing the system volume information and a type indicating the event type.

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