Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!
added in API level 1

BasicPermission

public abstract class BasicPermission
extends Permission implements Serializable

java.lang.Object
   ↳ java.security.Permission
     ↳ java.security.BasicPermission


Legacy security code; do not use.

Summary

Public constructors

BasicPermission(String name)
BasicPermission(String name, String actions)

Public methods

String getActions()
boolean implies(Permission p)

Inherited methods

Public constructors

BasicPermission

added in API level 1
public BasicPermission (String name)

Parameters
name String

BasicPermission

added in API level 1
public BasicPermission (String name, 
                String actions)

Parameters
name String

actions String

Public methods

getActions

added in API level 1
public String getActions ()

Returns
String

implies

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

Parameters
p Permission

Returns
boolean