RecordParams():setDelay()
Set how long to wait before the recording starts playing.
Signature
setDelay(ms: number): RecordParams
Parameters
| Parameter | Type | Description |
|---|---|---|
| ms | number | Delay in milliseconds; default 3000 |
Returns
RecordParams, so calls chain.
Description
A dialog recording keeps its own recorded pauses unless this delay is set. Set it when the gesture needs time for a screen or an app to settle first.