Condividi tramite


WifiAwareManager.IsOpportunisticModeEnabled(IExecutor, IConsumer) Metodo

Definizione

[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

Parametri

executor
IExecutor
resultsCallback
IConsumer
Attributi

Si applica a