onCameraCaptureStateChanged method

  1. @override
void onCameraCaptureStateChanged(
  1. MediaCaptureState? oldState,
  2. MediaCaptureState? newState
)
override

Event fired when a change in the camera capture state occurred.

NOTE for iOS: available only on iOS 15.0+.

NOTE for MacOS: available only on MacOS 12.0+.

Officially Supported Platforms/Implementations:

  • iOS
  • MacOS

Implementation

@override
void onCameraCaptureStateChanged(
    MediaCaptureState? oldState, MediaCaptureState? newState) {}