Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 1

PermissionCollection

public abstract class PermissionCollection
extends Object implements Serializable

java.lang.Object
   ↳ java.security.PermissionCollection


Legacy security code; do not use.

Summary

Public constructors

PermissionCollection()

Public methods

abstract void add(Permission permission)
abstract Enumeration<Permission> elements()
abstract boolean implies(Permission permission)
boolean isReadOnly()
void setReadOnly()

Inherited methods

Public constructors

PermissionCollection

added in API level 1
public PermissionCollection ()

Public methods

add

added in API level 1
public abstract void add (Permission permission)

Parameters
permission Permission

elements

added in API level 1
public abstract Enumeration<Permission> elements ()

Returns
Enumeration<Permission>

implies

added in API level 1
public abstract boolean implies (Permission permission)

Parameters
permission Permission

Returns
boolean

isReadOnly

added in API level 1
public boolean isReadOnly ()

Returns
boolean

setReadOnly

added in API level 1
public void setReadOnly ()