Język

Connection.PropertyIsTetheredCall Field

Definition

Caution

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

Set by a ConnectionService to indicate that this Connection represents a tethered call synchronized from a primary device.

[Android.Runtime.Register("PROPERTY_IS_TETHERED_CALL", ApiSince=37)]
[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 PropertyIsTetheredCall = 16384;
[<Android.Runtime.Register("PROPERTY_IS_TETHERED_CALL", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Telecom.ConnectionProperties enum directly instead of this field.", true)>]
val mutable PropertyIsTetheredCall : Android.Telecom.ConnectionProperties

Field Value

Value = 16384
Attributes

Remarks

Set by a ConnectionService to indicate that this Connection represents a tethered call synchronized from a primary device.

Consider, for example, a scenario where a user has a watch paired with a phone. When a user places a call on the phone, the telephony stack on the watch can represent that call by adding it to the ConnectionService with this property set.

When this property is set, the Telecom framework manages local audio focus to pause local media streams during an active call, as if that call was local. If the call does not possess this property but does have PROPERTY_IS_EXTERNAL_CALL, local voice audio modes (e.g., AudioManager.MODE_IN_CALL) and speaker routing adjustments are bypassed.

This property cannot be set for calls with PROPERTY_SELF_MANAGED also set.

Android reference for android.telecom.Connection.PROPERTY_IS_TETHERED_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