PermissionRequestOption constructor
const
PermissionRequestOption({
- IosAccessLevel iosAccessLevel = IosAccessLevel.readWrite,
- AndroidPermission androidPermission = const AndroidPermission(type: RequestType.common, mediaLocation: false),
- List<
String> ohosPermissions = PMConstants.vDefaultOhosPermissions,
Implementation
const PermissionRequestOption({
this.iosAccessLevel = IosAccessLevel.readWrite,
this.androidPermission = const AndroidPermission(
type: RequestType.common,
mediaLocation: false,
),
this.ohosPermissions = PMConstants.vDefaultOhosPermissions,
});