Merge "Mark event-based handover constants as deprecated."
This commit is contained in:
@@ -141,6 +141,8 @@ public final class Call {
|
|||||||
* The caller must specify the {@link #EXTRA_HANDOVER_PHONE_ACCOUNT_HANDLE} to indicate to
|
* The caller must specify the {@link #EXTRA_HANDOVER_PHONE_ACCOUNT_HANDLE} to indicate to
|
||||||
* Telecom which {@link PhoneAccountHandle} the {@link Call} should be handed over to.
|
* Telecom which {@link PhoneAccountHandle} the {@link Call} should be handed over to.
|
||||||
* @hide
|
* @hide
|
||||||
|
* @deprecated Use {@link Call#handoverTo(PhoneAccountHandle, int, Bundle)} and its associated
|
||||||
|
* APIs instead.
|
||||||
*/
|
*/
|
||||||
public static final String EVENT_REQUEST_HANDOVER =
|
public static final String EVENT_REQUEST_HANDOVER =
|
||||||
"android.telecom.event.REQUEST_HANDOVER";
|
"android.telecom.event.REQUEST_HANDOVER";
|
||||||
@@ -149,6 +151,8 @@ public final class Call {
|
|||||||
* Extra key used with the {@link #EVENT_REQUEST_HANDOVER} call event. Specifies the
|
* Extra key used with the {@link #EVENT_REQUEST_HANDOVER} call event. Specifies the
|
||||||
* {@link PhoneAccountHandle} to which a call should be handed over to.
|
* {@link PhoneAccountHandle} to which a call should be handed over to.
|
||||||
* @hide
|
* @hide
|
||||||
|
* @deprecated Use {@link Call#handoverTo(PhoneAccountHandle, int, Bundle)} and its associated
|
||||||
|
* APIs instead.
|
||||||
*/
|
*/
|
||||||
public static final String EXTRA_HANDOVER_PHONE_ACCOUNT_HANDLE =
|
public static final String EXTRA_HANDOVER_PHONE_ACCOUNT_HANDLE =
|
||||||
"android.telecom.extra.HANDOVER_PHONE_ACCOUNT_HANDLE";
|
"android.telecom.extra.HANDOVER_PHONE_ACCOUNT_HANDLE";
|
||||||
@@ -161,6 +165,8 @@ public final class Call {
|
|||||||
* {@link VideoProfile#STATE_BIDIRECTIONAL}, {@link VideoProfile#STATE_RX_ENABLED}, and
|
* {@link VideoProfile#STATE_BIDIRECTIONAL}, {@link VideoProfile#STATE_RX_ENABLED}, and
|
||||||
* {@link VideoProfile#STATE_TX_ENABLED}.
|
* {@link VideoProfile#STATE_TX_ENABLED}.
|
||||||
* @hide
|
* @hide
|
||||||
|
* @deprecated Use {@link Call#handoverTo(PhoneAccountHandle, int, Bundle)} and its associated
|
||||||
|
* APIs instead.
|
||||||
*/
|
*/
|
||||||
public static final String EXTRA_HANDOVER_VIDEO_STATE =
|
public static final String EXTRA_HANDOVER_VIDEO_STATE =
|
||||||
"android.telecom.extra.HANDOVER_VIDEO_STATE";
|
"android.telecom.extra.HANDOVER_VIDEO_STATE";
|
||||||
@@ -176,6 +182,8 @@ public final class Call {
|
|||||||
* {@link ConnectionService#onCreateOutgoingConnection(PhoneAccountHandle, ConnectionRequest)}
|
* {@link ConnectionService#onCreateOutgoingConnection(PhoneAccountHandle, ConnectionRequest)}
|
||||||
* is called to initate the handover.
|
* is called to initate the handover.
|
||||||
* @hide
|
* @hide
|
||||||
|
* @deprecated Use {@link Call#handoverTo(PhoneAccountHandle, int, Bundle)} and its associated
|
||||||
|
* APIs instead.
|
||||||
*/
|
*/
|
||||||
public static final String EXTRA_HANDOVER_EXTRAS = "android.telecom.extra.HANDOVER_EXTRAS";
|
public static final String EXTRA_HANDOVER_EXTRAS = "android.telecom.extra.HANDOVER_EXTRAS";
|
||||||
|
|
||||||
@@ -186,6 +194,8 @@ public final class Call {
|
|||||||
* <p>
|
* <p>
|
||||||
* A handover is initiated with the {@link #EVENT_REQUEST_HANDOVER} call event.
|
* A handover is initiated with the {@link #EVENT_REQUEST_HANDOVER} call event.
|
||||||
* @hide
|
* @hide
|
||||||
|
* @deprecated Use {@link Call#handoverTo(PhoneAccountHandle, int, Bundle)} and its associated
|
||||||
|
* APIs instead.
|
||||||
*/
|
*/
|
||||||
public static final String EVENT_HANDOVER_COMPLETE =
|
public static final String EVENT_HANDOVER_COMPLETE =
|
||||||
"android.telecom.event.HANDOVER_COMPLETE";
|
"android.telecom.event.HANDOVER_COMPLETE";
|
||||||
@@ -198,6 +208,8 @@ public final class Call {
|
|||||||
* <p>
|
* <p>
|
||||||
* A handover is initiated with the {@link #EVENT_REQUEST_HANDOVER} call event.
|
* A handover is initiated with the {@link #EVENT_REQUEST_HANDOVER} call event.
|
||||||
* @hide
|
* @hide
|
||||||
|
* @deprecated Use {@link Call#handoverTo(PhoneAccountHandle, int, Bundle)} and its associated
|
||||||
|
* APIs instead.
|
||||||
*/
|
*/
|
||||||
public static final String EVENT_HANDOVER_SOURCE_DISCONNECTED =
|
public static final String EVENT_HANDOVER_SOURCE_DISCONNECTED =
|
||||||
"android.telecom.event.HANDOVER_SOURCE_DISCONNECTED";
|
"android.telecom.event.HANDOVER_SOURCE_DISCONNECTED";
|
||||||
@@ -209,6 +221,8 @@ public final class Call {
|
|||||||
* <p>
|
* <p>
|
||||||
* A handover is initiated with the {@link #EVENT_REQUEST_HANDOVER} call event.
|
* A handover is initiated with the {@link #EVENT_REQUEST_HANDOVER} call event.
|
||||||
* @hide
|
* @hide
|
||||||
|
* @deprecated Use {@link Call#handoverTo(PhoneAccountHandle, int, Bundle)} and its associated
|
||||||
|
* APIs instead.
|
||||||
*/
|
*/
|
||||||
public static final String EVENT_HANDOVER_FAILED =
|
public static final String EVENT_HANDOVER_FAILED =
|
||||||
"android.telecom.event.HANDOVER_FAILED";
|
"android.telecom.event.HANDOVER_FAILED";
|
||||||
|
|||||||
@@ -593,6 +593,8 @@ public abstract class Connection extends Conferenceable {
|
|||||||
* {@link Call#EVENT_REQUEST_HANDOVER} that the handover from this {@link Connection} has
|
* {@link Call#EVENT_REQUEST_HANDOVER} that the handover from this {@link Connection} has
|
||||||
* successfully completed.
|
* successfully completed.
|
||||||
* @hide
|
* @hide
|
||||||
|
* @deprecated Use {@link Call#handoverTo(PhoneAccountHandle, int, Bundle)} and its associated
|
||||||
|
* APIs instead.
|
||||||
*/
|
*/
|
||||||
public static final String EVENT_HANDOVER_COMPLETE =
|
public static final String EVENT_HANDOVER_COMPLETE =
|
||||||
"android.telecom.event.HANDOVER_COMPLETE";
|
"android.telecom.event.HANDOVER_COMPLETE";
|
||||||
@@ -602,6 +604,8 @@ public abstract class Connection extends Conferenceable {
|
|||||||
* {@link Call#EVENT_REQUEST_HANDOVER} that the handover from this {@link Connection} has failed
|
* {@link Call#EVENT_REQUEST_HANDOVER} that the handover from this {@link Connection} has failed
|
||||||
* to complete.
|
* to complete.
|
||||||
* @hide
|
* @hide
|
||||||
|
* @deprecated Use {@link Call#handoverTo(PhoneAccountHandle, int, Bundle)} and its associated
|
||||||
|
* APIs instead.
|
||||||
*/
|
*/
|
||||||
public static final String EVENT_HANDOVER_FAILED =
|
public static final String EVENT_HANDOVER_FAILED =
|
||||||
"android.telecom.event.HANDOVER_FAILED";
|
"android.telecom.event.HANDOVER_FAILED";
|
||||||
|
|||||||
Reference in New Issue
Block a user