BluetoothAdapter.GetRemoteDevice メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| Name | 説明 |
|---|---|
| GetRemoteDevice(String) |
指定されたBluetoothハードウェア アドレスの |
| GetRemoteDevice(Byte[]) |
指定されたBluetoothハードウェア アドレスの |
GetRemoteDevice(String)
指定されたBluetoothハードウェア アドレスの BluetoothDevice オブジェクトを取得します。
[Android.Runtime.Register("getRemoteDevice", "(Ljava/lang/String;)Landroid/bluetooth/BluetoothDevice;", "")]
public Android.Bluetooth.BluetoothDevice? GetRemoteDevice(string? address);
[<Android.Runtime.Register("getRemoteDevice", "(Ljava/lang/String;)Landroid/bluetooth/BluetoothDevice;", "")>]
member this.GetRemoteDevice : string -> Android.Bluetooth.BluetoothDevice
パラメーター
- address
- String
有効なBluetooth MAC アドレス
返品
- 属性
例外
アドレスが無効な場合
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
GetRemoteDevice(Byte[])
指定されたBluetoothハードウェア アドレスの BluetoothDevice オブジェクトを取得します。
[Android.Runtime.Register("getRemoteDevice", "([B)Landroid/bluetooth/BluetoothDevice;", "")]
public Android.Bluetooth.BluetoothDevice? GetRemoteDevice(byte[]? address);
[<Android.Runtime.Register("getRemoteDevice", "([B)Landroid/bluetooth/BluetoothDevice;", "")>]
member this.GetRemoteDevice : byte[] -> Android.Bluetooth.BluetoothDevice
パラメーター
- address
- Byte[]
Bluetooth MAC アドレス (6 バイト)
返品
- 属性
例外
アドレスが無効な場合
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。