Interface SoundAnnotationConfiguration
-
- All Implemented Interfaces:
-
com.pspdfkit.annotations.configuration.AnnotationConfiguration
public interface SoundAnnotationConfiguration implements AnnotationConfiguration
Configuration for sound annotations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
SoundAnnotationConfiguration.Builder
Interface for configuration builder. Use builder to get an instance implementing this interface.
-
Method Summary
Modifier and Type Method Description static SoundAnnotationConfiguration.Builder
builder()
Creates a new instance of sound annotation configuration builder. abstract int
getAudioRecordingTimeLimit()
Audio recording time limit. abstract int
getRecordingSampleRate()
Audio recording sample rate. -
-
Method Detail
-
builder
@NonNull() static SoundAnnotationConfiguration.Builder builder()
Creates a new instance of sound annotation configuration builder.
- Returns:
Implementation of Builder.
-
getAudioRecordingTimeLimit
@IntRange(from = 1) abstract int getAudioRecordingTimeLimit()
Audio recording time limit. Recording automatically stops after this limit to ensure that you never run out of memory.
- Returns:
Recording time limit in milliseconds.
-
getRecordingSampleRate
@IntRange(from = 8000) abstract int getRecordingSampleRate()
Audio recording sample rate.
- Returns:
Audio recording sample rate, in samples per second.
-
-
-
-