TelecomManager.GetDefaultOutgoingPhoneAccount(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The PhoneAccountHandle corresponding to the account to be used.
- Attributes
Remarks
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.