AwareResources.AvailableDataPathsCount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return the number of Aware data-paths (also known as NDPs - NAN Data Paths) which an app could create.
public int AvailableDataPathsCount { [Android.Runtime.Register("getAvailableDataPathsCount", "()I", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getAvailableDataPathsCount", "()I", "", ApiSince=31)>]
member this.AvailableDataPathsCount : int
Property Value
A Non-negative integer, number of data-paths that could be created.
- Attributes
Remarks
Return the number of Aware data-paths (also known as NDPs - NAN Data Paths) which an app could create. Please refer to the WifiAwareNetworkSpecifier
to create a Network Specifier and request a data-path.
Note that these resources aren't reserved - other apps could use them by the time you attempt to create a data-path.
Java documentation for android.net.wifi.aware.AwareResources.getAvailableDataPathsCount()
.
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.