Sdílet prostřednictvím


WifiAwareManager.ActionWifiAwareResourceChanged Field

Definition

Intent broadcast sent whenever Wi-Fi Aware resource availability has changed.

[Android.Runtime.Register("ACTION_WIFI_AWARE_RESOURCE_CHANGED", ApiSince=33)]
[Android.Runtime.RequiresPermission("android.permission.ACCESS_WIFI_STATE")]
public const string ActionWifiAwareResourceChanged;
[<Android.Runtime.Register("ACTION_WIFI_AWARE_RESOURCE_CHANGED", ApiSince=33)>]
[<Android.Runtime.RequiresPermission("android.permission.ACCESS_WIFI_STATE")>]
val mutable ActionWifiAwareResourceChanged : string

Field Value

Attributes

Remarks

Intent broadcast sent whenever Wi-Fi Aware resource availability has changed. The resources are attached with the #EXTRA_AWARE_RESOURCES extra. The resources can also be obtained using the #getAvailableAwareResources() method. To receive this broadcast, apps must hold android.Manifest.permission#ACCESS_WIFI_STATE.

Note: The broadcast is only delivered to registered receivers - no manifest registered components will be launched.

Java documentation for android.net.wifi.aware.WifiAwareManager.ACTION_WIFI_AWARE_RESOURCE_CHANGED.

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