Lingua

DiscoveryRequest.ServiceNameFilter Property

Definition

Returns the filter to apply to service names as per NsdServiceInfo#getServiceName().

public Android.OS.PatternMatcher? ServiceNameFilter { [Android.Runtime.Register("getServiceNameFilter", "()Landroid/os/PatternMatcher;", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getServiceNameFilter", "()Landroid/os/PatternMatcher;", "", ApiSince=37)>]
member this.ServiceNameFilter : Android.OS.PatternMatcher

Property Value

Returns the filter to apply to service names as per NsdServiceInfo.getServiceName().

Attributes

Remarks

Returns the filter to apply to service names as per NsdServiceInfo.getServiceName().

As per RFC6335 5.1., service names must be only US-ASCII letters, digits and hyphens, and matching is not case-sensitive.

If null, services are not filtered by name.

Android reference for android.net.nsd.DiscoveryRequest.getServiceNameFilter.

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