Idioma

BluetoothSocketSettings.Builder.SetSocketType(Int32) Método

Definição

Define o tipo de soquete.

[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

O tipo de soquete. O valor é um dos seguintes: BluetoothSocket.TYPE_RFCOMM; BluetoothSocket.TYPE_SCO; BluetoothSocket.TYPE_L2CAP; BluetoothSocket.TYPE_LE

Retornos

Este construtor. Este valor não pode ser nulo.

Atributos

Comentários

Define o tipo de soquete.

Referência do Android para android.bluetooth.BluetoothSocketSettings.Builder.setSocketType.

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a