Share via


TelecomManager.GetAdnUriForPhoneAccount(PhoneAccountHandle) Method

Definition

Returns a URI (with the content:// scheme) specific to the specified PhoneAccount for ADN content retrieval.

[Android.Runtime.Register("getAdnUriForPhoneAccount", "(Landroid/telecom/PhoneAccountHandle;)Landroid/net/Uri;", "GetGetAdnUriForPhoneAccount_Landroid_telecom_PhoneAccountHandle_Handler", ApiSince=23)]
[Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")]
public virtual Android.Net.Uri? GetAdnUriForPhoneAccount (Android.Telecom.PhoneAccountHandle? accountHandle);
[<Android.Runtime.Register("getAdnUriForPhoneAccount", "(Landroid/telecom/PhoneAccountHandle;)Landroid/net/Uri;", "GetGetAdnUriForPhoneAccount_Landroid_telecom_PhoneAccountHandle_Handler", ApiSince=23)>]
[<Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")>]
abstract member GetAdnUriForPhoneAccount : Android.Telecom.PhoneAccountHandle -> Android.Net.Uri
override this.GetAdnUriForPhoneAccount : Android.Telecom.PhoneAccountHandle -> Android.Net.Uri

Parameters

accountHandle
PhoneAccountHandle

The handle for the account to derive an adn query URI for or null to return a URI which will use the default account.

Returns

Uri

The URI (with the content:// scheme) specific to the specified PhoneAccount for the the content retrieve.

Attributes

Remarks

Returns a URI (with the content:// scheme) specific to the specified PhoneAccount for ADN content retrieval.

Java documentation for android.telecom.TelecomManager.getAdnUriForPhoneAccount(android.telecom.PhoneAccountHandle).

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