Example usage for Java android.support.v4.content PermissionChecker fields, constructors, methods, implement or subclass
The text is from its open source code.
int | PERMISSION_GRANTED Permission result: The permission is granted. |
int | PERMISSION_DENIED Permission result: The permission is denied. |
int | checkCallingOrSelfPermission(@NonNull Context context, @NonNull String permission) Checks whether the IPC you are handling or your app has a given permission and whether the app op that corresponds to this permission is allowed. |
int | checkSelfPermission(@NonNull Context context, @NonNull String permission) Checks whether your app has a given permission and whether the app op that corresponds to this permission is allowed. |