Added in API level 1

Permissions

class Permissions : PermissionCollection, Serializable
kotlin.Any
   ↳ java.security.PermissionCollection
   ↳ java.security.Permissions

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

Summary

Public constructors

Public methods
Unit
add(permission: Permission!)

Enumeration<Permission!>!

Boolean
implies(permission: Permission!)

Inherited functions

Public constructors

Permissions

Added in API level 1
Permissions()

Public methods

add

Added in API level 1
fun add(permission: Permission!): Unit
Parameters
permission Permission!: the Permission object to add.

elements

Added in API level 1
fun elements(): Enumeration<Permission!>!
Return
Enumeration<Permission!>! an enumeration of all the Permissions.

implies

Added in API level 1
fun implies(permission: Permission!): Boolean
Parameters
permission Permission!: the Permission object to compare.
Return
Boolean true if "permission" is implied by the permissions in the collection, false if not.