feat(android,interface): Implement video thumbnail generation

This commit is contained in:
2023-08-24 20:06:31 +02:00
parent fb71ac330a
commit fe6d0a60c1
12 changed files with 183 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
import 'package:moxplatform/moxplatform.dart';
import 'package:moxplatform_platform_interface/moxplatform_platform_interface.dart';
class AndroidPlatformImplementation extends PlatformImplementation {
@@ -20,4 +21,10 @@ class AndroidPlatformImplementation extends PlatformImplementation {
Future<void> openBatteryOptimisationSettings() {
return MoxplatformInterface.api.openBatteryOptimisationSettings();
}
@override
Future<bool> generateVideoThumbnail(
String src, String dest, int width) async {
return MoxplatformInterface.api.generateVideoThumbnail(src, dest, width);
}
}