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 | |
|---|---|
Permission(name: String!) |
|
| Public methods | |
|---|---|
| open Unit |
checkGuard(object: Any!) |
| abstract String! | |
| String! |
getName() |
| abstract Boolean |
implies(permission: Permission!) |
| open PermissionCollection! | |
Public constructors
Public methods
checkGuard
Added in API level 1
open fun checkGuard(object: Any!): Unit
| Parameters | |
|---|---|
object |
Any!: the object being protected by the guard. |
newPermissionCollection
Added in API level 1
open fun newPermissionCollection(): PermissionCollection!