Added in API level 1

AccessController

class AccessController
kotlin.Any
   ↳ java.security.AccessController

Android doesn't support SecurityManager. Do not use this class.

Summary

Public methods
static Unit

static T

Calls action.run().

static T

Calls action.run().

static T

Calls action.run().

static T

Calls action.run().

static T

Calls action.run().

static T

Calls action.run().

static AccessControlContext!

Public methods

checkPermission

Added in API level 1
static fun checkPermission(perm: Permission!): Unit

doPrivileged

Added in API level 1
static fun <T : Any!> doPrivileged(action: PrivilegedAction<T>!): T

Calls action.run().

doPrivileged

Added in API level 1
static fun <T : Any!> doPrivileged(
    action: PrivilegedAction<T>!,
    context: AccessControlContext!
): T

Calls action.run().

doPrivileged

Added in API level 1
static fun <T : Any!> doPrivileged(action: PrivilegedExceptionAction<T>!): T

Calls action.run().

doPrivileged

Added in API level 1
static fun <T : Any!> doPrivileged(
    action: PrivilegedExceptionAction<T>!,
    context: AccessControlContext!
): T

Calls action.run().

doPrivilegedWithCombiner

Added in API level 9
static fun <T : Any!> doPrivilegedWithCombiner(action: PrivilegedAction<T>!): T

Calls action.run().

doPrivilegedWithCombiner

Added in API level 9
static fun <T : Any!> doPrivilegedWithCombiner(action: PrivilegedExceptionAction<T>!): T

Calls action.run().

getContext

Added in API level 1
static fun getContext(): AccessControlContext!