Partager via


Characteristics.MaxMatchFilterLength Property

Definition

Returns the maximum length of byte array that can be used to specify a Aware match filter.

public int MaxMatchFilterLength { [Android.Runtime.Register("getMaxMatchFilterLength", "()I", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getMaxMatchFilterLength", "()I", "", ApiSince=26)>]
member this.MaxMatchFilterLength : int

Property Value

A positive integer, maximum length of byte array for Aware discovery match filter.

Attributes

Remarks

Returns the maximum length of byte array that can be used to specify a Aware match filter. Restricts the parameters of the PublishConfig.Builder#setMatchFilter(java.util.List) and SubscribeConfig.Builder#setMatchFilter(java.util.List).

Java documentation for android.net.wifi.aware.Characteristics.getMaxMatchFilterLength().

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