Language

BluetoothGattConnectionSettings.Builder.SetTransport(Int32) メソッド

定義

この Gatt 設定のトランスポートを設定します。

[Android.Runtime.Register("setTransport", "(I)Landroid/bluetooth/BluetoothGattConnectionSettings$Builder;", "", ApiSince=37)]
public Android.Bluetooth.BluetoothGattConnectionSettings.Builder SetTransport(int transport);
[<Android.Runtime.Register("setTransport", "(I)Landroid/bluetooth/BluetoothGattConnectionSettings$Builder;", "", ApiSince=37)>]
member this.SetTransport : int -> Android.Bluetooth.BluetoothGattConnectionSettings.Builder

パラメーター

transport
Int32

Auto、Bredr、またはLeの整数値。

戻り値

このビルダー。 この値は null にすることはできません。

属性

注釈

この Gatt 設定のトランスポートを設定します。 リモート デュアルモード デバイスへの GATT 接続の優先トランスポート。

android.bluetooth.BluetoothGattConnectionSettings.Builder.setTransportの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象