Freigeben über


WifiAwareManager.IsInstantCommunicationModeEnabled Property

Definition

Return the current status of the Wifi Aware instant communication mode.

public virtual bool IsInstantCommunicationModeEnabled { [Android.Runtime.Register("isInstantCommunicationModeEnabled", "()Z", "GetIsInstantCommunicationModeEnabledHandler", ApiSince=31)] [Android.Runtime.RequiresPermission("android.permission.ACCESS_WIFI_STATE")] get; }
[<get: Android.Runtime.Register("isInstantCommunicationModeEnabled", "()Z", "GetIsInstantCommunicationModeEnabledHandler", ApiSince=31)>]
[<get: Android.Runtime.RequiresPermission("android.permission.ACCESS_WIFI_STATE")>]
member this.IsInstantCommunicationModeEnabled : bool

Property Value

true if it is enabled, false otherwise.

Attributes

Remarks

Return the current status of the Wifi Aware instant communication mode. If the device doesn't support this feature, return will always be false.

Java documentation for android.net.wifi.aware.WifiAwareManager.isInstantCommunicationModeEnabled().

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