Added in API level 1

Permission

abstract class Permission : Guard, Serializable
kotlin.Any
   ↳ java.security.Permission

Android doesn't support SecurityManager. Do not use this class.

Summary

Public constructors

Public methods
open Unit
checkGuard(object: Any!)

abstract String!

String!

abstract Boolean
implies(permission: Permission!)

open PermissionCollection!

Public constructors

Permission

Added in API level 1
Permission(name: String!)

Public methods

checkGuard

Added in API level 1
open fun checkGuard(object: Any!): Unit
Parameters
object Any!: the object being protected by the guard.

getActions

Added in API level 1
abstract fun getActions(): String!

getName

Added in API level 1
fun getName(): String!

implies

Added in API level 1
abstract fun implies(permission: Permission!): Boolean

newPermissionCollection

Added in API level 1
open fun newPermissionCollection(): PermissionCollection!