Address.Phone Property

Definition

Returns the phone number of the address if known, or null if it is unknown. -or- Sets the phone number associated with this address.

public virtual string? Phone { [Android.Runtime.Register("getPhone", "()Ljava/lang/String;", "GetGetPhoneHandler")] get; [Android.Runtime.Register("setPhone", "(Ljava/lang/String;)V", "GetSetPhone_Ljava_lang_String_Handler")] set; }
[<get: Android.Runtime.Register("getPhone", "()Ljava/lang/String;", "GetGetPhoneHandler")>]
[<set: Android.Runtime.Register("setPhone", "(Ljava/lang/String;)V", "GetSetPhone_Ljava_lang_String_Handler")>]
member this.Phone : string with get, set

Property Value

String
Attributes

Exceptions

if this Address has not been assigned a latitude.

Remarks

Property getter documentation:

Java documentation for android.location.Address.getPhone().

Property setter documentation:

Java documentation for android.location.Address.setPhone(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