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 |
checkPermission(perm: Permission!) |
static T |
doPrivileged(action: PrivilegedAction<T>!) Calls |
static T |
doPrivileged(action: PrivilegedAction<T>!, context: AccessControlContext!) Calls |
static T |
doPrivileged(action: PrivilegedExceptionAction<T>!) Calls |
static T |
doPrivileged(action: PrivilegedExceptionAction<T>!, context: AccessControlContext!) Calls |
static T |
doPrivilegedWithCombiner(action: PrivilegedAction<T>!) Calls |
static T |
doPrivilegedWithCombiner(action: PrivilegedExceptionAction<T>!) Calls |
static AccessControlContext! |
Public methods
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()
.