FileDocCategorySizeDatePackage
RuntimePermission.javaAPI DocAndroid 1.5 API4030Wed May 06 22:41:04 BST 2009java.lang

RuntimePermission

public final class RuntimePermission extends BasicPermission
Represents the permission to execute a runtime-related function. There is no action list associated with a {@code RuntimePermission}; the user either has the permission or he doesn't.
since
Android 1.0

Fields Summary
private static final long
serialVersionUID
static final RuntimePermission
permissionToSetSecurityManager
Constants for runtime permissions used in this package.
static final RuntimePermission
permissionToCreateSecurityManager
static final RuntimePermission
permissionToGetProtectionDomain
static final RuntimePermission
permissionToGetClassLoader
static final RuntimePermission
permissionToCreateClassLoader
static final RuntimePermission
permissionToModifyThread
static final RuntimePermission
permissionToModifyThreadGroup
static final RuntimePermission
permissionToExitVM
static final RuntimePermission
permissionToReadFileDescriptor
static final RuntimePermission
permissionToWriteFileDescriptor
static final RuntimePermission
permissionToQueuePrintJob
static final RuntimePermission
permissionToSetFactory
static final RuntimePermission
permissionToSetIO
static final RuntimePermission
permissionToStopThread
static final RuntimePermission
permissionToSetContextClassLoader
Constructors Summary
public RuntimePermission(String permissionName)
Creates an instance of {@code RuntimePermission} with the specified name.

param
permissionName the name of the new permission.
since
Android 1.0

 //$NON-NLS-1$

                                          
       
        super(permissionName);
    
public RuntimePermission(String name, String actions)
Creates an instance of {@code RuntimePermission} with the specified name and action list. The action list is ignored.

param
name the name of the new permission.
param
actions ignored.
since
Android 1.0

        super(name, actions);
    
Methods Summary