CameraMacOSController class
Constructors
Properties
- args ↔ CameraMacOSArguments
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDestroyed → bool
-
Getter that checks if a camera instance has been destroyed or not initiliazed yet.
no setter
- isRecording → bool
-
Getter that checks if a video is currently recording
no setter
- isStreamingImageData → bool
-
Getter that checks if the image stream is running
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
destroy(
) → Future< bool?> - Destroy the camera instance
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recordVideo(
{double? maxVideoDuration, String? url, bool? enableAudio, dynamic onVideoRecordingFinished(CameraMacOSFile?, CameraMacOSException?)?}) → Future< bool?> - Call this method to start a video recording.
-
setFocusPoint(
Offset point) → Future< void> - Set a new focus point in the image
-
setOrientation(
CameraOrientation orientation) → Future< void> -
setVideoMirrored(
bool isVideoMirrored) → Future< void> -
setZoomLevel(
double zoom) → Future< void> -
startImageStream(
void onAvailable(CameraImageData?), {void onError(dynamic)?}) → Future< void> - Stream current argb image
-
stopImageStream(
) → Future< void> - Stop the image from streaming
-
stopRecording(
) → Future< CameraMacOSFile?> - Call this method to stop video recording and collect the video data.
-
takePicture(
) → Future< CameraMacOSFile?> - Call this method to take a picture.
-
toggleTorch(
Torch torch) → Future< void> - Turn light on
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited