Partager via


Characteristics.NumberOfSupportedSubscribeSessions Property

Definition

Returns the maximum number of Aware subscribe session supported by the device.

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

Property Value

A positive integer, maximum number of subscribe sessions supported by the device.

Attributes

Remarks

Returns the maximum number of Aware subscribe session supported by the device. Use AwareResources#getAvailableSubscribeSessionsCount() to get the number of available subscribe sessions which are not currently used by any app.

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

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