feat(android,interface): Implement video thumbnail generation
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user