Language

BluetoothSocketSettings.Builder.SetSocketType(Int32) メソッド

定義

ソケットの種類を設定します。

[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

パラメーター

socketType
Int32

RfcommまたはLeの整数値。

戻り値

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

属性

注釈

ソケットの種類を設定します。

既定値は、 Rfcommの整数値です。

android.bluetooth.BluetoothSocketSettings.Builder.setSocketTypeの Android リファレンス。

このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。

適用対象