Package com.viam.common.v1
Interface Common.GetPropertiesResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Common.GetPropertiesResponse,Common.GetPropertiesResponse.Builder
- Enclosing class:
- Common
public static interface Common.GetPropertiesResponseOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintMaximum number of audio channels supported (e.g., 1 for mono, 2 for stereo)intcurrent sample rate in HzgetSupportedCodecs(int index) List of audio codecs supported by the system (e.g., "mp3", "pcm16", "pcm32float")com.google.protobuf.ByteStringgetSupportedCodecsBytes(int index) List of audio codecs supported by the system (e.g., "mp3", "pcm16", "pcm32float")intList of audio codecs supported by the system (e.g., "mp3", "pcm16", "pcm32float")List of audio codecs supported by the system (e.g., "mp3", "pcm16", "pcm32float")Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getSupportedCodecsList
List of audio codecs supported by the system (e.g., "mp3", "pcm16", "pcm32float")
repeated string supported_codecs = 1 [json_name = "supportedCodecs"];- Returns:
- A list containing the supportedCodecs.
-
getSupportedCodecsCount
int getSupportedCodecsCount()List of audio codecs supported by the system (e.g., "mp3", "pcm16", "pcm32float")
repeated string supported_codecs = 1 [json_name = "supportedCodecs"];- Returns:
- The count of supportedCodecs.
-
getSupportedCodecs
List of audio codecs supported by the system (e.g., "mp3", "pcm16", "pcm32float")
repeated string supported_codecs = 1 [json_name = "supportedCodecs"];- Parameters:
index- The index of the element to return.- Returns:
- The supportedCodecs at the given index.
-
getSupportedCodecsBytes
com.google.protobuf.ByteString getSupportedCodecsBytes(int index) List of audio codecs supported by the system (e.g., "mp3", "pcm16", "pcm32float")
repeated string supported_codecs = 1 [json_name = "supportedCodecs"];- Parameters:
index- The index of the element to return.- Returns:
- The supportedCodecs at the given index.
-
getSampleRateHz
int getSampleRateHz()current sample rate in Hz
int32 sample_rate_hz = 2 [json_name = "sampleRateHz"];- Returns:
- The sampleRateHz.
-
getNumChannels
int getNumChannels()Maximum number of audio channels supported (e.g., 1 for mono, 2 for stereo)
int32 num_channels = 3 [json_name = "numChannels"];- Returns:
- The numChannels.
-