PermissionInfoCompat

class PermissionInfoCompat
kotlin.Any
   ↳ androidx.core.content.pm.PermissionInfoCompat

Helper for accessing features in PermissionInfo.

Summary

Public methods
static Int
getProtection(permissionInfo: PermissionInfo)

Return the base permission type of a PermissionInfo.

static Int

Return the additional protection flags of a PermissionInfo.

Public methods

getProtection

static fun getProtection(permissionInfo: PermissionInfo): Int

Return the base permission type of a PermissionInfo.

getProtectionFlags

static fun getProtectionFlags(permissionInfo: PermissionInfo): Int

Return the additional protection flags of a PermissionInfo.