Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Prev Previous commit
Next Next commit
Update packages/camera/camera_platform_interface/lib/src/platform_int…
…erface/camera_platform.dart

Co-authored-by: Maurits van Beusekom <[email protected]>
  • Loading branch information
danielroek and mvanbeusekom authored Feb 5, 2021
commit f97a436041b667ad78434b0711a546b87626f5dd
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ abstract class CameraPlatform extends PlatformInterface {
/// The length of the recording can be limited by specifying the [maxVideoDuration].
/// By default no maximum duration is specified,
/// meaning the recording will continue until manually stopped.
/// With [maxVideoDuration] set the video is returned in a [VideoRecordedEvent]
/// in the [onVideoRecordedEvent] stream.
/// With [maxVideoDuration] set the video is returned as a [VideoRecordedEvent]
/// through the [onVideoRecordedEvent] stream when the set duration is reached.
Future<void> startVideoRecording(int cameraId, {Duration maxVideoDuration}) {
throw UnimplementedError('startVideoRecording() is not implemented.');
}
Expand Down