Sprache

TelecomManager.ExtraCallType Field

Definition

An optional Intent extra used with #ACTION_CALL_BACK to specify the desired call type for the callback.

[Android.Runtime.Register("EXTRA_CALL_TYPE", ApiSince=37)]
public const string ExtraCallType;
[<Android.Runtime.Register("EXTRA_CALL_TYPE", ApiSince=37)>]
val mutable ExtraCallType : string

Field Value

Attributes

Remarks

An optional Intent extra used with ACTION_CALL_BACK to specify the desired call type for the callback.

The value must be one of CallAttributes.AUDIO_CALL, CallAttributes.VIDEO_CALL, or CallAttributes.MESSAGING.

Type: int

When an application receives an ACTION_CALL_BACK intent, it should check for this extra. If present, the application should attempt to initiate the callback using the specified call type. If this extra is not provided, the application should default to using the original call type associated with the call.

The initiating Dialer app must confirm whether the desired call type is supported by the target application before specifying this extra. Not all apps will support all callback types and it is the caller's responsibility to validate this.

Android reference for android.telecom.TelecomManager.EXTRA_CALL_TYPE.

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