Package com.viam.component.audioinput.v1
Interface AudioInputServiceGrpc.AsyncService
- All Known Implementing Classes:
AudioInputServiceGrpc.AudioInputServiceImplBase
- Enclosing class:
- AudioInputServiceGrpc
public static interface AudioInputServiceGrpc.AsyncService
An AudioInputService services all audio inputs associated with a robot
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
chunks
(Audioinput.ChunksRequest request, io.grpc.stub.StreamObserver<Audioinput.ChunksResponse> responseObserver) Chunks returns audio chunks forever from an audio input of the underlying robot.default void
doCommand
(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commandsdefault void
getGeometries
(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) GetGeometries returns the geometries of the component in their current configurationdefault void
properties
(Audioinput.PropertiesRequest request, io.grpc.stub.StreamObserver<Audioinput.PropertiesResponse> responseObserver) Properties returns properties of an audio input of the underlying robot.default void
record
(Audioinput.RecordRequest request, io.grpc.stub.StreamObserver<HttpBody> responseObserver) Record records audio from an audio input of the underlying robot to an HTTP response.
-
Method Details
-
chunks
default void chunks(Audioinput.ChunksRequest request, io.grpc.stub.StreamObserver<Audioinput.ChunksResponse> responseObserver) Chunks returns audio chunks forever from an audio input of the underlying robot.
-
properties
default void properties(Audioinput.PropertiesRequest request, io.grpc.stub.StreamObserver<Audioinput.PropertiesResponse> responseObserver) Properties returns properties of an audio input of the underlying robot.
-
record
default void record(Audioinput.RecordRequest request, io.grpc.stub.StreamObserver<HttpBody> responseObserver) Record records audio from an audio input of the underlying robot to an HTTP response. A specific MIME type cannot be requested and may not necessarily be the same one returned each time.
-
doCommand
default void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commands
-
getGeometries
default void getGeometries(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) GetGeometries returns the geometries of the component in their current configuration
-