DevicePolicyManager.GetBluetoothContactSharingDisabled(ComponentName) 方法

定义

由托管配置文件的配置文件所有者调用,以确定蓝牙设备是否无法访问企业联系人。

[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

参数

admin
ComponentName

DeviceAdminReceiver此请求与此请求相关联。

返回

属性

注解

由托管配置文件的配置文件所有者调用,以确定蓝牙设备是否无法访问企业联系人。

呼叫设备管理员必须是配置文件所有者。 如果不是,将引发安全异常。

此 API 仅适用于托管配置文件。

适用于 . 的 android.app.admin.DevicePolicyManager.getBluetoothContactSharingDisabled(android.content.ComponentName)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于