BluetoothAdapter.GetRemoteLeDevice(String, Int32) 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.
Obtenez un objet BluetoothDevice pour l’adresse matérielle et addressType Bluetooth donnés.
[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
Paramètres
- address
- String
Adresse MAC Bluetooth valide. Cette valeur ne peut pas être null.
- addressType
- Int32
Type d’adresse Bluetooth. La valeur est l’une des valeurs suivantes : BluetoothDevice.ADDRESS_TYPE_PUBLIC ; BluetoothDevice.ADDRESS_TYPE_RANDOM ; BluetoothDevice.ADDRESS_TYPE_ANONYMOUS ; BluetoothDevice.ADDRESS_TYPE_UNKNOWN
Retours
- Attributs
Remarques
Obtenez un objet BluetoothDevice pour l’adresse matérielle et addressType Bluetooth donnés.
Référence Android pour android.bluetooth.BluetoothAdapter.getRemoteLeDevice.
Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.