diff options
Diffstat (limited to 'telecomm/java/android/telecom/Connection.java')
-rw-r--r-- | telecomm/java/android/telecom/Connection.java | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java index 49ad58550db8..73de1fb12e15 100644 --- a/telecomm/java/android/telecom/Connection.java +++ b/telecomm/java/android/telecom/Connection.java @@ -562,8 +562,17 @@ public abstract class Connection extends Conferenceable { */ public static final int PROPERTY_CROSS_SIM = 1 << 13; + /** + * Set by the framework to indicate that a Connection is participant host, which + * means the conference participant's handle is the same as the conference host's handle. + * <p> + * This property is specific to IMS conference calls originating in Telephony. + * @hide + */ + public static final int PROPERTY_IS_PARTICIPANT_HOST = 1 << 14; + //********************************************************************************************** - // Next PROPERTY value: 1<<14 + // Next PROPERTY value: 1<<16 //********************************************************************************************** /** @@ -857,6 +866,14 @@ public abstract class Connection extends Conferenceable { "android.telecom.extra.IS_DEVICE_TO_DEVICE_COMMUNICATION_AVAILABLE"; /** + * Boolean connection extra key set on a {@link Connection} to indicate that swapping + * the call is not allowed. + * @hide + */ + public static final String EXTRA_DISABLE_SWAP_CALL = + "android.telecom.extra.DISABLE_SWAP_CALL"; + + /** * Connection event used to inform Telecom that it should play the on hold tone. This is used * to play a tone when the peer puts the current call on hold. Sent to Telecom via * {@link #sendConnectionEvent(String, Bundle)}. @@ -905,6 +922,17 @@ public abstract class Connection extends Conferenceable { public static final String EVENT_CALL_HOLD_FAILED = "android.telecom.event.CALL_HOLD_FAILED"; /** + * Connection event used to inform Telecom when a resume operation on a call has failed. + * This event is only sent when concurrent calls (DSDA) are possible + * <p> + * Sent via {@link #sendConnectionEvent(String, Bundle)}. The {@link Bundle} parameter is + * expected to be null when this connection event is used. + * @hide + */ + public static final String EVENT_CALL_RESUME_FAILED = + "android.telecom.event.CALL_RESUME_FAILED"; + + /** * Connection event used to inform Telecom when a switch operation on a call has failed. * <p> * Sent via {@link #sendConnectionEvent(String, Bundle)}. The {@link Bundle} parameter is |