Udostępnij za pośrednictwem


TelecomManager.MetadataIncludeSelfManagedCalls Field

Definition

A boolean meta-data value indicating whether an InCallService wants to be informed of calls which have the Call.Details#PROPERTY_SELF_MANAGED property.

[Android.Runtime.Register("METADATA_INCLUDE_SELF_MANAGED_CALLS", ApiSince=26)]
public const string MetadataIncludeSelfManagedCalls;
[<Android.Runtime.Register("METADATA_INCLUDE_SELF_MANAGED_CALLS", ApiSince=26)>]
val mutable MetadataIncludeSelfManagedCalls : string

Field Value

Attributes

Remarks

A boolean meta-data value indicating whether an InCallService wants to be informed of calls which have the Call.Details#PROPERTY_SELF_MANAGED property. A self-managed call is one which originates from a self-managed ConnectionService which has chosen to implement its own call user interface. An InCallService implementation which would like to be informed of external calls should set this meta-data to true in the manifest registration of their InCallService. By default, the InCallService will NOT be informed about self-managed calls.

An InCallService which receives self-managed calls is free to view and control the state of calls in the self-managed ConnectionService. An example use-case is exposing these calls to an automotive device via its companion app.

See also Connection#PROPERTY_SELF_MANAGED.

Java documentation for android.telecom.TelecomManager.METADATA_INCLUDE_SELF_MANAGED_CALLS.

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