Lingua

BluetoothGattConnectionSettings.Builder.SetOpportunisticEnabled Metodo

Definizione

Imposta se il client GATT è opportunistico.

[Android.Runtime.Register("setOpportunisticEnabled", "(Z)Landroid/bluetooth/BluetoothGattConnectionSettings$Builder;", "", ApiSince=37)]
public Android.Bluetooth.BluetoothGattConnectionSettings.Builder SetOpportunisticEnabled(bool opportunisticEnabled);
[<Android.Runtime.Register("setOpportunisticEnabled", "(Z)Landroid/bluetooth/BluetoothGattConnectionSettings$Builder;", "", ApiSince=37)>]
member this.SetOpportunisticEnabled : bool -> Android.Bluetooth.BluetoothGattConnectionSettings.Builder

Parametri

opportunisticEnabled
Boolean

true se questa connessione è opportunistica, false in caso contrario.

Valori restituiti

Questo generatore. Questo valore non può essere Null.

Attributi

Commenti

Imposta se il client GATT è opportunistico. Un client GATT opportunistico non contiene una connessione GATT. Si disconnette automaticamente quando non sono attive altre connessioni GATT per il dispositivo remoto

Informazioni di riferimento su Android per android.bluetooth.BluetoothGattConnectionSettings.Builder.setOpportunisticEnabled.

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