feat(android,interface): Implement video thumbnail generation

This commit is contained in:
PapaTutuWawa committed 2023-08-24 20:06:31 +02:00
1 parent fb71ac330a
commit fe6d0a60c1
12 files changed
+183 -2

No files matched your search

@@ -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);
}
}