语言

DevicePolicyManager.IsOrganizationOwnedDeviceWithManagedProfile 属性

定义

应用可以使用此方法来确定设备是否已使用托管配置文件预配为组织欠款设备。

public virtual bool IsOrganizationOwnedDeviceWithManagedProfile { [Android.Runtime.Register("isOrganizationOwnedDeviceWithManagedProfile", "()Z", "GetIsOrganizationOwnedDeviceWithManagedProfileHandler", ApiSince=30)] get; }
[<get: Android.Runtime.Register("isOrganizationOwnedDeviceWithManagedProfile", "()Z", "GetIsOrganizationOwnedDeviceWithManagedProfileHandler", ApiSince=30)>]
member this.IsOrganizationOwnedDeviceWithManagedProfile : bool

属性值

如果设备已预配为组织拥有的设备,则为 the0/;否则。

特性

注解

应用可以使用此方法来确定设备是否已使用托管配置文件预配为组织欠款设备。

这与检查设备是否具有设备所有者(通过调用 #isDeviceOwnerApp)一起,可用于了解设备是组织还是个人所有:如果此方法返回 true 或 #isDeviceOwnerApp 返回 true(对于任何包),则设备由组织拥有。 否则,它归个人所有。

Java文档android.app.admin.DevicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于