IVolumeController.aidl revision 3346a802087f621c6441bc512dfcc17b07143fc6
13346a802087f621c6441bc512dfcc17b07143fc6John Spurlock/*
23346a802087f621c6441bc512dfcc17b07143fc6John Spurlock * Copyright (C) 2014 The Android Open Source Project
33346a802087f621c6441bc512dfcc17b07143fc6John Spurlock *
43346a802087f621c6441bc512dfcc17b07143fc6John Spurlock * Licensed under the Apache License, Version 2.0 (the "License");
53346a802087f621c6441bc512dfcc17b07143fc6John Spurlock * you may not use this file except in compliance with the License.
63346a802087f621c6441bc512dfcc17b07143fc6John Spurlock * You may obtain a copy of the License at
73346a802087f621c6441bc512dfcc17b07143fc6John Spurlock *
83346a802087f621c6441bc512dfcc17b07143fc6John Spurlock *      http://www.apache.org/licenses/LICENSE-2.0
93346a802087f621c6441bc512dfcc17b07143fc6John Spurlock *
103346a802087f621c6441bc512dfcc17b07143fc6John Spurlock * Unless required by applicable law or agreed to in writing, software
113346a802087f621c6441bc512dfcc17b07143fc6John Spurlock * distributed under the License is distributed on an "AS IS" BASIS,
123346a802087f621c6441bc512dfcc17b07143fc6John Spurlock * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
133346a802087f621c6441bc512dfcc17b07143fc6John Spurlock * See the License for the specific language governing permissions and
143346a802087f621c6441bc512dfcc17b07143fc6John Spurlock * limitations under the License.
153346a802087f621c6441bc512dfcc17b07143fc6John Spurlock */
163346a802087f621c6441bc512dfcc17b07143fc6John Spurlock
173346a802087f621c6441bc512dfcc17b07143fc6John Spurlockpackage android.media;
183346a802087f621c6441bc512dfcc17b07143fc6John Spurlock
193346a802087f621c6441bc512dfcc17b07143fc6John Spurlock
203346a802087f621c6441bc512dfcc17b07143fc6John Spurlock/**
213346a802087f621c6441bc512dfcc17b07143fc6John Spurlock * AIDL for the AudioService to report interesting events to a remote volume control dialog.
223346a802087f621c6441bc512dfcc17b07143fc6John Spurlock * @hide
233346a802087f621c6441bc512dfcc17b07143fc6John Spurlock */
243346a802087f621c6441bc512dfcc17b07143fc6John Spurlockoneway interface IVolumeController {
253346a802087f621c6441bc512dfcc17b07143fc6John Spurlock    void hasNewRemotePlaybackInfo();
263346a802087f621c6441bc512dfcc17b07143fc6John Spurlock
273346a802087f621c6441bc512dfcc17b07143fc6John Spurlock    void remoteVolumeChanged(int streamType, int flags);
283346a802087f621c6441bc512dfcc17b07143fc6John Spurlock
293346a802087f621c6441bc512dfcc17b07143fc6John Spurlock    void remoteSliderVisibility(boolean visible);
303346a802087f621c6441bc512dfcc17b07143fc6John Spurlock
313346a802087f621c6441bc512dfcc17b07143fc6John Spurlock    void displaySafeVolumeWarning(int flags);
323346a802087f621c6441bc512dfcc17b07143fc6John Spurlock
333346a802087f621c6441bc512dfcc17b07143fc6John Spurlock    void volumeChanged(int streamType, int flags);
343346a802087f621c6441bc512dfcc17b07143fc6John Spurlock
353346a802087f621c6441bc512dfcc17b07143fc6John Spurlock    void masterVolumeChanged(int flags);
363346a802087f621c6441bc512dfcc17b07143fc6John Spurlock
373346a802087f621c6441bc512dfcc17b07143fc6John Spurlock    void masterMuteChanged(int flags);
383346a802087f621c6441bc512dfcc17b07143fc6John Spurlock
393346a802087f621c6441bc512dfcc17b07143fc6John Spurlock    void setLayoutDirection(int layoutDirection);
403346a802087f621c6441bc512dfcc17b07143fc6John Spurlock
413346a802087f621c6441bc512dfcc17b07143fc6John Spurlock    void dismiss();
423346a802087f621c6441bc512dfcc17b07143fc6John Spurlock}
43