AssociationRequest.Builder.SetDisplayName 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.
Overloads
| Name | Description |
|---|---|
| SetDisplayName(ICharSequence) |
Adds a display name. |
| SetDisplayName(String) |
SetDisplayName(ICharSequence)
Adds a display name.
[Android.Runtime.Register("setDisplayName", "(Ljava/lang/CharSequence;)Landroid/companion/AssociationRequest$Builder;", "", ApiSince=33)]
public Android.Companion.AssociationRequest.Builder SetDisplayName(Java.Lang.ICharSequence displayName);
[<Android.Runtime.Register("setDisplayName", "(Ljava/lang/CharSequence;)Landroid/companion/AssociationRequest$Builder;", "", ApiSince=33)>]
member this.SetDisplayName : Java.Lang.ICharSequence -> Android.Companion.AssociationRequest.Builder
Parameters
- displayName
- ICharSequence
the display name of the device. This value cannot be null.
Returns
- Attributes
Remarks
Adds a display name. Generally AssociationRequests are not required to provide a display name, except for request for creating "self-managed" associations, which MUST provide a display name.
Android reference for android.companion.AssociationRequest.Builder.setDisplayName.
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
SetDisplayName(String)
public Android.Companion.AssociationRequest.Builder SetDisplayName(string displayName);
member this.SetDisplayName : string -> Android.Companion.AssociationRequest.Builder
Parameters
- displayName
- String