ProvisioningClient class

gRPC client for connecting to Viam's Provisioning Service

All calls must be authenticated.

Constructors

ProvisioningClient(ProvisioningServiceClient _client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getNetworkList() Future<Iterable<NetworkInfo>>
Get the networks that are visible to the Smart Machine.
getSmartMachineStatus() Future<GetSmartMachineStatusResponse>
Get the status of the Smart Machine
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setNetworkCredentials({NetworkType type = NetworkType.wifi, String? ssid, String? psk}) Future<void>
Set the network credentials of the smart machine, so it can connect to the internet.
setSmartMachineCredentials({required String id, required String secret, String appAddress = 'https://app.viam.com:443'}) Future<void>
Set the Viam credentials of the smart machine, so it can connect to the Cloud.
toString() String
A string representation of this object.
inherited

Operators

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