Share via


WifiAwareManager.IsOpportunisticModeEnabled(IExecutor, IConsumer) Method

Definition

[Android.Runtime.Register("isOpportunisticModeEnabled", "(Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "GetIsOpportunisticModeEnabled_Ljava_util_concurrent_Executor_Ljava_util_function_Consumer_Handler", ApiSince=34)]
[Android.Runtime.RequiresPermission("android.permission.ACCESS_WIFI_STATE")]
public virtual void IsOpportunisticModeEnabled (Java.Util.Concurrent.IExecutor executor, Java.Util.Functions.IConsumer resultsCallback);
[<Android.Runtime.Register("isOpportunisticModeEnabled", "(Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "GetIsOpportunisticModeEnabled_Ljava_util_concurrent_Executor_Ljava_util_function_Consumer_Handler", ApiSince=34)>]
[<Android.Runtime.RequiresPermission("android.permission.ACCESS_WIFI_STATE")>]
abstract member IsOpportunisticModeEnabled : Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit
override this.IsOpportunisticModeEnabled : Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit

Parameters

executor
IExecutor
resultsCallback
IConsumer
Attributes

Applies to