stopRecording

When called, history recording will be stopped and all records will be added to the file. The path to the file will be sent to the SaveHistoryCallback.onSaved interface. If history recording was not started, SaveHistoryCallback is called with a null file path. MapboxHistoryRecorder.startRecording can be called before the SaveHistoryCallback completes.

Parameters

result

Callback which shares the history that has been saved

See also

to read the events in the file.