Since: API Level 1
public interface

PrivilegedAction

java.security.PrivilegedAction<T>

Class Overview

PrivilegedAction represents an action that can be executed privileged regarding access control. Instances of PrivilegedAction can be executed on AccessController.doPrivileged().

Summary

Public Methods
abstract T run()
Returns the result of running the action.

Public Methods

public abstract T run ()

Since: API Level 1

Returns the result of running the action.

Returns
  • the result of running the action.