Package-level declarations

Types

Link copied to clipboard
class DefaultStreamMediaRecorder(context: Context, audioSource: Int = MediaRecorder.AudioSource.MIC, outputFormat: Int = MediaRecorder.OutputFormat.MPEG_4, audioEncoder: Int = MediaRecorder.AudioEncoder.AAC, audioSamplingRate: Int = SAMPLING_RATE_16KHZ, audioEncodingBitRate: Int = ENCODING_BIT_RATE_32KBPS, audioChannels: Int = CHANNELS) : StreamMediaRecorder

The default implementation of StreamMediaRecorder, used as a wrapper around MediaRecorder simplifying working with it.

Link copied to clipboard

Represents the current state of the MediaRecorder.

Link copied to clipboard
data class RecordedMedia(val durationInMs: Int, val attachment: Attachment)
Link copied to clipboard

A media recording interface, designed to simplify using MediaRecorder.

Link copied to clipboard
class StreamMediaRecorderState(streamMediaRecorder: StreamMediaRecorder, what: Int, extra: Int)

Holds information about the current state of the MediaRecorder used by StreamMediaRecorder. The values correspond to the info and error values found inside MediaRecorder.