Language

BluetoothAdapter.GetRemoteLeDevice(String, Int32) メソッド

定義

指定されたBluetoothハードウェア アドレスと addressType の BluetoothDevice オブジェクトを取得します。

[Android.Runtime.Register("getRemoteLeDevice", "(Ljava/lang/String;I)Landroid/bluetooth/BluetoothDevice;", "", ApiSince=33)]
public Android.Bluetooth.BluetoothDevice GetRemoteLeDevice(string address, int addressType);
[<Android.Runtime.Register("getRemoteLeDevice", "(Ljava/lang/String;I)Landroid/bluetooth/BluetoothDevice;", "", ApiSince=33)>]
member this.GetRemoteLeDevice : string * int -> Android.Bluetooth.BluetoothDevice

パラメーター

address
String

有効なBluetooth MAC アドレス。 この値は null にすることはできません。

addressType
Int32

アドレスの種類Bluetoothします。 値は次のいずれかです: BluetoothDevice.ADDRESS_TYPE_PUBLIC;BluetoothDevice.ADDRESS_TYPE_RANDOM;BluetoothDevice.ADDRESS_TYPE_ANONYMOUS;BluetoothDevice.ADDRESS_TYPE_UNKNOWN

返品

属性

注釈

指定されたBluetoothハードウェア アドレスと addressType の BluetoothDevice オブジェクトを取得します。

android.bluetooth.BluetoothAdapter.getRemoteLeDeviceの Android リファレンス。

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

適用対象