TelephonyManager.Line1Number Property

Definition

Returns the phone number string for line 1, for example, the MSISDN for a GSM phone for a particular subscription.

public virtual string? Line1Number { [Android.Runtime.Register("getLine1Number", "()Ljava/lang/String;", "GetGetLine1NumberHandler")] get; }
[<get: Android.Runtime.Register("getLine1Number", "()Ljava/lang/String;", "GetGetLine1NumberHandler")>]
member this.Line1Number : string

Property Value

String
Attributes

Remarks

Java documentation for android.telephony.TelephonyManager.getLine1Number().

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