Lingua

BluetoothSocketSettings.SocketType Proprietà

Definizione

Restituisce il tipo del socket Bluetooth.

public Android.Bluetooth.BluetoothConnectionType SocketType { [Android.Runtime.Register("getSocketType", "()I", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getSocketType", "()I", "", ApiSince=36)>]
member this.SocketType : Android.Bluetooth.BluetoothConnectionType

Valore della proprietà

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

Attributi

Commenti

Restituisce il tipo del socket Bluetooth.

Di default è BluetoothSocket#TYPE_RFCOMM.

per android.bluetooth.BluetoothSocketSettings.getSocketType().

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