Skip to Content
Anuma SDKReactInternalType AliasesPhoneCallPollingOptions

PhoneCallPollingOptions

PhoneCallPollingOptions = object

Defined in: src/react/usePhoneCalls.ts:44 

Properties

intervalMs?

optional intervalMs: number

Defined in: src/react/usePhoneCalls.ts:48 

Poll interval in milliseconds.


maxAttempts?

optional maxAttempts: number

Defined in: src/react/usePhoneCalls.ts:52 

Maximum number of polling attempts before stopping.


onUpdate()?

optional onUpdate: (call: HandlersPhoneCallResponse) => void

Defined in: src/react/usePhoneCalls.ts:60 

Optional callback after each successful poll response.

Parameters

ParameterType

call

HandlersPhoneCallResponse

Returns

void


stopWhenCompleted?

optional stopWhenCompleted: boolean

Defined in: src/react/usePhoneCalls.ts:56 

Stop automatically when the call reaches a terminal state.

Last updated on