Skip to main content
Version: 0.2.1

Module: audio/AudioModule

Interfaces

Variables

AudioUtil

Const AudioUtil: Object

Type declaration

NameType
fromBundle(path: number) => Promise<Audio>
fromFile(filePath: string) => Promise<Audio>
isRecording() => Promise<boolean>
startRecord() => void
stopRecord() => Promise<null | Audio>
toFile(audio: Audio) => Promise<string>

Functions

wrapRef

Const wrapRef(ref): Audio

Parameters

NameType
refNativeJSRef

Returns

Audio