Skip to main content

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.

cast.framework.system.SystemVolumeChangedEvent

class static

An event dispatched by cast.framework.CastReceiverContext when the system volume changes.

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024年09月18日 UTC.

AltStyle によって変換されたページ (->オリジナル) /