{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

RequestPermissionCallable

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

RequestPermissionCallable.Result

Result of a permission request.

Public constructors

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

Public functions

Boolean
equals(o: Any!)
Int

Inherited functions

From class 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