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

Valor entero de Rfcomm o Le.

Devoluciones

Este generador. Este valor no puede ser nulo.

Atributos

Comentarios

Establece el tipo de socket.

El valor predeterminado es el valor entero de Rfcomm.

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