feat: Move over the media API

This commit is contained in:
2023-09-08 21:41:10 +02:00
parent f7218f57cb
commit 5dcfc7239a
10 changed files with 353 additions and 160 deletions

16
pigeon/media.dart Normal file
View File

@@ -0,0 +1,16 @@
import 'package:pigeon/pigeon.dart';
@ConfigurePigeon(
PigeonOptions(
dartOut: 'lib/pigeon/media.g.dart',
kotlinOut: 'android/src/main/kotlin/org/moxxy/moxxy_native/media/MediaApi.kt',
kotlinOptions: KotlinOptions(
package: 'org.moxxy.moxxy_native.media',
),
),
)
@HostApi()
abstract class MoxxyMediaApi {
bool generateVideoThumbnail(String src, String dest, int maxWidth);
}