Lingua

BluetoothSocketSettings.Builder.SetSocketType(Int32) Metodo

Definizione

Imposta il tipo di 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

Parametri

socketType
Int32

Tipo di socket. Il valore è uno dei seguenti: BluetoothSocket.TYPE_RFCOMM; BluetoothSocket.TYPE_SCO; BluetoothSocket.TYPE_L2CAP; BluetoothSocket.TYPE_LE

Valori restituiti

Questo generatore. Questo valore non può essere Null.

Attributi

Commenti

Imposta il tipo di socket.

Informazioni di riferimento su Android per android.bluetooth.BluetoothSocketSettings.Builder.setSocketType.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a