Language

SubscribeConfig.Builder.SetMatchFilter(IList<Byte[]>) Method

Definition

The match filter for a subscribe session.

[Android.Runtime.Register("setMatchFilter", "(Ljava/util/List;)Landroid/net/wifi/aware/SubscribeConfig$Builder;", "", ApiSince=26)]
public Android.Net.Wifi.Aware.SubscribeConfig.Builder? SetMatchFilter(System.Collections.Generic.IList<byte[]>? matchFilter);
[<Android.Runtime.Register("setMatchFilter", "(Ljava/util/List;)Landroid/net/wifi/aware/SubscribeConfig$Builder;", "", ApiSince=26)>]
member this.SetMatchFilter : System.Collections.Generic.IList<byte[]> -> Android.Net.Wifi.Aware.SubscribeConfig.Builder

Parameters

matchFilter
IList<Byte[]>

A list of match filter entries (each of which is an arbitrary byte array). This value may be null.

Returns

The builder to facilitate chaining builder.setXXX(..).setXXX(..).

Attributes

Remarks

The match filter for a subscribe session. Used to determine whether a service discovery occurred - in addition to relying on the service name.

Optional. Empty by default.

Android reference for android.net.wifi.aware.SubscribeConfig.Builder.setMatchFilter.

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