共用方式為


WifiManager.GetChannelData(IExecutor, IConsumer) Method

Definition

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

Parameters

executor
IExecutor
resultsCallback
IConsumer
Attributes

Applies to