本文整理汇总了Java中permissions.dispatcher.PermissionRequest.proceed方法的典型用法代码示例。如果您正苦于以下问题:Java PermissionRequest.proceed方法的具体用法?Java PermissionRequest.proceed怎么用?Java PermissionRequest.proceed使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类permissions.dispatcher.PermissionRequest
的用法示例。
在下文中一共展示了PermissionRequest.proceed方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: showRationaleForCamera
import permissions.dispatcher.PermissionRequest; //导入方法依赖的package包/类
@OnShowRationale({ Manifest.permission.CAMERA }) void showRationaleForCamera(
PermissionRequest request) {
request.proceed();
}
示例2: showRationaleForMediaSelect
import permissions.dispatcher.PermissionRequest; //导入方法依赖的package包/类
@OnShowRationale({ Manifest.permission.CAMERA, Manifest.permission.WRITE_EXTERNAL_STORAGE })
void showRationaleForMediaSelect(PermissionRequest request) {
request.proceed();
}
示例3: showRationaleForWriteStorage
import permissions.dispatcher.PermissionRequest; //导入方法依赖的package包/类
@OnShowRationale({ Manifest.permission.WRITE_EXTERNAL_STORAGE })
void showRationaleForWriteStorage(PermissionRequest request) {
request.proceed();
}
示例4: showRationaleForReadPhone
import permissions.dispatcher.PermissionRequest; //导入方法依赖的package包/类
@OnShowRationale({ Manifest.permission.READ_PHONE_STATE }) void showRationaleForReadPhone(
PermissionRequest request) {
request.proceed();
}
示例5: showRationaleForCamera
import permissions.dispatcher.PermissionRequest; //导入方法依赖的package包/类
@OnShowRationale(Manifest.permission.CAMERA)
protected void showRationaleForCamera(PermissionRequest request) {
Toast.makeText(getContext(), "OnShowRationale for camera in fragment", Toast.LENGTH_SHORT).show();
request.proceed();
}
开发者ID:permissions-dispatcher,项目名称:AndroidAnnotationsPermissionsDispatcherPlugin,代码行数:6,代码来源:MainFragment.java
示例6: showRationaleForCamera
import permissions.dispatcher.PermissionRequest; //导入方法依赖的package包/类
@OnShowRationale(Manifest.permission.CAMERA)
protected void showRationaleForCamera(PermissionRequest request) {
Toast.makeText(this, "OnShowRationale for camera", Toast.LENGTH_SHORT).show();
request.proceed();
}
开发者ID:permissions-dispatcher,项目名称:AndroidAnnotationsPermissionsDispatcherPlugin,代码行数:6,代码来源:MainActivity.java
示例7: showRationaleForStorage
import permissions.dispatcher.PermissionRequest; //导入方法依赖的package包/类
@OnShowRationale({Manifest.permission.WRITE_EXTERNAL_STORAGE, Manifest.permission.READ_EXTERNAL_STORAGE})
void showRationaleForStorage(final PermissionRequest request) {
showToastMessage(this, "需要存储权限来记录运行时日志");
request.proceed();
}