다음을 통해 공유


Characteristics.NumberOfSupportedPublishSessions Property

Definition

Returns the maximum number of Aware publish sessions supported by the device.

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

Property Value

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

Attributes

Remarks

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

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

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