[**@wocart/storefront v3.1.0**](../../README)

***

[@wocart/storefront](../../README) / [review-media](../README) / 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`](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`
