BluetoothAdapter.GetRemoteDevice Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| GetRemoteDevice(String) |
Obtenez un |
| GetRemoteDevice(Byte[]) |
Obtenez un |
GetRemoteDevice(String)
Obtenez un BluetoothDevice objet pour l’adresse matérielle Bluetooth donnée.
[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
Paramètres
- address
- String
Adresse MAC Bluetooth valide
Retours
- Attributs
Exceptions
si l’adresse n’est pas valide
Remarques
Java documentation pour android.bluetooth.BluetoothAdapter.getRemoteDevice(java.lang.String).
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.
S’applique à
GetRemoteDevice(Byte[])
Obtenez un BluetoothDevice objet pour l’adresse matérielle Bluetooth donnée.
[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
Paramètres
- address
- Byte[]
Adresse MAC Bluetooth (6 octets)
Retours
- Attributs
Exceptions
si l’adresse n’est pas valide
Remarques
Java documentation pour android.bluetooth.BluetoothAdapter.getRemoteDevice(byte[]).
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.