RequestPermissionCallable


@VisibleForTesting
@ExperimentalTestApi
abstract class RequestPermissionCallable : Callable


Base class for runtime permission Callables.

Note: This class is visible only for testing. Please do not use it directly.

Summary

Nested types

Result of a permission request.

Public constructors

RequestPermissionCallable(
    shellCommand: ShellCommand,
    targetContext: Context,
    permission: String!
)

Public functions

Boolean
equals(o: Any!)
Int

Protected functions

Boolean

Protected properties

String!
ShellCommand!

Inherited functions

From java.util.concurrent.Callable
abstract V!

Public constructors

RequestPermissionCallable

RequestPermissionCallable(
    shellCommand: ShellCommand,
    targetContext: Context,
    permission: String!
)

Public functions

equals

fun equals(o: Any!): Boolean

hashCode

fun hashCode(): Int

Protected functions

isPermissionGranted

protected fun isPermissionGranted(): Boolean

Protected properties

permission

protected val permissionString!

shellCommand

protected val shellCommandShellCommand!