DiscoveryRequest.ServiceNameFilter Property
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.
Returns the filter to apply to service names as per ServiceName.
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().
Service instance names can contain spaces and non-ASCII characters. Matching is not case-sensitive for ASCII letters.
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.