Added in API level 1
Permission
abstract class Permission : Guard, Serializable
| kotlin.Any | |
| ↳ | java.security.Permission |
Legacy security code; do not use.
Summary
| Public constructors | |
|---|---|
| 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!