Viam class abstract

An object to interact with the Viam app

Constructors

Viam()

Properties

appClient → AppClient
A client to communicate with Viam's app service
no setter
billingClient → BillingClient
A client to communicate with Viam's billing services
no setter
dataClient → DataClient
A client to communicate with Viam's data and data sync services
no setter
hashCode int
The hash code for this object.
no setterinherited
provisioningClient ProvisioningClient
A client to communicate with Viam's data and data sync services
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getRobotClient(Robot robot) Future<RobotClient>
Get a RobotClient connected to the provided Robot
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

Static Methods

withAccessToken(String accessToken, {String serviceHost = 'app.viam.com', int servicePort = 443}) Viam
Create an authenticated Viam instance with the provided accessToken
withApiKey(String apiKeyId, String apiKey, {String serviceHost = 'app.viam.com'}) Future<Viam>