diff options
author | Sailesh Nepal <sail@google.com> | 2013-11-12 13:26:27 -0800 |
---|---|---|
committer | Sailesh Nepal <sail@google.com> | 2013-11-13 12:27:21 -0800 |
commit | 697d9f2f30dfaf87fbebdd182e47fc552d345ce5 (patch) | |
tree | 850eb4599de9689b94296573e03e7816cd7bc3a4 /api | |
parent | 0d784869c6db9649723e520cb25cc1fbe2db84b1 (diff) | |
download | frameworks_base-697d9f2f30dfaf87fbebdd182e47fc552d345ce5.zip frameworks_base-697d9f2f30dfaf87fbebdd182e47fc552d345ce5.tar.gz frameworks_base-697d9f2f30dfaf87fbebdd182e47fc552d345ce5.tar.bz2 |
Add ThirdPartyCall APIs to master
These are APIs for the new ThirdPartyPhone feature.
Note, these APIs can't actually be used yet on master for two reasons:
- initiating a call from a 3rd party app isn't possible yet because
the TelephonyManager APIs aren't being added to master.
- the TeleService implementation of these APIs aren't being added to
master.
Also, these APIs will be removed and the final ones will be added
once they're ready to be merged into master.
Change-Id: Ie783290451da448a011f813983e55b12047b5d99
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index 7e757b5..c7fe3ba 100644 --- a/api/current.txt +++ b/api/current.txt @@ -24135,6 +24135,32 @@ package android.telephony { field public static final int SIM_STATE_UNKNOWN = 0; // 0x0 } + public class ThirdPartyCallListener { + ctor public ThirdPartyCallListener(com.android.internal.telephony.IThirdPartyCallListener); + method public void onCallEnded(int); + method public void onCallEstablished(); + method public void onCallProviderAttached(android.telephony.ThirdPartyCallProvider); + method public void onRingingStarted(); + field public static final int CALL_END_INCOMING_MISSED = 2; // 0x2 + field public static final int CALL_END_NORMAL = 1; // 0x1 + field public static final int CALL_END_OTHER = 3; // 0x3 + } + + public class ThirdPartyCallProvider { + ctor public ThirdPartyCallProvider(); + method public void hangup(); + method public void incomingCallAccept(); + method public void mute(boolean); + method public void sendDtmf(char); + } + + public class ThirdPartyCallService { + ctor public ThirdPartyCallService(); + method public android.os.IBinder getBinder(); + method public void incomingCallAttach(android.telephony.ThirdPartyCallListener, java.lang.String); + method public void outgoingCallInitiate(android.telephony.ThirdPartyCallListener, java.lang.String); + } + } package android.telephony.cdma { @@ -33535,6 +33561,24 @@ package android.widget { } +package com.android.internal.telephony { + + public abstract interface IThirdPartyCallListener implements android.os.IInterface { + method public abstract void onCallEnded(int) throws android.os.RemoteException; + method public abstract void onCallEstablished() throws android.os.RemoteException; + method public abstract void onCallProviderAttached(com.android.internal.telephony.IThirdPartyCallProvider) throws android.os.RemoteException; + method public abstract void onRingingStarted() throws android.os.RemoteException; + } + + public abstract interface IThirdPartyCallProvider implements android.os.IInterface { + method public abstract void hangup() throws android.os.RemoteException; + method public abstract void incomingCallAccept() throws android.os.RemoteException; + method public abstract void mute(boolean) throws android.os.RemoteException; + method public abstract void sendDtmf(char) throws android.os.RemoteException; + } + +} + package com.android.internal.util { public abstract interface Predicate { |