CameraClient class Components

gRPC client for the Camera component

Inheritance
Implemented types
Mixed-in types

Constructors

CameraClient(String name, ClientChannelBase channel)

Properties

callOptions CallOptions
no setterinherited
channel ClientChannelBase
getter/setter pairoverride
client CameraServiceClient
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

disableDebugLogging() → void
Disable debug logging for gRPC calls by removing the trace key from the metadata.
inherited
doCommand(Map<String, dynamic> command) Future<Map<String, dynamic>>
Send/Receive arbitrary commands to the Resource
override
enableDebugLogging({String? traceKey}) → void
Enable debug logging for gRPC calls by setting a trace key in the metadata. If no trace key is provided, a random one will be generated.
inherited
image({MimeType? mimeType, Map<String, dynamic>? extra}) Future<ViamImage>
Get the next image from the camera.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pointCloud({Map<String, dynamic>? extra}) Future<ViamImage>
Get the next point cloud from the camera.
override
properties() Future<CameraProperties>
Get the camera's intrinsic parameters and the camera's distortion parameters.
override
toString() String
A string representation of this object.
inherited

Operators

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