Wocart

@wocart/storefront v3.1.0


@wocart/storefront / review-media / VoiceRecorderOptions

Interface: VoiceRecorderOptions

Properties

maxSeconds

maxSeconds: number

Stops by itself after this many seconds (the store's limit).


onLimit?

optional onLimit?: (voice) => void

When it stopped by itself at the limit.

Parameters

voice

RecordedVoice

Returns

void


onTick?

optional onTick?: (elapsedMs) => void

About every 250 ms while recording, with the time recorded so far.

Parameters

elapsedMs

number

Returns

void