BluetoothAdapter.GetRemoteLeDevice(String, Int32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定された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属性ライセンスに記載されている条件に従って使用されます。