Compartilhar via


NsdServiceInfo.ServiceName Property

Definition

Get the service name -or- Set the service name

public string? ServiceName { [Android.Runtime.Register("getServiceName", "()Ljava/lang/String;", "")] get; [Android.Runtime.Register("setServiceName", "(Ljava/lang/String;)V", "")] set; }
[<get: Android.Runtime.Register("getServiceName", "()Ljava/lang/String;", "")>]
[<set: Android.Runtime.Register("setServiceName", "(Ljava/lang/String;)V", "")>]
member this.ServiceName : string with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Get the service name

Java documentation for android.net.nsd.NsdServiceInfo.getServiceName().

Property setter documentation:

Set the service name

Java documentation for android.net.nsd.NsdServiceInfo.setServiceName(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