|
|
|
@ -41,7 +41,6 @@ class MethodChannelCameraAurora extends CameraAuroraPlatform {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// Camera |
|
|
|
|
@override |
|
|
|
|
Future<List<CameraDescription>> availableCameras() async { |
|
|
|
|
final List<CameraDescription> result = []; |
|
|
|
@ -100,7 +99,6 @@ class MethodChannelCameraAurora extends CameraAuroraPlatform {
|
|
|
|
|
.invokeMethod<Object?>(CameraAuroraMethods.dispose.name); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// Make Photo |
|
|
|
|
@override |
|
|
|
|
Future<XFile> takePicture(int cameraId) async { |
|
|
|
|
final image = await methodsChannel.invokeMethod<String?>( |
|
|
|
@ -116,7 +114,6 @@ class MethodChannelCameraAurora extends CameraAuroraPlatform {
|
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Record Video |
|
|
|
|
@override |
|
|
|
|
Future<void> startVideoRecording(int cameraId, |
|
|
|
|
{Duration? maxVideoDuration}) async { |
|
|
|
|