次の方法で共有


WifiAwareManager.GetPairedDevices(IExecutor, IConsumer) Method

Definition

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

Parameters

executor
IExecutor
resultsCallback
IConsumer
Attributes

Applies to