Stay organized with collections Save and categorize content based on your preferences.

RequestPermissionCallable

public abstract class RequestPermissionCallable implements Callable


Base class for runtime permission Callables.

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

Summary

Nested types

public enum RequestPermissionCallable.Result

Result of a permission request.

Public constructors

RequestPermissionCallable(
    ShellCommand shellCommand,
    Context targetContext,
    String permission
)

Public methods

boolean
int

Inherited methods

From java.util.concurrent.Callable
abstract V

Public constructors

RequestPermissionCallable

public RequestPermissionCallable(
    ShellCommand shellCommand,
    Context targetContext,
    String permission
)

Public methods

equals

public boolean equals(Object o)

hashCode

public int hashCode()