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.
Callback which shares the history that has been saved