Udostępnij za pośrednictwem


ServiceDiscoveryInfo.MatchFilters Property

Definition

Get the filter which resulted in this service discovery.

public System.Collections.Generic.IList<byte[]> MatchFilters { [Android.Runtime.Register("getMatchFilters", "()Ljava/util/List;", "", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getMatchFilters", "()Ljava/util/List;", "", ApiSince=33)>]
member this.MatchFilters : System.Collections.Generic.IList<byte[]>

Property Value

IList<Byte[]>

A list of byte arrays representing the match filter. An empty list if match filter is not set.

Attributes

Remarks

Get the filter which resulted in this service discovery. For PublishConfig#PUBLISH_TYPE_UNSOLICITED, SubscribeConfig#SUBSCRIBE_TYPE_PASSIVE discovery sessions this is the publisher's match filter. For PublishConfig#PUBLISH_TYPE_SOLICITED, SubscribeConfig#SUBSCRIBE_TYPE_ACTIVE discovery sessions this is the subscriber's match filter.

Java documentation for android.net.wifi.aware.ServiceDiscoveryInfo.getMatchFilters().

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