RobotClientOptions class Viam SDK

The options that define the behavior of the RobotClient.

Constructors

RobotClientOptions()
RobotClientOptions.withApiKey(String apiKeyID, String apiKey)
RobotClientOptions.withDialOptions(DialOptions dialOptions)
Convenience initializer for creating options with specified DialOptions
RobotClientOptions.withLocationSecret(String locationSecret)
Convenience initializer for creating options with a robot location secret

Properties

attemptReconnectInterval int
The frequency (in seconds) at which to attempt to reconnect a disconnected robot. 0 (zero) signifies no reconnection attempts
getter/setter pair
checkConnectionInterval int
The frequency (in seconds) at which to check if the robot is still connected. 0 (zero) signifies no connection checks
getter/setter pair
dialOptions DialOptions
Options for connecting to the robot
getter/setter pair
enableSessions bool
Whether sessions are enabled
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
logLevel Level
The log level desired
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited