DiscoveryRequest.Subtype Property

Definition

Returns the subtype without the trailing ".

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

Property Value

Attributes

Remarks

Returns the subtype without the trailing "._sub" label or null if no subtype is specified.

For example, the return value will be "_printer" for subtype "_printer._sub".

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

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