Класс: SystemVolumeChangedEvent
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-07-24 UTC."],[[["\u003cp\u003e\u003ccode\u003eSystemVolumeChangedEvent\u003c/code\u003e is dispatched when the system volume level is changed.\u003c/p\u003e\n"],["\u003cp\u003eIt provides the updated volume data through the \u003ccode\u003edata\u003c/code\u003e property, which is of type \u003ccode\u003eSystemVolumeData\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe event is initiated by \u003ccode\u003eCastReceiverContext\u003c/code\u003e and extends the \u003ccode\u003eEvent\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThis event's \u003ccode\u003etype\u003c/code\u003e property is set to \u003ccode\u003eEventType.SYSTEM_VOLUME_CHANGED\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `SystemVolumeChangedEvent` is dispatched by `cast.framework.CastReceiverContext` when the system volume is altered. This event, extending `cast.framework.system.Event`, contains `SystemVolumeData`. The `SystemVolumeChangedEvent` constructor requires a non-null `SystemVolumeData` parameter. It has a 'data' property holding the volume information and a 'type' property indicating the event type, inherited from `cast.framework.system.Event`.\n"],null,[]]