Skip to main content

UseAudioRecorderState

@siteed/expo-audio-streamDocs


@siteed/expo-audio-stream / UseAudioRecorderState

Interface: UseAudioRecorderState

Properties

analysisData?

optional analysisData: AudioAnalysis

Defined in

src/ExpoAudioStream.types.ts:186


durationMs

durationMs: number

Defined in

src/ExpoAudioStream.types.ts:184


isPaused

isPaused: boolean

Defined in

src/ExpoAudioStream.types.ts:183


isRecording

isRecording: boolean

Defined in

src/ExpoAudioStream.types.ts:182


pauseRecording()

pauseRecording: () => Promise<void>

Returns

Promise<void>

Defined in

src/ExpoAudioStream.types.ts:180


resumeRecording()

resumeRecording: () => Promise<void>

Returns

Promise<void>

Defined in

src/ExpoAudioStream.types.ts:181


size

size: number

Defined in

src/ExpoAudioStream.types.ts:185


startRecording()

startRecording: (_) => Promise<StartRecordingResult>

Parameters

_: RecordingConfig

Returns

Promise<StartRecordingResult>

Defined in

src/ExpoAudioStream.types.ts:178


stopRecording()

stopRecording: () => Promise<null | AudioRecording>

Returns

Promise<null | AudioRecording>

Defined in

src/ExpoAudioStream.types.ts:179