DevicePolicyManager.IsCallerApplicationRestrictionsManagingPackage Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called by any application to find out whether it has been granted permission via
#setApplicationRestrictionsManagingPackage
to manage application restrictions
for the calling user.
public virtual bool IsCallerApplicationRestrictionsManagingPackage { [Android.Runtime.Register("isCallerApplicationRestrictionsManagingPackage", "()Z", "GetIsCallerApplicationRestrictionsManagingPackageHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("isCallerApplicationRestrictionsManagingPackage", "()Z", "GetIsCallerApplicationRestrictionsManagingPackageHandler", ApiSince=24)>]
member this.IsCallerApplicationRestrictionsManagingPackage : bool
Property Value
- Attributes
Remarks
Called by any application to find out whether it has been granted permission via #setApplicationRestrictionsManagingPackage
to manage application restrictions for the calling user.
This is done by comparing the calling Linux uid with the uid of the package specified by that method.
This member is deprecated. From android.os.Build.VERSION_CODES#O
. Use #getDelegatedScopes
instead.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.