AlgoliaAgent

algoliasearch.internal.AlgoliaAgent
See theAlgoliaAgent companion object
class AlgoliaAgent(clientVersion: String)

Handles Algolia agent segments.

An instance of this class maintains a set of [AgentSegment]s, and provides methods to add, remove, and format these segments.

Value parameters

clientVersion

client version

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Adds a new segment to the agent segments.

Adds a new segment to the agent segments.

Attributes

def addSegments(segments: Seq[AgentSegment]): AlgoliaAgent

Adds all segments to the agent segments

Adds all segments to the agent segments

Attributes

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any