Dashcam SDK 1.0.7
Captures, recognizes and records road aigns.
Loading...
Searching...
No Matches
Instance Methods | List of all members
<NMDCameraControllerDelegate> Protocol Reference

#import <NMDCameraControllerDelegate.h>

Inherits <NSObject>.

Instance Methods

(void) - willTakeSnapshot
 
(void) - didTakeSnapshot:
 
(void) - willStartRecording
 
(void) - didStartRecording
 
(void) - willStopRecording
 
(void) - didStopRecording:
 
(void) - didIterateRecordingCycle
 
(void) - didFailToIterateRecordingCycle:
 
(void) - cameraControllerStateChangedFromState:toState:
 

Method Documentation

◆ cameraControllerStateChangedFromState:toState:

- (void) cameraControllerStateChangedFromState: (NMDCameraControllerRecordingState fromState
toState: (NMDCameraControllerRecordingState toState 
optional

Notifies the delegate the camera controller recording state has changed.

Parameters
fromStatePrevious recroding state of the camera controller.
toStateNew 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
errorSpecified 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:

- (void) didStopRecording: (nonnull NMDLibraryItem *)  libraryItem
optional

Notifies the delegate the video recording has been stopped.

Parameters
libraryItemAn 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:

- (void) didTakeSnapshot: (nonnull NMDLibraryItem *)  libraryItem
optional

Notifies the delegate that snapshot has just been taken.

Parameters
libraryItemAn 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.