다음을 통해 공유


DevicePolicyManager.SetBluetoothContactSharingDisabled 메서드

정의

관리되는 프로필의 프로필 소유자가 호출하여 Bluetooth 디바이스가 엔터프라이즈 연락처에 액세스할 수 있는지 여부를 설정합니다.

[Android.Runtime.Register("setBluetoothContactSharingDisabled", "(Landroid/content/ComponentName;Z)V", "GetSetBluetoothContactSharingDisabled_Landroid_content_ComponentName_ZHandler", ApiSince=23)]
public virtual void SetBluetoothContactSharingDisabled (Android.Content.ComponentName admin, bool disabled);
[<Android.Runtime.Register("setBluetoothContactSharingDisabled", "(Landroid/content/ComponentName;Z)V", "GetSetBluetoothContactSharingDisabled_Landroid_content_ComponentName_ZHandler", ApiSince=23)>]
abstract member SetBluetoothContactSharingDisabled : Android.Content.ComponentName * bool -> unit
override this.SetBluetoothContactSharingDisabled : Android.Content.ComponentName * bool -> unit

매개 변수

admin
ComponentName

DeviceAdminReceiver 이 요청과 연결된 요청입니다.

disabled
Boolean

true이면 Bluetooth 디바이스가 엔터프라이즈 연락처에 액세스할 수 없습니다.

특성

설명

관리되는 프로필의 프로필 소유자가 호출하여 Bluetooth 디바이스가 엔터프라이즈 연락처에 액세스할 수 있는지 여부를 설정합니다.

호출 디바이스 관리자는 프로필 소유자여야 합니다. 그렇지 않으면 보안 예외가 throw됩니다.

이 API는 관리되는 프로필에서만 작동합니다.

에 대한 Java 설명서입니다 android.app.admin.DevicePolicyManager.setBluetoothContactSharingDisabled(android.content.ComponentName, boolean).

이 페이지의 일부는 만들고 공유하며 에 설명된 용어에 따라 사용되는 작업을 기반으로 수정됩니다.

적용 대상