ISessionControllerCallback.aidl revision 01fe661ae5da3739215d93922412df4b24c859a2
101fe661ae5da3739215d93922412df4b24c859a2RoboErik/* Copyright (C) 2014 The Android Open Source Project 201fe661ae5da3739215d93922412df4b24c859a2RoboErik * 301fe661ae5da3739215d93922412df4b24c859a2RoboErik * Licensed under the Apache License, Version 2.0 (the "License"); 401fe661ae5da3739215d93922412df4b24c859a2RoboErik * you may not use this file except in compliance with the License. 501fe661ae5da3739215d93922412df4b24c859a2RoboErik * You may obtain a copy of the License at 601fe661ae5da3739215d93922412df4b24c859a2RoboErik * 701fe661ae5da3739215d93922412df4b24c859a2RoboErik * http://www.apache.org/licenses/LICENSE-2.0 801fe661ae5da3739215d93922412df4b24c859a2RoboErik * 901fe661ae5da3739215d93922412df4b24c859a2RoboErik * Unless required by applicable law or agreed to in writing, software 1001fe661ae5da3739215d93922412df4b24c859a2RoboErik * distributed under the License is distributed on an "AS IS" BASIS, 1101fe661ae5da3739215d93922412df4b24c859a2RoboErik * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1201fe661ae5da3739215d93922412df4b24c859a2RoboErik * See the License for the specific language governing permissions and 1301fe661ae5da3739215d93922412df4b24c859a2RoboErik * limitations under the License. 1401fe661ae5da3739215d93922412df4b24c859a2RoboErik */ 1501fe661ae5da3739215d93922412df4b24c859a2RoboErik 1601fe661ae5da3739215d93922412df4b24c859a2RoboErikpackage android.media; 1701fe661ae5da3739215d93922412df4b24c859a2RoboErik 1801fe661ae5da3739215d93922412df4b24c859a2RoboErikimport android.os.Bundle; 1901fe661ae5da3739215d93922412df4b24c859a2RoboErik 2001fe661ae5da3739215d93922412df4b24c859a2RoboErik/** 2101fe661ae5da3739215d93922412df4b24c859a2RoboErik * @hide 2201fe661ae5da3739215d93922412df4b24c859a2RoboErik */ 2301fe661ae5da3739215d93922412df4b24c859a2RoboErikoneway interface IMediaControllerCallback { 2401fe661ae5da3739215d93922412df4b24c859a2RoboErik void onEvent(String event, in Bundle extras); 2501fe661ae5da3739215d93922412df4b24c859a2RoboErik void onMetadataUpdate(in Bundle metadata); 2601fe661ae5da3739215d93922412df4b24c859a2RoboErik void onPlaybackUpdate(int newState); 2701fe661ae5da3739215d93922412df4b24c859a2RoboErik void onRouteChanged(in Bundle route); 2801fe661ae5da3739215d93922412df4b24c859a2RoboErik}