DevicePolicyManager.GetBluetoothContactSharingDisabled(ComponentName) 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.
Appelé par un propriétaire de profil d’un profil managé pour déterminer si les appareils Bluetooth ne peuvent pas accéder aux contacts d’entreprise ou non.
[Android.Runtime.Register("getBluetoothContactSharingDisabled", "(Landroid/content/ComponentName;)Z", "GetGetBluetoothContactSharingDisabled_Landroid_content_ComponentName_Handler", ApiSince=23)]
public virtual bool GetBluetoothContactSharingDisabled(Android.Content.ComponentName admin);
[<Android.Runtime.Register("getBluetoothContactSharingDisabled", "(Landroid/content/ComponentName;)Z", "GetGetBluetoothContactSharingDisabled_Landroid_content_ComponentName_Handler", ApiSince=23)>]
abstract member GetBluetoothContactSharingDisabled : Android.Content.ComponentName -> bool
override this.GetBluetoothContactSharingDisabled : Android.Content.ComponentName -> bool
Paramètres
- admin
- ComponentName
Auquel DeviceAdminReceiver cette requête est associée.
Retours
- Attributs
Remarques
Appelé par un propriétaire de profil d’un profil managé pour déterminer si les appareils Bluetooth ne peuvent pas accéder aux contacts d’entreprise ou non.
L’administrateur de l’appareil appelant doit être un propriétaire de profil. Si ce n’est pas le cas, une exception de sécurité est levée.
Cette API fonctionne uniquement sur un profil managé.
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.