PermissionInfoCompat

Added in 1.1.0

public final class PermissionInfoCompat


Helper for accessing features in PermissionInfo.

Summary

Public methods

static int

Return the base permission type of a PermissionInfo.

static int

Return the additional protection flags of a PermissionInfo.

Public methods

getProtection

Added in 1.1.0
public static int getProtection(@NonNull PermissionInfo permissionInfo)

Return the base permission type of a PermissionInfo.

getProtectionFlags

Added in 1.1.0
public static int getProtectionFlags(@NonNull PermissionInfo permissionInfo)

Return the additional protection flags of a PermissionInfo.