PhoneAccountSuggestion(PhoneAccountHandle, ReasonType, Boolean) Constructor

Definition

Creates a new instance of PhoneAccountSuggestion.

[Android.Runtime.Register(".ctor", "(Landroid/telecom/PhoneAccountHandle;IZ)V", "", ApiSince=29)]
public PhoneAccountSuggestion (Android.Telecom.PhoneAccountHandle handle, Android.Telecom.ReasonType reason, bool shouldAutoSelect);
[<Android.Runtime.Register(".ctor", "(Landroid/telecom/PhoneAccountHandle;IZ)V", "", ApiSince=29)>]
new Android.Telecom.PhoneAccountSuggestion : Android.Telecom.PhoneAccountHandle * Android.Telecom.ReasonType * bool -> Android.Telecom.PhoneAccountSuggestion

Parameters

handle
PhoneAccountHandle

The PhoneAccountHandle for this suggestion.

reason
ReasonType

The reason for this suggestion

shouldAutoSelect
Boolean

Whether the dialer should automatically place the call using this account. See #shouldAutoSelect().

Attributes

Remarks

Creates a new instance of PhoneAccountSuggestion. This constructor is intended for use by apps implementing a PhoneAccountSuggestionService, and generally should not be used by dialer apps other than for testing purposes.

Java documentation for android.telecom.PhoneAccountSuggestion.PhoneAccountSuggestion(android.telecom.PhoneAccountHandle, int, boolean).

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