diff --git a/flutter_inappwebview_platform_interface/lib/src/types/permission_resource_type.g.dart b/flutter_inappwebview_platform_interface/lib/src/types/permission_resource_type.g.dart index 3a3a702ff0cc2b1a8cc6c48300ff9a8208fc4541..cc5ae9c0efc530eb93856df0108f28f304d755e8 100644 --- a/flutter_inappwebview_platform_interface/lib/src/types/permission_resource_type.g.dart +++ b/flutter_inappwebview_platform_interface/lib/src/types/permission_resource_type.g.dart @@ -96,6 +96,17 @@ class PermissionResourceType { return null; }); + static final TYPE_AUDIO_CAPTURE = + PermissionResourceType._internalMultiPlatform('TYPE_AUDIO_CAPTURE', () { + switch (defaultTargetPlatform) { + case TargetPlatform.ohos: + return 'TYPE_AUDIO_CAPTURE'; + default: + break; + } + return null; + }); + ///Resource will allow sysex messages to be sent to or received from MIDI devices. ///These messages are privileged operations, e.g. modifying sound libraries and sampling data, or even updating the MIDI device's firmware. ///Permission may be requested for this resource in API levels 21 and above, if the Android device has been updated to WebView 45 or above. @@ -134,6 +145,7 @@ class PermissionResourceType { PermissionResourceType.CAMERA_AND_MICROPHONE, PermissionResourceType.DEVICE_ORIENTATION_AND_MOTION, PermissionResourceType.MICROPHONE, + PermissionResourceType.TYPE_AUDIO_CAPTURE, PermissionResourceType.MIDI_SYSEX, PermissionResourceType.PROTECTED_MEDIA_ID, ].toSet();