Package io.redvox.apis
Interface RedvoxApiM.RedvoxPacketM.Sensors.CompressedAudioOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RedvoxApiM.RedvoxPacketM.Sensors.CompressedAudio,RedvoxApiM.RedvoxPacketM.Sensors.CompressedAudio.Builder
- Enclosing class:
- RedvoxApiM.RedvoxPacketM.Sensors
public static interface RedvoxApiM.RedvoxPacketM.Sensors.CompressedAudioOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) A map from string to string for including untyped metadatacom.google.protobuf.ByteStringBytes that make up audio payloadCodec used to compress audiointCodec used to compress audiodoubleMach timestamp of the first audio samplebooleanIf audio data has been scrambled to remove voiceDeprecated.intA map from string to string for including untyped metadataA map from string to string for including untyped metadatagetMetadataOrDefault(String key, String defaultValue) A map from string to string for including untyped metadatagetMetadataOrThrow(String key) A map from string to string for including untyped metadatafloatMicrophone sample rate in HzThe name or description of the audio sensorcom.google.protobuf.ByteStringThe name or description of the audio sensorMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSensorDescription
String getSensorDescription()The name or description of the audio sensor
string sensor_description = 1;- Returns:
- The sensorDescription.
-
getSensorDescriptionBytes
com.google.protobuf.ByteString getSensorDescriptionBytes()The name or description of the audio sensor
string sensor_description = 1;- Returns:
- The bytes for sensorDescription.
-
getFirstSampleTimestamp
double getFirstSampleTimestamp()Mach timestamp of the first audio sample
double first_sample_timestamp = 2;- Returns:
- The firstSampleTimestamp.
-
getSampleRate
float getSampleRate()Microphone sample rate in Hz
float sample_rate = 3;- Returns:
- The sampleRate.
-
getIsScrambled
boolean getIsScrambled()If audio data has been scrambled to remove voice
bool is_scrambled = 4;- Returns:
- The isScrambled.
-
getAudioBytes
com.google.protobuf.ByteString getAudioBytes()Bytes that make up audio payload
bytes audio_bytes = 5;- Returns:
- The audioBytes.
-
getAudioCodecValue
int getAudioCodecValue()Codec used to compress audio
.redvox_api_m.RedvoxPacketM.Sensors.CompressedAudio.AudioCodec audio_codec = 6;- Returns:
- The enum numeric value on the wire for audioCodec.
-
getAudioCodec
RedvoxApiM.RedvoxPacketM.Sensors.CompressedAudio.AudioCodec getAudioCodec()Codec used to compress audio
.redvox_api_m.RedvoxPacketM.Sensors.CompressedAudio.AudioCodec audio_codec = 6;- Returns:
- The audioCodec.
-
getMetadataCount
int getMetadataCount()A map from string to string for including untyped metadata
map<string, string> metadata = 7; -
containsMetadata
A map from string to string for including untyped metadata
map<string, string> metadata = 7; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
A map from string to string for including untyped metadata
map<string, string> metadata = 7; -
getMetadataOrDefault
A map from string to string for including untyped metadata
map<string, string> metadata = 7; -
getMetadataOrThrow
A map from string to string for including untyped metadata
map<string, string> metadata = 7;
-