Streaming

class Streaming(    val chunkId: Int,     val byteArray: ByteArray,     val bytesRead: Int) : Microphone.State

The microphone is currently streaming audio. Collectively, the streaming states can be concatenated to form an audio file. The consumer of the audio data is able to process this audio data in real-time.

Parameters

chunkId

unique number for each chunk of audio.

byteArray

An array containing the audio data.

bytesRead

the number of bytes the buffer contains of unique audio.

Constructors

Link copied to clipboard
fun Streaming(    chunkId: Int,     byteArray: ByteArray,     bytesRead: Int)

Functions

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val byteArray: ByteArray
Link copied to clipboard
val bytesRead: Int
Link copied to clipboard
val chunkId: Int