Class Overview
Base class for runtime permission Callables.
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. |
Public Constructors
public
RequestPermissionCallable
(ShellCommand shellCommand, Context targetContext, String permission)
| Parameters |
shellCommand |
ShellCommand |
targetContext |
Context |
permission |
String |
Public Methods
public
boolean
equals
(Object o)
Protected Methods
protected
String
getPermission
()
protected
boolean
isPermissionGranted
()