Viam SDK topic

Viam SDK

Smart machines on smart devices.

Libraries

viam_sdk Viam SDK
Robots at your fingertips.

Classes

AppRobotClient Viam SDK
gRPC client for connecting to app's RobotService.
AppRobotClient Viam SDK
gRPC client for connecting to app's RobotService.
AuthenticatedChannel Viam SDK
A channel that attaches an access token to gRPC metadata for every call
AuthenticatedChannel Viam SDK
A channel that attaches an access token to gRPC metadata for every call
Credentials Viam SDK
The credentials used for connecting to the robot
Credentials Viam SDK
The credentials used for connecting to the robot
DialOptions Viam SDK
Describes the behavior for connecting to a robot
DialOptions Viam SDK
Describes the behavior for connecting to a robot
DialWebRtcOptions Viam SDK
Options specific for connecting over WebRTC
DialWebRtcOptions Viam SDK
Options specific for connecting over WebRTC
Discovery Viam SDK
Represents the result of a discovery query.
Discovery Viam SDK
Represents the result of a discovery query.
DiscoveryQuery Viam SDK
Represents a discovery query in the SDK to query for discoverable components.
DiscoveryQuery Viam SDK
Represents a discovery query in the SDK to query for discoverable components.
MimeType Viam SDK
Mime types supported by Viam
MimeType Viam SDK
Mime types supported by Viam
Position Viam SDK
Position Viam SDK
PowerState Viam SDK
PowerState Viam SDK
ProvisioningClient Viam SDK
gRPC client for connecting to Viam's Provisioning Service
ProvisioningClient Viam SDK
gRPC client for connecting to Viam's Provisioning Service
Registry Viam SDK
The global registry of robot resources.
Registry Viam SDK
The global registry of robot resources.
Resource Viam SDK
Abstract class that defines the base functionality for all Resource types
Resource Viam SDK
Abstract class that defines the base functionality for all Resource types
ResourceRegistration<T extends Resource> Viam SDK
An object representing a resource to be registered.
ResourceRegistration<T extends Resource> Viam SDK
An object representing a resource to be registered.
ResourceRPCClient<T extends Client> Viam SDK
Abstract class that defines the base functionality for all RPC clients for resources
ResourceRPCClient<T extends Client> Viam SDK
Abstract class that defines the base functionality for all RPC clients for resources
RobotClient Viam SDK
gRPC client for a Robot. This class should be used for all interactions with a robot.
RobotClient Viam SDK
gRPC client for a Robot. This class should be used for all interactions with a robot.
RobotClientOptions Viam SDK
The options that define the behavior of the RobotClient.
RobotClientOptions Viam SDK
The options that define the behavior of the RobotClient.
StreamClient Viam SDK
A client to manage a camera's WebRTC stream.
StreamClient Viam SDK
A client to manage a camera's WebRTC stream.
Subtype Viam SDK
Subtype defines a triplet of strings that correspond to a resource's specific API definition.
Subtype Viam SDK
Subtype defines a triplet of strings that correspond to a resource's specific API definition.
Viam Viam SDK
An object to interact with the Viam app
Viam Viam SDK
An object to interact with the Viam app
ViamAuthorization Viam SDK
ViamAuthorization Viam SDK
ViamImage Viam SDK
A custom image type that contains the MimeTYpe, raw image data, and lazily loads and caches an img.Image.
ViamImage Viam SDK
A custom image type that contains the MimeTYpe, raw image data, and lazily loads and caches an img.Image.

Constants

resourceNamespaceRDK → const String Viam SDK
{@category Viam SDK} The standard namespace for Viam resources (rdk)
resourceNamespaceRDK → const String Viam SDK
{@category Viam SDK} The standard namespace for Viam resources (rdk)
resourceTypeComponent → const String Viam SDK
{@category Viam SDK} The standard type for component resources (component)
resourceTypeComponent → const String Viam SDK
{@category Viam SDK} The standard type for component resources (component)
resourceTypeService → const String Viam SDK
{@category Viam SDK} The standard type for service resources (service)
resourceTypeService → const String Viam SDK
{@category Viam SDK} The standard type for service resources (service)

Functions

dial(String address, DialOptions? options, String sessionCallback()) Future<ClientChannelBase> Viam SDK
Connect to a robot at the provided address with the given options
dial(String address, DialOptions? options, String sessionCallback()) Future<ClientChannelBase> Viam SDK
Connect to a robot at the provided address with the given options