Callbacks and Delegates
Delegates
fullstoryDidStartSession (both variants) gets invoked once Fullstory has been fully initialized and has started the capture.
fullstoryDidStopSession gets invoked when capture has stopped (by backgrounding the app or calling FS.shutdown()).
The session may be resumed in the future.
fullstoryDidDisableSession gets invoked when the current session was disabled but may start the next time the app is foregrounded.
(This may be due to a connectivity issue or the org running out of sessions.)
It's passed an FSReason object with code and message fields.
fullstoryDidDisable gets invoked when the Fullstory SDK is disabled.
This may be due to an incompatible device or OS version, or because FullStory was not properly instrumented (e.g., missing configuration).
It's passed an FSReason object with code and message fields.
Because the message can be fired very early in the app's lifecycle, it will be buffered until a delegate is set.
fullstoryDidTerminateWithError gets invoked when Fullstory has been terminated due to an error.
fullstoryWillRetry gets invoked when a Fullstory network request is being retried.
It's passed an FSRetryReason object with fields for type, code, count, delay, and optionally sessionId and error.
fullstoryDidRemove gets invoked when a bundle upload is removed from the queue.
It's passed an FSRemovalReason object with fields for type, reason, and optionally sessionId and error.