CopilotOptions

Defines options for Copilot.

Parameters

shouldSendHistoryOnlyWithFeedback

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

maxHistoryFileLengthMillis

if a session takes longer than this value, the history file will be split into several parts

maxHistoryFilesPerSession

if there are more history files for a session than this value, only the last maxHistoryFilesPerSession files will be uploaded

maxTotalHistoryFilesSizePerSession

if the total size of history files exceeds this value, some of the first files will not be uploaded

shouldRecordFreeDriveHistories

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

shouldRecordRouteLineEvents

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

userId

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

Types

Link copied to clipboard
class Builder

Builder for CopilotOptions.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Regenerate whenever a change is made

Link copied to clipboard
open override fun hashCode(): Int

Regenerate whenever a change is made

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.