다음을 통해 공유


DevicePolicyManager.GetCrossProfileCallerIdDisabled(ComponentName) 메서드

정의

관리되는 프로필의 프로필 소유자가 호출하여 호출자 ID 정보가 비활성화되었는지 여부를 확인합니다.

[Android.Runtime.Register("getCrossProfileCallerIdDisabled", "(Landroid/content/ComponentName;)Z", "GetGetCrossProfileCallerIdDisabled_Landroid_content_ComponentName_Handler")]
public virtual bool GetCrossProfileCallerIdDisabled (Android.Content.ComponentName admin);
[<Android.Runtime.Register("getCrossProfileCallerIdDisabled", "(Landroid/content/ComponentName;)Z", "GetGetCrossProfileCallerIdDisabled_Landroid_content_ComponentName_Handler")>]
abstract member GetCrossProfileCallerIdDisabled : Android.Content.ComponentName -> bool
override this.GetCrossProfileCallerIdDisabled : Android.Content.ComponentName -> bool

매개 변수

admin
ComponentName

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

반환

특성

설명

관리되는 프로필의 프로필 소유자가 호출하여 호출자 ID 정보가 비활성화되었는지 여부를 확인합니다.

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

android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE부터 정책 유형이 NOT인 null이 아닌 정책으로 설정된 경우 #setManagedProfileCallerIdAccessPolicy(PackagePolicy) true가 반환됩니다.PackagePolicy#PACKAGE_POLICY_BLOCKLIST

이 멤버는 더 이상 사용되지 않습니다. android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE부터 를 대신 사용합니다#getManagedProfileCallerIdAccessPolicy().

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

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

적용 대상