blob: 163e4e237f3a396037149056f8c4c48e1dcefc08 [file] [log] [blame]
Matthew Xie3e8c82e2012-02-16 16:57:18 -08001/*
2 * Copyright (C) 2012 Google Inc.
3 */
4
5package android.bluetooth;
6
7/**
8 * API for Bluetooth Headset Phone Service in phone app
9 *
10 * {@hide}
11 */
12interface 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 Xie14b330d2012-03-08 15:20:04 -080021 boolean queryPhoneState();
Matthew Xie3e8c82e2012-02-16 16:57:18 -080022
23 // Internal for phone app to call
24 void updateBtHandsfreeAfterRadioTechnologyChange();
25 void cdmaSwapSecondCallState();
26 void cdmaSetSecondCallState(boolean state);
27}