WifiAwareManager.AvailableAwareResources 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 available resources of the Wi-Fi aware service: a set of parameters which specify limitations on service usage, e.
public virtual Android.Net.Wifi.Aware.AwareResources? AvailableAwareResources { [Android.Runtime.Register("getAvailableAwareResources", "()Landroid/net/wifi/aware/AwareResources;", "GetGetAvailableAwareResourcesHandler", ApiSince=31)] [Android.Runtime.RequiresPermission("android.permission.ACCESS_WIFI_STATE")] get; }
[<get: Android.Runtime.Register("getAvailableAwareResources", "()Landroid/net/wifi/aware/AwareResources;", "GetGetAvailableAwareResourcesHandler", ApiSince=31)>]
[<get: Android.Runtime.RequiresPermission("android.permission.ACCESS_WIFI_STATE")>]
member this.AvailableAwareResources : Android.Net.Wifi.Aware.AwareResources
Property Value
An object specifying the currently available resource of the Wi-Fi Aware service.
- Attributes
Remarks
Return the available resources of the Wi-Fi aware service: a set of parameters which specify limitations on service usage, e.g the number of data-paths which could be created.
May return null
if the Wi-Fi Aware service is not initialized. Use #attach(AttachCallback, Handler)
or #attach(AttachCallback, IdentityChangedListener, Handler)
to initialize the Wi-Fi Aware service.
Java documentation for android.net.wifi.aware.WifiAwareManager.getAvailableAwareResources()
.
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.