Android APIs
public final class

SecurityPermission

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

Class Overview

Legacy security code; do not use.

Summary

Public Constructors
SecurityPermission(String name)
SecurityPermission(String name, String action)
Public Methods
String getActions()
boolean implies(Permission permission)
[Expand]
Inherited Methods
From class java.security.BasicPermission
From class java.security.Permission
From class java.lang.Object
From interface java.security.Guard

Public Constructors

public SecurityPermission (String name)

Added in API level 1

Parameters
name

public SecurityPermission (String name, String action)

Added in API level 1

Parameters
name
action

Public Methods

public String getActions ()

Added in API level 1

Returns
String

public boolean implies (Permission permission)

Added in API level 1

Parameters
permission
Returns
boolean