Merge "Expose adhoc conference calling API as public." am: 8ebbe3c038
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1368819 Change-Id: Ie318c734d41d8b671de4c6bd6d55ca3c8bbb8dea
This commit is contained in:
@@ -43556,6 +43556,7 @@ package android.system {
|
|||||||
package android.telecom {
|
package android.telecom {
|
||||||
|
|
||||||
public final class Call {
|
public final class Call {
|
||||||
|
method public void addConferenceParticipants(@NonNull java.util.List<android.net.Uri>);
|
||||||
method public void answer(int);
|
method public void answer(int);
|
||||||
method public void conference(android.telecom.Call);
|
method public void conference(android.telecom.Call);
|
||||||
method public void deflect(android.net.Uri);
|
method public void deflect(android.net.Uri);
|
||||||
@@ -43664,6 +43665,7 @@ package android.telecom {
|
|||||||
method public static boolean hasProperty(int, int);
|
method public static boolean hasProperty(int, int);
|
||||||
method public boolean hasProperty(int);
|
method public boolean hasProperty(int);
|
||||||
method public static String propertiesToString(int);
|
method public static String propertiesToString(int);
|
||||||
|
field public static final int CAPABILITY_ADD_PARTICIPANT = 33554432; // 0x2000000
|
||||||
field public static final int CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO = 4194304; // 0x400000
|
field public static final int CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO = 4194304; // 0x400000
|
||||||
field public static final int CAPABILITY_CAN_PAUSE_VIDEO = 1048576; // 0x100000
|
field public static final int CAPABILITY_CAN_PAUSE_VIDEO = 1048576; // 0x100000
|
||||||
field public static final int CAPABILITY_CAN_PULL_CALL = 8388608; // 0x800000
|
field public static final int CAPABILITY_CAN_PULL_CALL = 8388608; // 0x800000
|
||||||
@@ -43693,6 +43695,7 @@ package android.telecom {
|
|||||||
field public static final int PROPERTY_GENERIC_CONFERENCE = 2; // 0x2
|
field public static final int PROPERTY_GENERIC_CONFERENCE = 2; // 0x2
|
||||||
field public static final int PROPERTY_HAS_CDMA_VOICE_PRIVACY = 128; // 0x80
|
field public static final int PROPERTY_HAS_CDMA_VOICE_PRIVACY = 128; // 0x80
|
||||||
field public static final int PROPERTY_HIGH_DEF_AUDIO = 16; // 0x10
|
field public static final int PROPERTY_HIGH_DEF_AUDIO = 16; // 0x10
|
||||||
|
field public static final int PROPERTY_IS_ADHOC_CONFERENCE = 8192; // 0x2000
|
||||||
field public static final int PROPERTY_IS_EXTERNAL_CALL = 64; // 0x40
|
field public static final int PROPERTY_IS_EXTERNAL_CALL = 64; // 0x40
|
||||||
field public static final int PROPERTY_NETWORK_IDENTIFIED_EMERGENCY_CALL = 2048; // 0x800
|
field public static final int PROPERTY_NETWORK_IDENTIFIED_EMERGENCY_CALL = 2048; // 0x800
|
||||||
field public static final int PROPERTY_RTT = 1024; // 0x400
|
field public static final int PROPERTY_RTT = 1024; // 0x400
|
||||||
@@ -43770,6 +43773,7 @@ package android.telecom {
|
|||||||
public abstract class Conference extends android.telecom.Conferenceable {
|
public abstract class Conference extends android.telecom.Conferenceable {
|
||||||
ctor public Conference(android.telecom.PhoneAccountHandle);
|
ctor public Conference(android.telecom.PhoneAccountHandle);
|
||||||
method public final boolean addConnection(android.telecom.Connection);
|
method public final boolean addConnection(android.telecom.Connection);
|
||||||
|
method @NonNull public static android.telecom.Conference createFailedConference(@NonNull android.telecom.DisconnectCause, @NonNull android.telecom.PhoneAccountHandle);
|
||||||
method public final void destroy();
|
method public final void destroy();
|
||||||
method public final android.telecom.CallAudioState getCallAudioState();
|
method public final android.telecom.CallAudioState getCallAudioState();
|
||||||
method public final java.util.List<android.telecom.Connection> getConferenceableConnections();
|
method public final java.util.List<android.telecom.Connection> getConferenceableConnections();
|
||||||
@@ -43785,6 +43789,9 @@ package android.telecom {
|
|||||||
method public final android.telecom.StatusHints getStatusHints();
|
method public final android.telecom.StatusHints getStatusHints();
|
||||||
method public android.telecom.Connection.VideoProvider getVideoProvider();
|
method public android.telecom.Connection.VideoProvider getVideoProvider();
|
||||||
method public int getVideoState();
|
method public int getVideoState();
|
||||||
|
method public final boolean isRingbackRequested();
|
||||||
|
method public void onAddConferenceParticipants(@NonNull java.util.List<android.net.Uri>);
|
||||||
|
method public void onAnswer(int);
|
||||||
method public void onCallAudioStateChanged(android.telecom.CallAudioState);
|
method public void onCallAudioStateChanged(android.telecom.CallAudioState);
|
||||||
method public void onConnectionAdded(android.telecom.Connection);
|
method public void onConnectionAdded(android.telecom.Connection);
|
||||||
method public void onDisconnect();
|
method public void onDisconnect();
|
||||||
@@ -43793,6 +43800,7 @@ package android.telecom {
|
|||||||
method public void onMerge(android.telecom.Connection);
|
method public void onMerge(android.telecom.Connection);
|
||||||
method public void onMerge();
|
method public void onMerge();
|
||||||
method public void onPlayDtmfTone(char);
|
method public void onPlayDtmfTone(char);
|
||||||
|
method public void onReject();
|
||||||
method public void onSeparate(android.telecom.Connection);
|
method public void onSeparate(android.telecom.Connection);
|
||||||
method public void onStopDtmfTone();
|
method public void onStopDtmfTone();
|
||||||
method public void onSwap();
|
method public void onSwap();
|
||||||
@@ -43813,6 +43821,8 @@ package android.telecom {
|
|||||||
method public final void setDisconnected(android.telecom.DisconnectCause);
|
method public final void setDisconnected(android.telecom.DisconnectCause);
|
||||||
method public final void setExtras(@Nullable android.os.Bundle);
|
method public final void setExtras(@Nullable android.os.Bundle);
|
||||||
method public final void setOnHold();
|
method public final void setOnHold();
|
||||||
|
method public final void setRingbackRequested(boolean);
|
||||||
|
method public final void setRinging();
|
||||||
method public final void setStatusHints(android.telecom.StatusHints);
|
method public final void setStatusHints(android.telecom.StatusHints);
|
||||||
method public final void setVideoProvider(android.telecom.Connection, android.telecom.Connection.VideoProvider);
|
method public final void setVideoProvider(android.telecom.Connection, android.telecom.Connection.VideoProvider);
|
||||||
method public final void setVideoState(android.telecom.Connection, int);
|
method public final void setVideoState(android.telecom.Connection, int);
|
||||||
@@ -43849,6 +43859,7 @@ package android.telecom {
|
|||||||
method public final boolean isRingbackRequested();
|
method public final boolean isRingbackRequested();
|
||||||
method public final void notifyConferenceMergeFailed();
|
method public final void notifyConferenceMergeFailed();
|
||||||
method public void onAbort();
|
method public void onAbort();
|
||||||
|
method public void onAddConferenceParticipants(@NonNull java.util.List<android.net.Uri>);
|
||||||
method public void onAnswer(int);
|
method public void onAnswer(int);
|
||||||
method public void onAnswer();
|
method public void onAnswer();
|
||||||
method public void onCallAudioStateChanged(android.telecom.CallAudioState);
|
method public void onCallAudioStateChanged(android.telecom.CallAudioState);
|
||||||
@@ -43928,6 +43939,7 @@ package android.telecom {
|
|||||||
field public static final int AUDIO_CODEC_GSM_HR = 10; // 0xa
|
field public static final int AUDIO_CODEC_GSM_HR = 10; // 0xa
|
||||||
field public static final int AUDIO_CODEC_NONE = 0; // 0x0
|
field public static final int AUDIO_CODEC_NONE = 0; // 0x0
|
||||||
field public static final int AUDIO_CODEC_QCELP13K = 3; // 0x3
|
field public static final int AUDIO_CODEC_QCELP13K = 3; // 0x3
|
||||||
|
field public static final int CAPABILITY_ADD_PARTICIPANT = 67108864; // 0x4000000
|
||||||
field public static final int CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO = 8388608; // 0x800000
|
field public static final int CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO = 8388608; // 0x800000
|
||||||
field public static final int CAPABILITY_CAN_PAUSE_VIDEO = 1048576; // 0x100000
|
field public static final int CAPABILITY_CAN_PAUSE_VIDEO = 1048576; // 0x100000
|
||||||
field public static final int CAPABILITY_CAN_PULL_CALL = 16777216; // 0x1000000
|
field public static final int CAPABILITY_CAN_PULL_CALL = 16777216; // 0x1000000
|
||||||
@@ -43971,6 +43983,7 @@ package android.telecom {
|
|||||||
field public static final int PROPERTY_ASSISTED_DIALING = 512; // 0x200
|
field public static final int PROPERTY_ASSISTED_DIALING = 512; // 0x200
|
||||||
field public static final int PROPERTY_HAS_CDMA_VOICE_PRIVACY = 32; // 0x20
|
field public static final int PROPERTY_HAS_CDMA_VOICE_PRIVACY = 32; // 0x20
|
||||||
field public static final int PROPERTY_HIGH_DEF_AUDIO = 4; // 0x4
|
field public static final int PROPERTY_HIGH_DEF_AUDIO = 4; // 0x4
|
||||||
|
field public static final int PROPERTY_IS_ADHOC_CONFERENCE = 4096; // 0x1000
|
||||||
field public static final int PROPERTY_IS_EXTERNAL_CALL = 16; // 0x10
|
field public static final int PROPERTY_IS_EXTERNAL_CALL = 16; // 0x10
|
||||||
field public static final int PROPERTY_IS_RTT = 256; // 0x100
|
field public static final int PROPERTY_IS_RTT = 256; // 0x100
|
||||||
field public static final int PROPERTY_NETWORK_IDENTIFIED_EMERGENCY_CALL = 1024; // 0x400
|
field public static final int PROPERTY_NETWORK_IDENTIFIED_EMERGENCY_CALL = 1024; // 0x400
|
||||||
@@ -44066,9 +44079,13 @@ package android.telecom {
|
|||||||
method public void onConference(android.telecom.Connection, android.telecom.Connection);
|
method public void onConference(android.telecom.Connection, android.telecom.Connection);
|
||||||
method public void onConnectionServiceFocusGained();
|
method public void onConnectionServiceFocusGained();
|
||||||
method public void onConnectionServiceFocusLost();
|
method public void onConnectionServiceFocusLost();
|
||||||
|
method @Nullable public android.telecom.Conference onCreateIncomingConference(@Nullable android.telecom.PhoneAccountHandle, @Nullable android.telecom.ConnectionRequest);
|
||||||
|
method public void onCreateIncomingConferenceFailed(@Nullable android.telecom.PhoneAccountHandle, @Nullable android.telecom.ConnectionRequest);
|
||||||
method public android.telecom.Connection onCreateIncomingConnection(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
method public android.telecom.Connection onCreateIncomingConnection(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
||||||
method public void onCreateIncomingConnectionFailed(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
method public void onCreateIncomingConnectionFailed(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
||||||
method public android.telecom.Connection onCreateIncomingHandoverConnection(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
method public android.telecom.Connection onCreateIncomingHandoverConnection(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
||||||
|
method @Nullable public android.telecom.Conference onCreateOutgoingConference(@Nullable android.telecom.PhoneAccountHandle, @Nullable android.telecom.ConnectionRequest);
|
||||||
|
method public void onCreateOutgoingConferenceFailed(@Nullable android.telecom.PhoneAccountHandle, @Nullable android.telecom.ConnectionRequest);
|
||||||
method public android.telecom.Connection onCreateOutgoingConnection(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
method public android.telecom.Connection onCreateOutgoingConnection(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
||||||
method public void onCreateOutgoingConnectionFailed(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
method public void onCreateOutgoingConnectionFailed(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
||||||
method public android.telecom.Connection onCreateOutgoingHandoverConnection(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
method public android.telecom.Connection onCreateOutgoingHandoverConnection(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
||||||
@@ -44379,6 +44396,7 @@ package android.telecom {
|
|||||||
method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.ANSWER_PHONE_CALLS, android.Manifest.permission.MODIFY_PHONE_STATE}) public void acceptRingingCall();
|
method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.ANSWER_PHONE_CALLS, android.Manifest.permission.MODIFY_PHONE_STATE}) public void acceptRingingCall();
|
||||||
method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.ANSWER_PHONE_CALLS, android.Manifest.permission.MODIFY_PHONE_STATE}) public void acceptRingingCall(int);
|
method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.ANSWER_PHONE_CALLS, android.Manifest.permission.MODIFY_PHONE_STATE}) public void acceptRingingCall(int);
|
||||||
method public void addNewIncomingCall(android.telecom.PhoneAccountHandle, android.os.Bundle);
|
method public void addNewIncomingCall(android.telecom.PhoneAccountHandle, android.os.Bundle);
|
||||||
|
method public void addNewIncomingConference(@NonNull android.telecom.PhoneAccountHandle, @NonNull android.os.Bundle);
|
||||||
method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void cancelMissedCallsNotification();
|
method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void cancelMissedCallsNotification();
|
||||||
method public android.content.Intent createManageBlockedNumbersIntent();
|
method public android.content.Intent createManageBlockedNumbersIntent();
|
||||||
method @Deprecated @RequiresPermission(android.Manifest.permission.ANSWER_PHONE_CALLS) public boolean endCall();
|
method @Deprecated @RequiresPermission(android.Manifest.permission.ANSWER_PHONE_CALLS) public boolean endCall();
|
||||||
@@ -44406,6 +44424,7 @@ package android.telecom {
|
|||||||
method public void registerPhoneAccount(android.telecom.PhoneAccount);
|
method public void registerPhoneAccount(android.telecom.PhoneAccount);
|
||||||
method @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public void showInCallScreen(boolean);
|
method @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public void showInCallScreen(boolean);
|
||||||
method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void silenceRinger();
|
method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void silenceRinger();
|
||||||
|
method @RequiresPermission(android.Manifest.permission.CALL_PHONE) public void startConference(@NonNull java.util.List<android.net.Uri>, @NonNull android.os.Bundle);
|
||||||
method public void unregisterPhoneAccount(android.telecom.PhoneAccountHandle);
|
method public void unregisterPhoneAccount(android.telecom.PhoneAccountHandle);
|
||||||
field public static final String ACTION_CHANGE_DEFAULT_DIALER = "android.telecom.action.CHANGE_DEFAULT_DIALER";
|
field public static final String ACTION_CHANGE_DEFAULT_DIALER = "android.telecom.action.CHANGE_DEFAULT_DIALER";
|
||||||
field public static final String ACTION_CHANGE_PHONE_ACCOUNTS = "android.telecom.action.CHANGE_PHONE_ACCOUNTS";
|
field public static final String ACTION_CHANGE_PHONE_ACCOUNTS = "android.telecom.action.CHANGE_PHONE_ACCOUNTS";
|
||||||
@@ -44943,6 +44962,8 @@ package android.telephony {
|
|||||||
field public static final String KEY_SIM_NETWORK_UNLOCK_ALLOW_DISMISS_BOOL = "sim_network_unlock_allow_dismiss_bool";
|
field public static final String KEY_SIM_NETWORK_UNLOCK_ALLOW_DISMISS_BOOL = "sim_network_unlock_allow_dismiss_bool";
|
||||||
field public static final String KEY_SMS_REQUIRES_DESTINATION_NUMBER_CONVERSION_BOOL = "sms_requires_destination_number_conversion_bool";
|
field public static final String KEY_SMS_REQUIRES_DESTINATION_NUMBER_CONVERSION_BOOL = "sms_requires_destination_number_conversion_bool";
|
||||||
field public static final String KEY_SUPPORT_3GPP_CALL_FORWARDING_WHILE_ROAMING_BOOL = "support_3gpp_call_forwarding_while_roaming_bool";
|
field public static final String KEY_SUPPORT_3GPP_CALL_FORWARDING_WHILE_ROAMING_BOOL = "support_3gpp_call_forwarding_while_roaming_bool";
|
||||||
|
field public static final String KEY_SUPPORT_ADD_CONFERENCE_PARTICIPANTS_BOOL = "support_add_conference_participants_bool";
|
||||||
|
field public static final String KEY_SUPPORT_ADHOC_CONFERENCE_CALLS_BOOL = "support_adhoc_conference_calls_bool";
|
||||||
field public static final String KEY_SUPPORT_CLIR_NETWORK_DEFAULT_BOOL = "support_clir_network_default_bool";
|
field public static final String KEY_SUPPORT_CLIR_NETWORK_DEFAULT_BOOL = "support_clir_network_default_bool";
|
||||||
field public static final String KEY_SUPPORT_CONFERENCE_CALL_BOOL = "support_conference_call_bool";
|
field public static final String KEY_SUPPORT_CONFERENCE_CALL_BOOL = "support_conference_call_bool";
|
||||||
field public static final String KEY_SUPPORT_EMERGENCY_SMS_OVER_IMS_BOOL = "support_emergency_sms_over_ims_bool";
|
field public static final String KEY_SUPPORT_EMERGENCY_SMS_OVER_IMS_BOOL = "support_emergency_sms_over_ims_bool";
|
||||||
|
|||||||
@@ -43412,6 +43412,7 @@ package android.system {
|
|||||||
package android.telecom {
|
package android.telecom {
|
||||||
|
|
||||||
public final class Call {
|
public final class Call {
|
||||||
|
method public void addConferenceParticipants(@NonNull java.util.List<android.net.Uri>);
|
||||||
method public void answer(int);
|
method public void answer(int);
|
||||||
method public void conference(android.telecom.Call);
|
method public void conference(android.telecom.Call);
|
||||||
method public void deflect(android.net.Uri);
|
method public void deflect(android.net.Uri);
|
||||||
@@ -43520,6 +43521,7 @@ package android.telecom {
|
|||||||
method public static boolean hasProperty(int, int);
|
method public static boolean hasProperty(int, int);
|
||||||
method public boolean hasProperty(int);
|
method public boolean hasProperty(int);
|
||||||
method public static String propertiesToString(int);
|
method public static String propertiesToString(int);
|
||||||
|
field public static final int CAPABILITY_ADD_PARTICIPANT = 33554432; // 0x2000000
|
||||||
field public static final int CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO = 4194304; // 0x400000
|
field public static final int CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO = 4194304; // 0x400000
|
||||||
field public static final int CAPABILITY_CAN_PAUSE_VIDEO = 1048576; // 0x100000
|
field public static final int CAPABILITY_CAN_PAUSE_VIDEO = 1048576; // 0x100000
|
||||||
field public static final int CAPABILITY_CAN_PULL_CALL = 8388608; // 0x800000
|
field public static final int CAPABILITY_CAN_PULL_CALL = 8388608; // 0x800000
|
||||||
@@ -43549,6 +43551,7 @@ package android.telecom {
|
|||||||
field public static final int PROPERTY_GENERIC_CONFERENCE = 2; // 0x2
|
field public static final int PROPERTY_GENERIC_CONFERENCE = 2; // 0x2
|
||||||
field public static final int PROPERTY_HAS_CDMA_VOICE_PRIVACY = 128; // 0x80
|
field public static final int PROPERTY_HAS_CDMA_VOICE_PRIVACY = 128; // 0x80
|
||||||
field public static final int PROPERTY_HIGH_DEF_AUDIO = 16; // 0x10
|
field public static final int PROPERTY_HIGH_DEF_AUDIO = 16; // 0x10
|
||||||
|
field public static final int PROPERTY_IS_ADHOC_CONFERENCE = 8192; // 0x2000
|
||||||
field public static final int PROPERTY_IS_EXTERNAL_CALL = 64; // 0x40
|
field public static final int PROPERTY_IS_EXTERNAL_CALL = 64; // 0x40
|
||||||
field public static final int PROPERTY_NETWORK_IDENTIFIED_EMERGENCY_CALL = 2048; // 0x800
|
field public static final int PROPERTY_NETWORK_IDENTIFIED_EMERGENCY_CALL = 2048; // 0x800
|
||||||
field public static final int PROPERTY_RTT = 1024; // 0x400
|
field public static final int PROPERTY_RTT = 1024; // 0x400
|
||||||
@@ -43626,6 +43629,7 @@ package android.telecom {
|
|||||||
public abstract class Conference extends android.telecom.Conferenceable {
|
public abstract class Conference extends android.telecom.Conferenceable {
|
||||||
ctor public Conference(android.telecom.PhoneAccountHandle);
|
ctor public Conference(android.telecom.PhoneAccountHandle);
|
||||||
method public final boolean addConnection(android.telecom.Connection);
|
method public final boolean addConnection(android.telecom.Connection);
|
||||||
|
method @NonNull public static android.telecom.Conference createFailedConference(@NonNull android.telecom.DisconnectCause, @NonNull android.telecom.PhoneAccountHandle);
|
||||||
method public final void destroy();
|
method public final void destroy();
|
||||||
method public final android.telecom.CallAudioState getCallAudioState();
|
method public final android.telecom.CallAudioState getCallAudioState();
|
||||||
method public final java.util.List<android.telecom.Connection> getConferenceableConnections();
|
method public final java.util.List<android.telecom.Connection> getConferenceableConnections();
|
||||||
@@ -43641,6 +43645,9 @@ package android.telecom {
|
|||||||
method public final android.telecom.StatusHints getStatusHints();
|
method public final android.telecom.StatusHints getStatusHints();
|
||||||
method public android.telecom.Connection.VideoProvider getVideoProvider();
|
method public android.telecom.Connection.VideoProvider getVideoProvider();
|
||||||
method public int getVideoState();
|
method public int getVideoState();
|
||||||
|
method public final boolean isRingbackRequested();
|
||||||
|
method public void onAddConferenceParticipants(@NonNull java.util.List<android.net.Uri>);
|
||||||
|
method public void onAnswer(int);
|
||||||
method public void onCallAudioStateChanged(android.telecom.CallAudioState);
|
method public void onCallAudioStateChanged(android.telecom.CallAudioState);
|
||||||
method public void onConnectionAdded(android.telecom.Connection);
|
method public void onConnectionAdded(android.telecom.Connection);
|
||||||
method public void onDisconnect();
|
method public void onDisconnect();
|
||||||
@@ -43649,6 +43656,7 @@ package android.telecom {
|
|||||||
method public void onMerge(android.telecom.Connection);
|
method public void onMerge(android.telecom.Connection);
|
||||||
method public void onMerge();
|
method public void onMerge();
|
||||||
method public void onPlayDtmfTone(char);
|
method public void onPlayDtmfTone(char);
|
||||||
|
method public void onReject();
|
||||||
method public void onSeparate(android.telecom.Connection);
|
method public void onSeparate(android.telecom.Connection);
|
||||||
method public void onStopDtmfTone();
|
method public void onStopDtmfTone();
|
||||||
method public void onSwap();
|
method public void onSwap();
|
||||||
@@ -43669,6 +43677,8 @@ package android.telecom {
|
|||||||
method public final void setDisconnected(android.telecom.DisconnectCause);
|
method public final void setDisconnected(android.telecom.DisconnectCause);
|
||||||
method public final void setExtras(@Nullable android.os.Bundle);
|
method public final void setExtras(@Nullable android.os.Bundle);
|
||||||
method public final void setOnHold();
|
method public final void setOnHold();
|
||||||
|
method public final void setRingbackRequested(boolean);
|
||||||
|
method public final void setRinging();
|
||||||
method public final void setStatusHints(android.telecom.StatusHints);
|
method public final void setStatusHints(android.telecom.StatusHints);
|
||||||
method public final void setVideoProvider(android.telecom.Connection, android.telecom.Connection.VideoProvider);
|
method public final void setVideoProvider(android.telecom.Connection, android.telecom.Connection.VideoProvider);
|
||||||
method public final void setVideoState(android.telecom.Connection, int);
|
method public final void setVideoState(android.telecom.Connection, int);
|
||||||
@@ -43705,6 +43715,7 @@ package android.telecom {
|
|||||||
method public final boolean isRingbackRequested();
|
method public final boolean isRingbackRequested();
|
||||||
method public final void notifyConferenceMergeFailed();
|
method public final void notifyConferenceMergeFailed();
|
||||||
method public void onAbort();
|
method public void onAbort();
|
||||||
|
method public void onAddConferenceParticipants(@NonNull java.util.List<android.net.Uri>);
|
||||||
method public void onAnswer(int);
|
method public void onAnswer(int);
|
||||||
method public void onAnswer();
|
method public void onAnswer();
|
||||||
method public void onCallAudioStateChanged(android.telecom.CallAudioState);
|
method public void onCallAudioStateChanged(android.telecom.CallAudioState);
|
||||||
@@ -43784,6 +43795,7 @@ package android.telecom {
|
|||||||
field public static final int AUDIO_CODEC_GSM_HR = 10; // 0xa
|
field public static final int AUDIO_CODEC_GSM_HR = 10; // 0xa
|
||||||
field public static final int AUDIO_CODEC_NONE = 0; // 0x0
|
field public static final int AUDIO_CODEC_NONE = 0; // 0x0
|
||||||
field public static final int AUDIO_CODEC_QCELP13K = 3; // 0x3
|
field public static final int AUDIO_CODEC_QCELP13K = 3; // 0x3
|
||||||
|
field public static final int CAPABILITY_ADD_PARTICIPANT = 67108864; // 0x4000000
|
||||||
field public static final int CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO = 8388608; // 0x800000
|
field public static final int CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO = 8388608; // 0x800000
|
||||||
field public static final int CAPABILITY_CAN_PAUSE_VIDEO = 1048576; // 0x100000
|
field public static final int CAPABILITY_CAN_PAUSE_VIDEO = 1048576; // 0x100000
|
||||||
field public static final int CAPABILITY_CAN_PULL_CALL = 16777216; // 0x1000000
|
field public static final int CAPABILITY_CAN_PULL_CALL = 16777216; // 0x1000000
|
||||||
@@ -43827,6 +43839,7 @@ package android.telecom {
|
|||||||
field public static final int PROPERTY_ASSISTED_DIALING = 512; // 0x200
|
field public static final int PROPERTY_ASSISTED_DIALING = 512; // 0x200
|
||||||
field public static final int PROPERTY_HAS_CDMA_VOICE_PRIVACY = 32; // 0x20
|
field public static final int PROPERTY_HAS_CDMA_VOICE_PRIVACY = 32; // 0x20
|
||||||
field public static final int PROPERTY_HIGH_DEF_AUDIO = 4; // 0x4
|
field public static final int PROPERTY_HIGH_DEF_AUDIO = 4; // 0x4
|
||||||
|
field public static final int PROPERTY_IS_ADHOC_CONFERENCE = 4096; // 0x1000
|
||||||
field public static final int PROPERTY_IS_EXTERNAL_CALL = 16; // 0x10
|
field public static final int PROPERTY_IS_EXTERNAL_CALL = 16; // 0x10
|
||||||
field public static final int PROPERTY_IS_RTT = 256; // 0x100
|
field public static final int PROPERTY_IS_RTT = 256; // 0x100
|
||||||
field public static final int PROPERTY_NETWORK_IDENTIFIED_EMERGENCY_CALL = 1024; // 0x400
|
field public static final int PROPERTY_NETWORK_IDENTIFIED_EMERGENCY_CALL = 1024; // 0x400
|
||||||
@@ -43922,9 +43935,13 @@ package android.telecom {
|
|||||||
method public void onConference(android.telecom.Connection, android.telecom.Connection);
|
method public void onConference(android.telecom.Connection, android.telecom.Connection);
|
||||||
method public void onConnectionServiceFocusGained();
|
method public void onConnectionServiceFocusGained();
|
||||||
method public void onConnectionServiceFocusLost();
|
method public void onConnectionServiceFocusLost();
|
||||||
|
method @Nullable public android.telecom.Conference onCreateIncomingConference(@Nullable android.telecom.PhoneAccountHandle, @Nullable android.telecom.ConnectionRequest);
|
||||||
|
method public void onCreateIncomingConferenceFailed(@Nullable android.telecom.PhoneAccountHandle, @Nullable android.telecom.ConnectionRequest);
|
||||||
method public android.telecom.Connection onCreateIncomingConnection(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
method public android.telecom.Connection onCreateIncomingConnection(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
||||||
method public void onCreateIncomingConnectionFailed(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
method public void onCreateIncomingConnectionFailed(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
||||||
method public android.telecom.Connection onCreateIncomingHandoverConnection(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
method public android.telecom.Connection onCreateIncomingHandoverConnection(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
||||||
|
method @Nullable public android.telecom.Conference onCreateOutgoingConference(@Nullable android.telecom.PhoneAccountHandle, @Nullable android.telecom.ConnectionRequest);
|
||||||
|
method public void onCreateOutgoingConferenceFailed(@Nullable android.telecom.PhoneAccountHandle, @Nullable android.telecom.ConnectionRequest);
|
||||||
method public android.telecom.Connection onCreateOutgoingConnection(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
method public android.telecom.Connection onCreateOutgoingConnection(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
||||||
method public void onCreateOutgoingConnectionFailed(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
method public void onCreateOutgoingConnectionFailed(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
||||||
method public android.telecom.Connection onCreateOutgoingHandoverConnection(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
method public android.telecom.Connection onCreateOutgoingHandoverConnection(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest);
|
||||||
@@ -44235,6 +44252,7 @@ package android.telecom {
|
|||||||
method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.ANSWER_PHONE_CALLS, android.Manifest.permission.MODIFY_PHONE_STATE}) public void acceptRingingCall();
|
method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.ANSWER_PHONE_CALLS, android.Manifest.permission.MODIFY_PHONE_STATE}) public void acceptRingingCall();
|
||||||
method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.ANSWER_PHONE_CALLS, android.Manifest.permission.MODIFY_PHONE_STATE}) public void acceptRingingCall(int);
|
method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.ANSWER_PHONE_CALLS, android.Manifest.permission.MODIFY_PHONE_STATE}) public void acceptRingingCall(int);
|
||||||
method public void addNewIncomingCall(android.telecom.PhoneAccountHandle, android.os.Bundle);
|
method public void addNewIncomingCall(android.telecom.PhoneAccountHandle, android.os.Bundle);
|
||||||
|
method public void addNewIncomingConference(@NonNull android.telecom.PhoneAccountHandle, @NonNull android.os.Bundle);
|
||||||
method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void cancelMissedCallsNotification();
|
method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void cancelMissedCallsNotification();
|
||||||
method public android.content.Intent createManageBlockedNumbersIntent();
|
method public android.content.Intent createManageBlockedNumbersIntent();
|
||||||
method @Deprecated @RequiresPermission(android.Manifest.permission.ANSWER_PHONE_CALLS) public boolean endCall();
|
method @Deprecated @RequiresPermission(android.Manifest.permission.ANSWER_PHONE_CALLS) public boolean endCall();
|
||||||
@@ -44262,6 +44280,7 @@ package android.telecom {
|
|||||||
method public void registerPhoneAccount(android.telecom.PhoneAccount);
|
method public void registerPhoneAccount(android.telecom.PhoneAccount);
|
||||||
method @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public void showInCallScreen(boolean);
|
method @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public void showInCallScreen(boolean);
|
||||||
method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void silenceRinger();
|
method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void silenceRinger();
|
||||||
|
method @RequiresPermission(android.Manifest.permission.CALL_PHONE) public void startConference(@NonNull java.util.List<android.net.Uri>, @NonNull android.os.Bundle);
|
||||||
method public void unregisterPhoneAccount(android.telecom.PhoneAccountHandle);
|
method public void unregisterPhoneAccount(android.telecom.PhoneAccountHandle);
|
||||||
field public static final String ACTION_CHANGE_DEFAULT_DIALER = "android.telecom.action.CHANGE_DEFAULT_DIALER";
|
field public static final String ACTION_CHANGE_DEFAULT_DIALER = "android.telecom.action.CHANGE_DEFAULT_DIALER";
|
||||||
field public static final String ACTION_CHANGE_PHONE_ACCOUNTS = "android.telecom.action.CHANGE_PHONE_ACCOUNTS";
|
field public static final String ACTION_CHANGE_PHONE_ACCOUNTS = "android.telecom.action.CHANGE_PHONE_ACCOUNTS";
|
||||||
@@ -44799,6 +44818,8 @@ package android.telephony {
|
|||||||
field public static final String KEY_SIM_NETWORK_UNLOCK_ALLOW_DISMISS_BOOL = "sim_network_unlock_allow_dismiss_bool";
|
field public static final String KEY_SIM_NETWORK_UNLOCK_ALLOW_DISMISS_BOOL = "sim_network_unlock_allow_dismiss_bool";
|
||||||
field public static final String KEY_SMS_REQUIRES_DESTINATION_NUMBER_CONVERSION_BOOL = "sms_requires_destination_number_conversion_bool";
|
field public static final String KEY_SMS_REQUIRES_DESTINATION_NUMBER_CONVERSION_BOOL = "sms_requires_destination_number_conversion_bool";
|
||||||
field public static final String KEY_SUPPORT_3GPP_CALL_FORWARDING_WHILE_ROAMING_BOOL = "support_3gpp_call_forwarding_while_roaming_bool";
|
field public static final String KEY_SUPPORT_3GPP_CALL_FORWARDING_WHILE_ROAMING_BOOL = "support_3gpp_call_forwarding_while_roaming_bool";
|
||||||
|
field public static final String KEY_SUPPORT_ADD_CONFERENCE_PARTICIPANTS_BOOL = "support_add_conference_participants_bool";
|
||||||
|
field public static final String KEY_SUPPORT_ADHOC_CONFERENCE_CALLS_BOOL = "support_adhoc_conference_calls_bool";
|
||||||
field public static final String KEY_SUPPORT_CLIR_NETWORK_DEFAULT_BOOL = "support_clir_network_default_bool";
|
field public static final String KEY_SUPPORT_CLIR_NETWORK_DEFAULT_BOOL = "support_clir_network_default_bool";
|
||||||
field public static final String KEY_SUPPORT_CONFERENCE_CALL_BOOL = "support_conference_call_bool";
|
field public static final String KEY_SUPPORT_CONFERENCE_CALL_BOOL = "support_conference_call_bool";
|
||||||
field public static final String KEY_SUPPORT_EMERGENCY_SMS_OVER_IMS_BOOL = "support_emergency_sms_over_ims_bool";
|
field public static final String KEY_SUPPORT_EMERGENCY_SMS_OVER_IMS_BOOL = "support_emergency_sms_over_ims_bool";
|
||||||
|
|||||||
@@ -461,8 +461,8 @@ public final class Call {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Call supports adding participants to the call via
|
* Call supports adding participants to the call via
|
||||||
* {@link #addConferenceParticipants(List)}.
|
* {@link #addConferenceParticipants(List)}. Once participants are added, the call becomes
|
||||||
* @hide
|
* an adhoc conference call ({@link #PROPERTY_IS_ADHOC_CONFERENCE}).
|
||||||
*/
|
*/
|
||||||
public static final int CAPABILITY_ADD_PARTICIPANT = 0x02000000;
|
public static final int CAPABILITY_ADD_PARTICIPANT = 0x02000000;
|
||||||
|
|
||||||
@@ -598,8 +598,11 @@ public final class Call {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates that the call is an adhoc conference call. This property can be set for both
|
* Indicates that the call is an adhoc conference call. This property can be set for both
|
||||||
* incoming and outgoing calls.
|
* incoming and outgoing calls. An adhoc conference call is formed using
|
||||||
* @hide
|
* {@link #addConferenceParticipants(List)},
|
||||||
|
* {@link TelecomManager#addNewIncomingConference(PhoneAccountHandle, Bundle)}, or
|
||||||
|
* {@link TelecomManager#startConference(List, Bundle)}, rather than by merging existing
|
||||||
|
* call using {@link #conference(Call)}.
|
||||||
*/
|
*/
|
||||||
public static final int PROPERTY_IS_ADHOC_CONFERENCE = 0x00002000;
|
public static final int PROPERTY_IS_ADHOC_CONFERENCE = 0x00002000;
|
||||||
|
|
||||||
@@ -1766,7 +1769,6 @@ public final class Call {
|
|||||||
* See {@link Details#CAPABILITY_ADD_PARTICIPANT}.
|
* See {@link Details#CAPABILITY_ADD_PARTICIPANT}.
|
||||||
*
|
*
|
||||||
* @param participants participants to be pulled to existing call.
|
* @param participants participants to be pulled to existing call.
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public void addConferenceParticipants(@NonNull List<Uri> participants) {
|
public void addConferenceParticipants(@NonNull List<Uri> participants) {
|
||||||
mInCallAdapter.addConferenceParticipants(mTelecomCallId, participants);
|
mInCallAdapter.addConferenceParticipants(mTelecomCallId, participants);
|
||||||
|
|||||||
@@ -181,8 +181,8 @@ public abstract class Conference extends Conferenceable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether this conference is requesting that the system play a ringback tone
|
* Returns whether this conference is requesting that the system play a ringback tone
|
||||||
* on its behalf.
|
* on its behalf. A ringback tone may be played when an outgoing conference is in the process of
|
||||||
* @hide
|
* connecting to give the user an audible indication of that process.
|
||||||
*/
|
*/
|
||||||
public final boolean isRingbackRequested() {
|
public final boolean isRingbackRequested() {
|
||||||
return mRingbackRequested;
|
return mRingbackRequested;
|
||||||
@@ -329,7 +329,6 @@ public abstract class Conference extends Conferenceable {
|
|||||||
/**
|
/**
|
||||||
* Notifies the {@link Conference} of a request to add a new participants to the conference call
|
* Notifies the {@link Conference} of a request to add a new participants to the conference call
|
||||||
* @param participants that will be added to this conference call
|
* @param participants that will be added to this conference call
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public void onAddConferenceParticipants(@NonNull List<Uri> participants) {}
|
public void onAddConferenceParticipants(@NonNull List<Uri> participants) {}
|
||||||
|
|
||||||
@@ -340,7 +339,6 @@ public abstract class Conference extends Conferenceable {
|
|||||||
* the default dialer's {@link InCallService}.
|
* the default dialer's {@link InCallService}.
|
||||||
*
|
*
|
||||||
* @param videoState The video state in which to answer the connection.
|
* @param videoState The video state in which to answer the connection.
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public void onAnswer(int videoState) {}
|
public void onAnswer(int videoState) {}
|
||||||
|
|
||||||
@@ -360,7 +358,6 @@ public abstract class Conference extends Conferenceable {
|
|||||||
* a request to reject.
|
* a request to reject.
|
||||||
* For managed {@link ConnectionService}s, this will be called when the user rejects a call via
|
* For managed {@link ConnectionService}s, this will be called when the user rejects a call via
|
||||||
* the default dialer's {@link InCallService}.
|
* the default dialer's {@link InCallService}.
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public void onReject() {}
|
public void onReject() {}
|
||||||
|
|
||||||
@@ -380,7 +377,6 @@ public abstract class Conference extends Conferenceable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets state to be ringing.
|
* Sets state to be ringing.
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public final void setRinging() {
|
public final void setRinging() {
|
||||||
setState(Connection.STATE_RINGING);
|
setState(Connection.STATE_RINGING);
|
||||||
@@ -506,7 +502,6 @@ public abstract class Conference extends Conferenceable {
|
|||||||
* that do not play a ringback tone themselves in the conference's audio stream.
|
* that do not play a ringback tone themselves in the conference's audio stream.
|
||||||
*
|
*
|
||||||
* @param ringback Whether the ringback tone is to be played.
|
* @param ringback Whether the ringback tone is to be played.
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public final void setRingbackRequested(boolean ringback) {
|
public final void setRingbackRequested(boolean ringback) {
|
||||||
if (mRingbackRequested != ringback) {
|
if (mRingbackRequested != ringback) {
|
||||||
@@ -773,7 +768,6 @@ public abstract class Conference extends Conferenceable {
|
|||||||
*
|
*
|
||||||
* @param disconnectCause The disconnect cause, ({@see android.telecomm.DisconnectCause}).
|
* @param disconnectCause The disconnect cause, ({@see android.telecomm.DisconnectCause}).
|
||||||
* @return A {@code Conference} which indicates failure.
|
* @return A {@code Conference} which indicates failure.
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public @NonNull static Conference createFailedConference(
|
public @NonNull static Conference createFailedConference(
|
||||||
@NonNull DisconnectCause disconnectCause, @NonNull PhoneAccountHandle phoneAccount) {
|
@NonNull DisconnectCause disconnectCause, @NonNull PhoneAccountHandle phoneAccount) {
|
||||||
|
|||||||
@@ -383,8 +383,10 @@ public abstract class Connection extends Conferenceable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* When set, indicates that this {@link Connection} supports initiation of a conference call
|
* When set, indicates that this {@link Connection} supports initiation of a conference call
|
||||||
* by directly adding participants using {@link #onAddConferenceParticipants(List)}.
|
* by directly adding participants using {@link #onAddConferenceParticipants(List)}. When
|
||||||
* @hide
|
* participants are added to a {@link Connection}, it will be replaced by a {@link Conference}
|
||||||
|
* instance with {@link #PROPERTY_IS_ADHOC_CONFERENCE} set to indicate that it is an adhoc
|
||||||
|
* conference call.
|
||||||
*/
|
*/
|
||||||
public static final int CAPABILITY_ADD_PARTICIPANT = 0x04000000;
|
public static final int CAPABILITY_ADD_PARTICIPANT = 0x04000000;
|
||||||
|
|
||||||
@@ -526,10 +528,9 @@ public abstract class Connection extends Conferenceable {
|
|||||||
public static final int PROPERTY_REMOTELY_HOSTED = 1 << 11;
|
public static final int PROPERTY_REMOTELY_HOSTED = 1 << 11;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set by the framework to indicate that it is an adhoc conference call.
|
* Set by the framework to indicate that a call is an adhoc conference call.
|
||||||
* <p>
|
* <p>
|
||||||
* This is used for Outgoing and incoming conference calls.
|
* This is used for outgoing and incoming conference calls.
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public static final int PROPERTY_IS_ADHOC_CONFERENCE = 1 << 12;
|
public static final int PROPERTY_IS_ADHOC_CONFERENCE = 1 << 12;
|
||||||
|
|
||||||
@@ -3009,7 +3010,6 @@ public abstract class Connection extends Conferenceable {
|
|||||||
* Supports initiation of a conference call by directly adding participants to an ongoing call.
|
* Supports initiation of a conference call by directly adding participants to an ongoing call.
|
||||||
*
|
*
|
||||||
* @param participants with which conference call will be formed.
|
* @param participants with which conference call will be formed.
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public void onAddConferenceParticipants(@NonNull List<Uri> participants) {}
|
public void onAddConferenceParticipants(@NonNull List<Uri> participants) {}
|
||||||
|
|
||||||
|
|||||||
@@ -2638,15 +2638,15 @@ public abstract class ConnectionService extends Service {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Create a {@code Connection} given an incoming request. This is used to attach to existing
|
* Create a {@code Conference} given an incoming request. This is used to attach to an incoming
|
||||||
* incoming conference call.
|
* conference call initiated via
|
||||||
|
* {@link TelecomManager#addNewIncomingConference(PhoneAccountHandle, Bundle)}.
|
||||||
*
|
*
|
||||||
* @param connectionManagerPhoneAccount See description at
|
* @param connectionManagerPhoneAccount See description at
|
||||||
* {@link #onCreateOutgoingConnection(PhoneAccountHandle, ConnectionRequest)}.
|
* {@link #onCreateOutgoingConnection(PhoneAccountHandle, ConnectionRequest)}.
|
||||||
* @param request Details about the incoming call.
|
* @param request Details about the incoming conference call.
|
||||||
* @return The {@code Connection} object to satisfy this call, or {@code null} to
|
* @return The {@code Conference} object to satisfy this call, or {@code null} to
|
||||||
* not handle the call.
|
* not handle the call.
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public @Nullable Conference onCreateIncomingConference(
|
public @Nullable Conference onCreateIncomingConference(
|
||||||
@Nullable PhoneAccountHandle connectionManagerPhoneAccount,
|
@Nullable PhoneAccountHandle connectionManagerPhoneAccount,
|
||||||
@@ -2731,7 +2731,6 @@ public abstract class ConnectionService extends Service {
|
|||||||
* @param connectionManagerPhoneAccount See description at
|
* @param connectionManagerPhoneAccount See description at
|
||||||
* {@link #onCreateOutgoingConnection(PhoneAccountHandle, ConnectionRequest)}.
|
* {@link #onCreateOutgoingConnection(PhoneAccountHandle, ConnectionRequest)}.
|
||||||
* @param request The incoming connection request.
|
* @param request The incoming connection request.
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public void onCreateIncomingConferenceFailed(
|
public void onCreateIncomingConferenceFailed(
|
||||||
@Nullable PhoneAccountHandle connectionManagerPhoneAccount,
|
@Nullable PhoneAccountHandle connectionManagerPhoneAccount,
|
||||||
@@ -2752,7 +2751,6 @@ public abstract class ConnectionService extends Service {
|
|||||||
* @param connectionManagerPhoneAccount See description at
|
* @param connectionManagerPhoneAccount See description at
|
||||||
* {@link #onCreateOutgoingConnection(PhoneAccountHandle, ConnectionRequest)}.
|
* {@link #onCreateOutgoingConnection(PhoneAccountHandle, ConnectionRequest)}.
|
||||||
* @param request The outgoing connection request.
|
* @param request The outgoing connection request.
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public void onCreateOutgoingConferenceFailed(
|
public void onCreateOutgoingConferenceFailed(
|
||||||
@Nullable PhoneAccountHandle connectionManagerPhoneAccount,
|
@Nullable PhoneAccountHandle connectionManagerPhoneAccount,
|
||||||
@@ -2801,7 +2799,8 @@ public abstract class ConnectionService extends Service {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a {@code Conference} given an outgoing request. This is used to initiate new
|
* Create a {@code Conference} given an outgoing request. This is used to initiate new
|
||||||
* outgoing conference call.
|
* outgoing conference call requested via
|
||||||
|
* {@link TelecomManager#startConference(List, Bundle)}.
|
||||||
*
|
*
|
||||||
* @param connectionManagerPhoneAccount The connection manager account to use for managing
|
* @param connectionManagerPhoneAccount The connection manager account to use for managing
|
||||||
* this call.
|
* this call.
|
||||||
@@ -2821,7 +2820,6 @@ public abstract class ConnectionService extends Service {
|
|||||||
* @param request Details about the outgoing call.
|
* @param request Details about the outgoing call.
|
||||||
* @return The {@code Conference} object to satisfy this call, or the result of an invocation
|
* @return The {@code Conference} object to satisfy this call, or the result of an invocation
|
||||||
* of {@link Connection#createFailedConnection(DisconnectCause)} to not handle the call.
|
* of {@link Connection#createFailedConnection(DisconnectCause)} to not handle the call.
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public @Nullable Conference onCreateOutgoingConference(
|
public @Nullable Conference onCreateOutgoingConference(
|
||||||
@Nullable PhoneAccountHandle connectionManagerPhoneAccount,
|
@Nullable PhoneAccountHandle connectionManagerPhoneAccount,
|
||||||
|
|||||||
@@ -1850,11 +1850,13 @@ public class TelecomManager {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Registers a new incoming conference. A {@link ConnectionService} should invoke this method
|
* Registers a new incoming conference. A {@link ConnectionService} should invoke this method
|
||||||
* when it has an incoming conference. For managed {@link ConnectionService}s, the specified
|
* when it has an incoming conference. An incoming {@link Conference} is an adhoc conference
|
||||||
* {@link PhoneAccountHandle} must have been registered with {@link #registerPhoneAccount} and
|
* call initiated on another device which the user is being invited to join in. For managed
|
||||||
* the user must have enabled the corresponding {@link PhoneAccount}. This can be checked using
|
* {@link ConnectionService}s, the specified {@link PhoneAccountHandle} must have been
|
||||||
* {@link #getPhoneAccount}. Self-managed {@link ConnectionService}s must have
|
* registered with {@link #registerPhoneAccount} and the user must have enabled the
|
||||||
* {@link android.Manifest.permission#MANAGE_OWN_CALLS} to add a new incoming call.
|
* corresponding {@link PhoneAccount}. This can be checked using
|
||||||
|
* {@link #getPhoneAccount(PhoneAccountHandle)}. Self-managed {@link ConnectionService}s must
|
||||||
|
* have {@link android.Manifest.permission#MANAGE_OWN_CALLS} to add a new incoming call.
|
||||||
* <p>
|
* <p>
|
||||||
* The incoming conference you are adding is assumed to have a video state of
|
* The incoming conference you are adding is assumed to have a video state of
|
||||||
* {@link VideoProfile#STATE_AUDIO_ONLY}, unless the extra value
|
* {@link VideoProfile#STATE_AUDIO_ONLY}, unless the extra value
|
||||||
@@ -1862,8 +1864,9 @@ public class TelecomManager {
|
|||||||
* <p>
|
* <p>
|
||||||
* Once invoked, this method will cause the system to bind to the {@link ConnectionService}
|
* Once invoked, this method will cause the system to bind to the {@link ConnectionService}
|
||||||
* associated with the {@link PhoneAccountHandle} and request additional information about the
|
* associated with the {@link PhoneAccountHandle} and request additional information about the
|
||||||
* call (See {@link ConnectionService#onCreateIncomingConference}) before starting the incoming
|
* call (See
|
||||||
* call UI.
|
* {@link ConnectionService#onCreateIncomingConference(PhoneAccountHandle, ConnectionRequest)})
|
||||||
|
* before starting the incoming call UI.
|
||||||
* <p>
|
* <p>
|
||||||
* For a managed {@link ConnectionService}, a {@link SecurityException} will be thrown if either
|
* For a managed {@link ConnectionService}, a {@link SecurityException} will be thrown if either
|
||||||
* the {@link PhoneAccountHandle} does not correspond to a registered {@link PhoneAccount} or
|
* the {@link PhoneAccountHandle} does not correspond to a registered {@link PhoneAccount} or
|
||||||
@@ -1873,7 +1876,6 @@ public class TelecomManager {
|
|||||||
* {@link #registerPhoneAccount}.
|
* {@link #registerPhoneAccount}.
|
||||||
* @param extras A bundle that will be passed through to
|
* @param extras A bundle that will be passed through to
|
||||||
* {@link ConnectionService#onCreateIncomingConference}.
|
* {@link ConnectionService#onCreateIncomingConference}.
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public void addNewIncomingConference(@NonNull PhoneAccountHandle phoneAccount,
|
public void addNewIncomingConference(@NonNull PhoneAccountHandle phoneAccount,
|
||||||
@NonNull Bundle extras) {
|
@NonNull Bundle extras) {
|
||||||
@@ -2093,8 +2095,8 @@ public class TelecomManager {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Place a new conference call with the provided participants using the system telecom service
|
* Place a new adhoc conference call with the provided participants using the system telecom
|
||||||
* This method doesn't support placing of emergency calls.
|
* service. This method doesn't support placing of emergency calls.
|
||||||
*
|
*
|
||||||
* An adhoc conference call is established by providing a list of addresses to
|
* An adhoc conference call is established by providing a list of addresses to
|
||||||
* {@code TelecomManager#startConference(List<Uri>, int videoState)} where the
|
* {@code TelecomManager#startConference(List<Uri>, int videoState)} where the
|
||||||
@@ -2112,7 +2114,6 @@ public class TelecomManager {
|
|||||||
*
|
*
|
||||||
* @param participants List of participants to start conference with
|
* @param participants List of participants to start conference with
|
||||||
* @param extras Bundle of extras to use with the call
|
* @param extras Bundle of extras to use with the call
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
@RequiresPermission(android.Manifest.permission.CALL_PHONE)
|
@RequiresPermission(android.Manifest.permission.CALL_PHONE)
|
||||||
public void startConference(@NonNull List<Uri> participants,
|
public void startConference(@NonNull List<Uri> participants,
|
||||||
|
|||||||
@@ -1157,15 +1157,14 @@ public class CarrierConfigManager {
|
|||||||
/**
|
/**
|
||||||
* Determines whether adhoc conference calls are supported by a carrier. When {@code true},
|
* Determines whether adhoc conference calls are supported by a carrier. When {@code true},
|
||||||
* adhoc conference calling is supported, {@code false otherwise}.
|
* adhoc conference calling is supported, {@code false otherwise}.
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public static final String KEY_SUPPORT_ADHOC_CONFERENCE_CALLS_BOOL =
|
public static final String KEY_SUPPORT_ADHOC_CONFERENCE_CALLS_BOOL =
|
||||||
"support_adhoc_conference_calls_bool";
|
"support_adhoc_conference_calls_bool";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines whether conference participants can be added to existing call. When {@code true},
|
* Determines whether conference participants can be added to existing call to form an adhoc
|
||||||
|
* conference call (in contrast to merging calls to form a conference). When {@code true},
|
||||||
* adding conference participants to existing call is supported, {@code false otherwise}.
|
* adding conference participants to existing call is supported, {@code false otherwise}.
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public static final String KEY_SUPPORT_ADD_CONFERENCE_PARTICIPANTS_BOOL =
|
public static final String KEY_SUPPORT_ADD_CONFERENCE_PARTICIPANTS_BOOL =
|
||||||
"support_add_conference_participants_bool";
|
"support_add_conference_participants_bool";
|
||||||
|
|||||||
Reference in New Issue
Block a user