FlutterBackgroundVideoRecorderPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • FlutterBackgroundVideoRecorderPlatform
Implementers

Constructors

FlutterBackgroundVideoRecorderPlatform()
Constructs a FlutterBackgroundVideoRecorderPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
recorderState Stream<int>
  • Gets a stream of video recorder states.
  • Useful to query the state when updating the UI based on the state.
  • States are denoted by integer numbers
    • 1: Recording has started
    • 2: Recording has stopped
    • 3: Recorder is being initialized and about to start recording
    • 4: An exception has occurred in the recording service
  • no setter
    runtimeType Type
    A representation of the runtime type of the object.
    no setterinherited

    Methods

    getRecordingStatus() Future<int?>
    Get current state of video recorder Use to query the state for the first time after starting the service Once service starts, recording events can be called using recorderState getter
    noSuchMethod(Invocation invocation) → dynamic
    Invoked when a nonexistent method or property is accessed.
    inherited
    startVideoRecording({required String folderName, required CameraFacing cameraFacing, required String notificationTitle, required String notificationText, required bool showToast}) Future<bool?>
    Starts service and records video Must pass folder name, camera facing direction, notification title and notification text
    stopVideoRecording() Future<String?>
    toString() String
    A string representation of this object.
    inherited

    Operators

    operator ==(Object other) bool
    The equality operator.
    inherited

    Static Properties

    instance FlutterBackgroundVideoRecorderPlatform
    The default instance of FlutterBackgroundVideoRecorderPlatform to use.
    getter/setter pair