Package io.redvox.apis
Interface RedvoxApiM.RedvoxPacketM.TimingInformationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RedvoxApiM.RedvoxPacketM.TimingInformation,RedvoxApiM.RedvoxPacketM.TimingInformation.Builder
- Enclosing class:
- RedvoxApiM.RedvoxPacketM
public static interface RedvoxApiM.RedvoxPacketM.TimingInformationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) A map from string to string for including untyped metadatadoubleThe start of the app as machine timefloatThe best latency as determined from the synch params in microsecondsfloatThe best offset as determined from the synch params in microsecondsDeprecated.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 metadatadoubleEnd timestamp of the packet using machine time (corresponding to the last audio sample)doubleEnd timestamp of the packet using the os clock (corresponding to the last audio sample)doubleStart timestamp of the packet using machine time (corresponding to the first audio sample)doubleStart timestamp of the packet using the os clock (corresponding to first audio sample)floatgetScore()The overall timing scoreMethod used to provide scoreintMethod used to provide scoredoubleTimestamp that the packet arrived at the acquisition servergetSynchExchanges(int index) An array of synchronization params from the synch serverintAn array of synchronization params from the synch serverAn array of synchronization params from the synch servergetSynchExchangesOrBuilder(int index) An array of synchronization params from the synch serverAn array of synchronization params from the synch servergetUnit()A unit describing the time (should always be MICROSECONDS_SINCE_UNIX_EPOCH)intA unit describing the time (should always be MICROSECONDS_SINCE_UNIX_EPOCH)Methods 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
-
getPacketStartOsTimestamp
double getPacketStartOsTimestamp()Start timestamp of the packet using the os clock (corresponding to first audio sample)
double packet_start_os_timestamp = 1;- Returns:
- The packetStartOsTimestamp.
-
getPacketStartMachTimestamp
double getPacketStartMachTimestamp()Start timestamp of the packet using machine time (corresponding to the first audio sample)
double packet_start_mach_timestamp = 2;- Returns:
- The packetStartMachTimestamp.
-
getPacketEndOsTimestamp
double getPacketEndOsTimestamp()End timestamp of the packet using the os clock (corresponding to the last audio sample)
double packet_end_os_timestamp = 3;- Returns:
- The packetEndOsTimestamp.
-
getPacketEndMachTimestamp
double getPacketEndMachTimestamp()End timestamp of the packet using machine time (corresponding to the last audio sample)
double packet_end_mach_timestamp = 4;- Returns:
- The packetEndMachTimestamp.
-
getServerAcquisitionArrivalTimestamp
double getServerAcquisitionArrivalTimestamp()Timestamp that the packet arrived at the acquisition server
double server_acquisition_arrival_timestamp = 5;- Returns:
- The serverAcquisitionArrivalTimestamp.
-
getAppStartMachTimestamp
double getAppStartMachTimestamp()The start of the app as machine time
double app_start_mach_timestamp = 6;- Returns:
- The appStartMachTimestamp.
-
getSynchExchangesList
List<RedvoxApiM.RedvoxPacketM.TimingInformation.SynchExchange> getSynchExchangesList()An array of synchronization params from the synch server
repeated .redvox_api_m.RedvoxPacketM.TimingInformation.SynchExchange synch_exchanges = 7; -
getSynchExchanges
An array of synchronization params from the synch server
repeated .redvox_api_m.RedvoxPacketM.TimingInformation.SynchExchange synch_exchanges = 7; -
getSynchExchangesCount
int getSynchExchangesCount()An array of synchronization params from the synch server
repeated .redvox_api_m.RedvoxPacketM.TimingInformation.SynchExchange synch_exchanges = 7; -
getSynchExchangesOrBuilderList
List<? extends RedvoxApiM.RedvoxPacketM.TimingInformation.SynchExchangeOrBuilder> getSynchExchangesOrBuilderList()An array of synchronization params from the synch server
repeated .redvox_api_m.RedvoxPacketM.TimingInformation.SynchExchange synch_exchanges = 7; -
getSynchExchangesOrBuilder
RedvoxApiM.RedvoxPacketM.TimingInformation.SynchExchangeOrBuilder getSynchExchangesOrBuilder(int index) An array of synchronization params from the synch server
repeated .redvox_api_m.RedvoxPacketM.TimingInformation.SynchExchange synch_exchanges = 7; -
getBestLatency
float getBestLatency()The best latency as determined from the synch params in microseconds
float best_latency = 8;- Returns:
- The bestLatency.
-
getBestOffset
float getBestOffset()The best offset as determined from the synch params in microseconds
float best_offset = 9;- Returns:
- The bestOffset.
-
getScore
float getScore()The overall timing score
float score = 10;- Returns:
- The score.
-
getScoreMethodValue
int getScoreMethodValue()Method used to provide score
.redvox_api_m.RedvoxPacketM.TimingInformation.TimingScoreMethod score_method = 11;- Returns:
- The enum numeric value on the wire for scoreMethod.
-
getScoreMethod
RedvoxApiM.RedvoxPacketM.TimingInformation.TimingScoreMethod getScoreMethod()Method used to provide score
.redvox_api_m.RedvoxPacketM.TimingInformation.TimingScoreMethod score_method = 11;- Returns:
- The scoreMethod.
-
getUnitValue
int getUnitValue()A unit describing the time (should always be MICROSECONDS_SINCE_UNIX_EPOCH)
.redvox_api_m.RedvoxPacketM.Unit unit = 12;- Returns:
- The enum numeric value on the wire for unit.
-
getUnit
RedvoxApiM.RedvoxPacketM.Unit getUnit()A unit describing the time (should always be MICROSECONDS_SINCE_UNIX_EPOCH)
.redvox_api_m.RedvoxPacketM.Unit unit = 12;- Returns:
- The unit.
-
getMetadataCount
int getMetadataCount()A map from string to string for including untyped metadata
map<string, string> metadata = 13; -
containsMetadata
A map from string to string for including untyped metadata
map<string, string> metadata = 13; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
A map from string to string for including untyped metadata
map<string, string> metadata = 13; -
getMetadataOrDefault
A map from string to string for including untyped metadata
map<string, string> metadata = 13; -
getMetadataOrThrow
A map from string to string for including untyped metadata
map<string, string> metadata = 13;
-