TelecomManager.GetPhoneAccount(PhoneAccountHandle) 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
for a specified PhoneAccountHandle
.
[Android.Runtime.Register("getPhoneAccount", "(Landroid/telecom/PhoneAccountHandle;)Landroid/telecom/PhoneAccount;", "GetGetPhoneAccount_Landroid_telecom_PhoneAccountHandle_Handler", ApiSince=23)]
public virtual Android.Telecom.PhoneAccount? GetPhoneAccount (Android.Telecom.PhoneAccountHandle? account);
[<Android.Runtime.Register("getPhoneAccount", "(Landroid/telecom/PhoneAccountHandle;)Landroid/telecom/PhoneAccount;", "GetGetPhoneAccount_Landroid_telecom_PhoneAccountHandle_Handler", ApiSince=23)>]
abstract member GetPhoneAccount : Android.Telecom.PhoneAccountHandle -> Android.Telecom.PhoneAccount
override this.GetPhoneAccount : Android.Telecom.PhoneAccountHandle -> Android.Telecom.PhoneAccount
Parameters
- account
- PhoneAccountHandle
The PhoneAccountHandle
.
Returns
The PhoneAccount
object.
- Attributes
Remarks
Return the PhoneAccount
for a specified PhoneAccountHandle
. Object includes resources which can be used in a user interface.
Requires Permission: android.Manifest.permission#READ_PHONE_NUMBERS
for applications targeting API level 31+.
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.