lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in API level 1

Permissions

public final class Permissions
extends PermissionCollection implements Serializable

java.lang.Object
   ↳ java.security.PermissionCollection
     ↳ java.security.Permissions


Legacy security code; do not use.

Summary

Public constructors

Permissions()

Public methods

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

Inherited methods

Public constructors

Permissions

added in API level 1
public Permissions ()

Public methods

add

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

Parameters
permission Permission

elements

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

Returns
Enumeration<Permission>

implies

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

Parameters
permission Permission

Returns
boolean