Lenguaje

BluetoothSocketSettings.Builder.SetSocketType(Int32) Método

Definición

Establece el tipo de socket.

[Android.Runtime.Register("setSocketType", "(I)Landroid/bluetooth/BluetoothSocketSettings$Builder;", "", ApiSince=36)]
public Android.Bluetooth.BluetoothSocketSettings.Builder SetSocketType(int socketType);
[<Android.Runtime.Register("setSocketType", "(I)Landroid/bluetooth/BluetoothSocketSettings$Builder;", "", ApiSince=36)>]
member this.SetSocketType : int -> Android.Bluetooth.BluetoothSocketSettings.Builder

Parámetros

socketType
Int32

Tipo de socket. El valor es uno de los siguientes: BluetoothSocket.TYPE_RFCOMM; BluetoothSocket.TYPE_SCO; BluetoothSocket.TYPE_L2CAP; BluetoothSocket.TYPE_LE

Devoluciones

Este generador. Este valor no puede ser nulo.

Atributos

Comentarios

Establece el tipo de socket.

Referencia de Android para android.bluetooth.BluetoothSocketSettings.Builder.setSocketType.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a