This repository has been archived on 2023-09-08. You can view files and clone it, but cannot push or open issues or pull requests.
moxplatform/src/moxplatform_android/lib/moxplatform_android.dart

16 lines
603 B
Dart
Raw Normal View History

2022-04-28 13:33:42 +00:00
import "package:moxplatform_android/isolate_android.dart";
import "package:moxplatform_android/media_android.dart";
import "package:moxplatform_platform_interface/moxplatform_platform_interface.dart";
class MoxplatformAndroidPlugin extends MoxplatformInterface {
static void registerWith() {
print("========================================================================================");
MoxplatformInterface.handler = AndroidIsolateHandler();
MoxplatformInterface.media = AndroidMediaScannerImplementation();
}
@override
Future<String> getPlatformName() async => "Android";
}