119c9518f6a817d53d5234de0020313cab6950b2fRoboErik/* 219c9518f6a817d53d5234de0020313cab6950b2fRoboErik * Copyright (C) 2014 The Android Open Source Project 319c9518f6a817d53d5234de0020313cab6950b2fRoboErik * 419c9518f6a817d53d5234de0020313cab6950b2fRoboErik * Licensed under the Apache License, Version 2.0 (the "License"); 519c9518f6a817d53d5234de0020313cab6950b2fRoboErik * you may not use this file except in compliance with the License. 619c9518f6a817d53d5234de0020313cab6950b2fRoboErik * You may obtain a copy of the License at 719c9518f6a817d53d5234de0020313cab6950b2fRoboErik * 819c9518f6a817d53d5234de0020313cab6950b2fRoboErik * http://www.apache.org/licenses/LICENSE-2.0 919c9518f6a817d53d5234de0020313cab6950b2fRoboErik * 1019c9518f6a817d53d5234de0020313cab6950b2fRoboErik * Unless required by applicable law or agreed to in writing, software 1119c9518f6a817d53d5234de0020313cab6950b2fRoboErik * distributed under the License is distributed on an "AS IS" BASIS, 1219c9518f6a817d53d5234de0020313cab6950b2fRoboErik * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1319c9518f6a817d53d5234de0020313cab6950b2fRoboErik * See the License for the specific language governing permissions and 1419c9518f6a817d53d5234de0020313cab6950b2fRoboErik * limitations under the License. 1519c9518f6a817d53d5234de0020313cab6950b2fRoboErik */ 1619c9518f6a817d53d5234de0020313cab6950b2fRoboErik 1719c9518f6a817d53d5234de0020313cab6950b2fRoboErikpackage android.media; 1819c9518f6a817d53d5234de0020313cab6950b2fRoboErik 1919c9518f6a817d53d5234de0020313cab6950b2fRoboErikimport android.media.session.ISessionController; 2019c9518f6a817d53d5234de0020313cab6950b2fRoboErik 2119c9518f6a817d53d5234de0020313cab6950b2fRoboErik/** 2219c9518f6a817d53d5234de0020313cab6950b2fRoboErik * AIDL for the MediaSessionService to report interesting events on remote playback 2319c9518f6a817d53d5234de0020313cab6950b2fRoboErik * to a volume control dialog. See also IVolumeController for the AudioService half. 2419c9518f6a817d53d5234de0020313cab6950b2fRoboErik * TODO add in better support for multiple remote sessions. 2519c9518f6a817d53d5234de0020313cab6950b2fRoboErik * @hide 2619c9518f6a817d53d5234de0020313cab6950b2fRoboErik */ 2719c9518f6a817d53d5234de0020313cab6950b2fRoboErikoneway interface IRemoteVolumeController { 2819c9518f6a817d53d5234de0020313cab6950b2fRoboErik void remoteVolumeChanged(ISessionController session, int flags); 2919c9518f6a817d53d5234de0020313cab6950b2fRoboErik // sets the default session to use with the slider, replaces remoteSliderVisibility 3019c9518f6a817d53d5234de0020313cab6950b2fRoboErik // on IVolumeController 3119c9518f6a817d53d5234de0020313cab6950b2fRoboErik void updateRemoteController(ISessionController session); 3219c9518f6a817d53d5234de0020313cab6950b2fRoboErik} 33