共用方式為


Connection.PropertyIsExternalCall Field

Definition

Caution

This constant will be removed in the future version. Use Android.Telecom.ConnectionProperties enum directly instead of this field.

When set, indicates that the Connection does not actually exist locally for the ConnectionService.

[Android.Runtime.Register("PROPERTY_IS_EXTERNAL_CALL", ApiSince=25)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Telecom.ConnectionProperties enum directly instead of this field.", true)]
public const Android.Telecom.ConnectionProperties PropertyIsExternalCall = 16;
[<Android.Runtime.Register("PROPERTY_IS_EXTERNAL_CALL", ApiSince=25)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Telecom.ConnectionProperties enum directly instead of this field.", true)>]
val mutable PropertyIsExternalCall : Android.Telecom.ConnectionProperties

Field Value

Value = 16
Attributes

Remarks

When set, indicates that the Connection does not actually exist locally for the ConnectionService.

Consider, for example, a scenario where a user has two devices with the same phone number. When a user places a call on one devices, the telephony stack can represent that call on the other device by adding is to the ConnectionService with the #PROPERTY_IS_EXTERNAL_CALL capability set.

An ConnectionService should not assume that all InCallServices will handle external connections. Only those InCallServices which have the TelecomManager#METADATA_INCLUDE_EXTERNAL_CALLS metadata set to true in its manifest will see external connections.

Java documentation for android.telecom.Connection.PROPERTY_IS_EXTERNAL_CALL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to