다음을 통해 공유


Credential.UserCredential.Username Property

Definition

Get the username associated with this user credential. -or- Set the username associated with this user credential.

public string Username { [Android.Runtime.Register("getUsername", "()Ljava/lang/String;", "", ApiSince=26)] get; [Android.Runtime.Register("setUsername", "(Ljava/lang/String;)V", "", ApiSince=26)] set; }
[<get: Android.Runtime.Register("getUsername", "()Ljava/lang/String;", "", ApiSince=26)>]
[<set: Android.Runtime.Register("setUsername", "(Ljava/lang/String;)V", "", ApiSince=26)>]
member this.Username : string with get, set

Property Value

the username associated with this user credential

Attributes

Remarks

Property getter documentation:

Get the username associated with this user credential.

Java documentation for android.net.wifi.hotspot2.pps.Credential.UserCredential.getUsername().

Property setter documentation:

Set the username associated with this user credential.

Java documentation for android.net.wifi.hotspot2.pps.Credential.UserCredential.setUsername(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