Matthew Xie | 3e8c82e | 2012-02-16 16:57:18 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 Google Inc. |
| 3 | */ |
| 4 | |
| 5 | package android.bluetooth; |
| 6 | |
| 7 | /** |
| 8 | * API for Bluetooth Headset Phone Service in phone app |
| 9 | * |
| 10 | * {@hide} |
| 11 | */ |
| 12 | interface IBluetoothHeadsetPhone { |
| 13 | // Internal functions, not be made public |
| 14 | boolean answerCall(); |
| 15 | boolean hangupCall(); |
| 16 | boolean sendDtmf(int dtmf); |
| 17 | boolean processChld(int chld); |
| 18 | String getNetworkOperator(); |
| 19 | String getSubscriberNumber(); |
| 20 | boolean listCurrentCalls(); |
Matthew Xie | 14b330d | 2012-03-08 15:20:04 -0800 | [diff] [blame^] | 21 | boolean queryPhoneState(); |
Matthew Xie | 3e8c82e | 2012-02-16 16:57:18 -0800 | [diff] [blame] | 22 | |
| 23 | // Internal for phone app to call |
| 24 | void updateBtHandsfreeAfterRadioTechnologyChange(); |
| 25 | void cdmaSwapSecondCallState(); |
| 26 | void cdmaSetSecondCallState(boolean state); |
| 27 | } |