共用方式為


WifiManager.QueryAutojoinGlobal(IExecutor, IConsumer) Method

Definition

Query whether or not auto-join global is enabled/disabled

[Android.Runtime.Register("queryAutojoinGlobal", "(Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "GetQueryAutojoinGlobal_Ljava_util_concurrent_Executor_Ljava_util_function_Consumer_Handler", ApiSince=33)]
public virtual void QueryAutojoinGlobal (Java.Util.Concurrent.IExecutor executor, Java.Util.Functions.IConsumer resultsCallback);
[<Android.Runtime.Register("queryAutojoinGlobal", "(Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "GetQueryAutojoinGlobal_Ljava_util_concurrent_Executor_Ljava_util_function_Consumer_Handler", ApiSince=33)>]
abstract member QueryAutojoinGlobal : Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit
override this.QueryAutojoinGlobal : Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit

Parameters

executor
IExecutor

The executor on which callback will be invoked.

resultsCallback
IConsumer

An asynchronous callback that will return Boolean indicating whether auto-join global is enabled/disabled.

Attributes

Remarks

Query whether or not auto-join global is enabled/disabled

Java documentation for android.net.wifi.WifiManager.queryAutojoinGlobal(java.util.concurrent.Executor, java.util.function.Consumer<java.lang.Boolean>).

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