PhoneCallPollingOptions
PhoneCallPollingOptions =
object
Defined in: src/react/usePhoneCalls.ts:44
Properties
intervalMs?
optionalintervalMs:number
Defined in: src/react/usePhoneCalls.ts:48
Poll interval in milliseconds.
maxAttempts?
optionalmaxAttempts:number
Defined in: src/react/usePhoneCalls.ts:52
Maximum number of polling attempts before stopping.
onUpdate()?
optionalonUpdate: (call:HandlersPhoneCallResponse) =>void
Defined in: src/react/usePhoneCalls.ts:60
Optional callback after each successful poll response.
Parameters
| Parameter | Type |
|---|---|
|
|
Returns
void
stopWhenCompleted?
optionalstopWhenCompleted:boolean
Defined in: src/react/usePhoneCalls.ts:56
Stop automatically when the call reaches a terminal state.
Last updated on