BluetoothServerSocket.AcceptAsync 方法

定义

重载

AcceptAsync()

public System.Threading.Tasks.Task<Android.Bluetooth.BluetoothSocket?> AcceptAsync();
member this.AcceptAsync : unit -> System.Threading.Tasks.Task<Android.Bluetooth.BluetoothSocket>

返回

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

AcceptAsync(Int32)

public System.Threading.Tasks.Task<Android.Bluetooth.BluetoothSocket?> AcceptAsync(int timeout);
member this.AcceptAsync : int -> System.Threading.Tasks.Task<Android.Bluetooth.BluetoothSocket>

参数

timeout
Int32

返回

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于