@wocart/storefront / review-media / VoiceRecorderOptions
Interface: VoiceRecorderOptions
Properties
maxSeconds
maxSeconds:
number
Stops by itself after this many seconds (the store's limit).
onLimit?
optionalonLimit?: (voice) =>void
When it stopped by itself at the limit.
Parameters
voice
Returns
void
onTick?
optionalonTick?: (elapsedMs) =>void
About every 250 ms while recording, with the time recorded so far.
Parameters
elapsedMs
number
Returns
void