#import <NMDCameraControllerDelegate.h>
Inherits <NSObject>.
◆ cameraControllerStateChangedFromState:toState:
Notifies the delegate the camera controller recording state has changed.
- Parameters
-
fromState | Previous recroding state of the camera controller. |
toState | New recording state of the camera controller. |
◆ didFailToIterateRecordingCycle:
- (void) didFailToIterateRecordingCycle: |
|
(nonnull NSError *) |
error |
|
|
optional |
Notifies the delegate the video recording cycle has failed to iterate.
- Parameters
-
error | Specified the description of the issue. |
◆ didIterateRecordingCycle
- (void) didIterateRecordingCycle |
|
|
|
|
optional |
Notifies the delegate the video recording cycle has just been iterated, i.e. the previous video fragment reached the specified maximal length, so it was stopped and a new one has been started.
◆ didStartRecording
- (void) didStartRecording |
|
|
|
|
optional |
Notifies the delegate the video recording has started. This method is also called when video recording iterates, i.e. when the previous video fragment reached the specified maximal length and a new one has just started.
◆ didStopRecording:
Notifies the delegate the video recording has been stopped.
- Parameters
-
libraryItem | An object containing information about the video file just been recorded. This method is also called when video recording iterates, i.e. when the video being recorded has reached the specified maximal length, so a new video fragment should be started. |
◆ didTakeSnapshot:
Notifies the delegate that snapshot has just been taken.
- Parameters
-
libraryItem | An object containing information about the snapshot taken. |
◆ willStartRecording
- (void) willStartRecording |
|
|
|
|
optional |
Notifies the delegate the video recording is about to start. This method is also called when video recording iterates, i.e. when the previous video fragment reached the specified maximal length and a new one is about to start.
◆ willStopRecording
- (void) willStopRecording |
|
|
|
|
optional |
Notifies the delegate the video recording is about to stop. This method is also called when video recording iterates, i.e. when the video being recorded has reached the specified maximal length, so a new video fragment should be started.
◆ willTakeSnapshot
- (void) willTakeSnapshot |
|
|
|
|
optional |
Notifies the delegate that a snapshot is about to be taken.