Builder

class Builder

Builder for CopilotOptions.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard

Limits duration of a history recording. If a trip takes longer than this value, the history file will be split into several parts. Default is Long.MAX_VALUE

Link copied to clipboard

Limits number of history files per session. If there are more history files for a session than this value, only the last maxHistoryFilesPerSession files will be uploaded. Default is Int.MAX_VALUE

Link copied to clipboard

Limits total size of history files per session. If the total size of history files exceeds this value, some of the first files will not be uploaded. Default is Long.MAX_VALUE

Link copied to clipboard

Defines if Copilot should record history files in Free Drive state. Default is true

Link copied to clipboard

Defines if Copilot should record route line related events that can be used for debugging purposes. Default is false

Link copied to clipboard

Defines if Copilot History files should be sent only when they include Feedback events. Default is false

Link copied to clipboard

User ID relevant for history recording context. If not provided, NavigationOptions.eventsAppMetadata.userId will be used