PowerSensorServiceBase class abstract

Annotations
  • @GrpcServiceName('viam.component.powersensor.v1.PowerSensorService')

Constructors

PowerSensorServiceBase()

Properties

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

Methods

$addMethod(ServiceMethod method) → void
inherited
$lookupMethod(String name) → ServiceMethod?
inherited
$onMetadata(ServiceCall context) → void
Client metadata handler.
inherited
doCommand(ServiceCall call, DoCommandRequest request) Future<DoCommandResponse>
doCommand_Pre(ServiceCall call, Future<DoCommandRequest> request) Future<DoCommandResponse>
getCurrent(ServiceCall call, GetCurrentRequest request) Future<GetCurrentResponse>
getCurrent_Pre(ServiceCall call, Future<GetCurrentRequest> request) Future<GetCurrentResponse>
getPower(ServiceCall call, GetPowerRequest request) Future<GetPowerResponse>
getPower_Pre(ServiceCall call, Future<GetPowerRequest> request) Future<GetPowerResponse>
getReadings(ServiceCall call, GetReadingsRequest request) Future<GetReadingsResponse>
getReadings_Pre(ServiceCall call, Future<GetReadingsRequest> request) Future<GetReadingsResponse>
getVoltage(ServiceCall call, GetVoltageRequest request) Future<GetVoltageResponse>
getVoltage_Pre(ServiceCall call, Future<GetVoltageRequest> request) Future<GetVoltageResponse>
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