• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2017 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package android.bluetooth;
18 
19 import android.bluetooth.BluetoothAvrcpIntValue;
20 
21 oneway interface IBluetoothAvrcpTargetCallback {
OnRegistered(int status)22   void OnRegistered(int status);
OnGetRemoteFeatures(String addr, int features)23   void OnGetRemoteFeatures(String addr, int features);
OnGetPlayStatus(String addr)24   void OnGetPlayStatus(String addr);
OnListPlayerAppAttr(String addr)25   void OnListPlayerAppAttr(String addr);
OnListPlayerAppValues(String addr, int attr_id)26   void OnListPlayerAppValues(String addr, int attr_id);
OnGetPlayerAppValue(String addr, in int[] attrs)27   void OnGetPlayerAppValue(String addr, in int[] attrs);
OnGetPlayerAppAttrsText(String addr, in int[] attrs)28   void OnGetPlayerAppAttrsText(String addr, in int[] attrs);
OnGetPlayerAppValuesText(String addr, int attr_id, in int[] values)29   void OnGetPlayerAppValuesText(String addr, int attr_id, in int[] values);
OnSetPlayerAppValue(String addr, in BluetoothAvrcpIntValue[] values)30   void OnSetPlayerAppValue(String addr, in BluetoothAvrcpIntValue[] values);
OnGetElementAttrs(String addr, in int[] attrs)31   void OnGetElementAttrs(String addr, in int[] attrs);
OnRegisterNotification(String addr, int event_id, int param)32   void OnRegisterNotification(String addr, int event_id, int param);
OnVolumeChange(String addr, int volume, int ctype)33   void OnVolumeChange(String addr, int volume, int ctype);
OnPassThroughCommand(String addr, int id, int key_state)34   void OnPassThroughCommand(String addr, int id, int key_state);
35 }
36