Udostępnij za pośrednictwem


BluetoothServerSocket.AcceptAsync Method

Definition

Overloads

AcceptAsync()
AcceptAsync(Int32)

AcceptAsync()

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

Returns

Remarks

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

AcceptAsync(Int32)

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

Parameters

timeout
Int32

Returns

Remarks

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