RequestPermissionCallable
Note: This library does not have Kotlin reference docs, but you can
call the Java API from Kotlin source code. To learn more, see Kotlin's
interop documentation .
public
abstract
class
RequestPermissionCallable
extends Object
implements
Callable <RequestPermissionCallable.Result >
Base class for runtime permission Callable
s.
Note: This class is visible only for testing. Please do not use it directly.
Summary
Nested classes
enum
RequestPermissionCallable.Result
Result of a permission request.
Inherited methods
From class
java.lang.Object
Object
clone()
boolean
equals(Object arg0)
void
finalize()
final
Class <?>
getClass()
int
hashCode()
final
void
notify()
final
void
notifyAll()
String
toString()
final
void
wait(long arg0, int arg1)
final
void
wait(long arg0)
final
void
wait()
Public constructors
RequestPermissionCallable
public RequestPermissionCallable (ShellCommand shellCommand,
Context targetContext,
String permission)
Parameters
shellCommand
ShellCommand
targetContext
Context
permission
String
Public methods
equals
public boolean equals (Object o)
hashCode
public int hashCode ()
Protected methods
getPermission
protected String getPermission ()
isPermissionGranted
protected boolean isPermissionGranted ()
Content and code samples on this page are subject to the licenses described in the Content License . Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-07-14 UTC.
[]
[]