2023-09-08 19:41:10 +00:00
|
|
|
import 'package:pigeon/pigeon.dart';
|
|
|
|
|
|
|
|
@ConfigurePigeon(
|
|
|
|
PigeonOptions(
|
|
|
|
dartOut: 'lib/pigeon/media.g.dart',
|
2023-09-08 19:44:37 +00:00
|
|
|
kotlinOut:
|
|
|
|
'android/src/main/kotlin/org/moxxy/moxxy_native/media/MediaApi.kt',
|
2023-09-08 19:41:10 +00:00
|
|
|
kotlinOptions: KotlinOptions(
|
|
|
|
package: 'org.moxxy.moxxy_native.media',
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
@HostApi()
|
|
|
|
abstract class MoxxyMediaApi {
|
|
|
|
bool generateVideoThumbnail(String src, String dest, int maxWidth);
|
|
|
|
}
|