1 /* Copyright (C) 2025 The Android Open Source Project 2 * 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 package android.media.audiopolicy; 17 18 /** 19 * AIDL for the AudioService to signal audio volume groups changes 20 * 21 * {@hide} 22 */ 23 oneway interface IAudioVolumeChangeDispatcher { 24 25 /** 26 * Called when a volume group has been changed 27 * @param group id of the volume group that has changed. 28 * @param flags one or more flags to describe the volume change. 29 */ onAudioVolumeGroupChanged(int group, int flags)30 void onAudioVolumeGroupChanged(int group, int flags); 31 } 32