Partager via


DiscoveryRequest.ServiceType Property

Definition

Returns the service type in format of dot-joint string of two labels.

public string ServiceType { [Android.Runtime.Register("getServiceType", "()Ljava/lang/String;", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getServiceType", "()Ljava/lang/String;", "", ApiSince=35)>]
member this.ServiceType : string

Property Value

Attributes

Remarks

Returns the service type in format of dot-joint string of two labels.

For example, "_ipp._tcp" for internet printer and "_matter._tcp" for Matter operational device.

Java documentation for android.net.nsd.DiscoveryRequest.getServiceType().

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