FileDocCategorySizeDatePackage
PermissionCallback.javaAPI DocphoneME MR2 API (J2ME)1853Wed May 02 18:00:00 BST 2007com.sun.midp.push.gcf

PermissionCallback

public interface PermissionCallback
Permission checking abstraction.

Fields Summary
Constructors Summary
Methods Summary
public voidcheckForPermission(java.lang.String permissionName, java.lang.String resource, java.lang.String extraValue)
Checks for permission and throws an exception if not allowed.

May block to ask the user a question.

param
permissionName unique name of the permission to check for, cannot be null
param
resource string to insert into the question, can be null
param
extraValue string to insert into the question, can be null
exception
SecurityException if the permission is not allowed