TelecomManager.GetDefaultOutgoingPhoneAccount(String) Method

Definition

Return the PhoneAccount which will be used to place outgoing calls to addresses with the specified uriScheme.

[Android.Runtime.Register("getDefaultOutgoingPhoneAccount", "(Ljava/lang/String;)Landroid/telecom/PhoneAccountHandle;", "GetGetDefaultOutgoingPhoneAccount_Ljava_lang_String_Handler", ApiSince=23)]
[Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")]
public virtual Android.Telecom.PhoneAccountHandle? GetDefaultOutgoingPhoneAccount (string? uriScheme);
[<Android.Runtime.Register("getDefaultOutgoingPhoneAccount", "(Ljava/lang/String;)Landroid/telecom/PhoneAccountHandle;", "GetGetDefaultOutgoingPhoneAccount_Ljava_lang_String_Handler", ApiSince=23)>]
[<Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")>]
abstract member GetDefaultOutgoingPhoneAccount : string -> Android.Telecom.PhoneAccountHandle
override this.GetDefaultOutgoingPhoneAccount : string -> Android.Telecom.PhoneAccountHandle

Parameters

uriScheme
String

The URI scheme.

Returns

PhoneAccountHandle

The PhoneAccountHandle corresponding to the account to be used.

Attributes

Remarks

Java documentation for android.telecom.TelecomManager.getDefaultOutgoingPhoneAccount(java.lang.String).

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