Skip to main content

Interface: TelnyxVoiceAppOptions

Defined in: telnyx-voice-app.tsx:11

Configuration options for TelnyxVoiceApp

Extended by ​

Properties ​

voipClient ​

voipClient: TelnyxVoipClient

Defined in: telnyx-voice-app.tsx:13

The TelnyxVoipClient instance to manage


onPushNotificationProcessingStarted()? ​

optional onPushNotificationProcessingStarted: () => void

Defined in: telnyx-voice-app.tsx:16

Optional callback when push notification processing starts

Returns ​

void


onPushNotificationProcessingCompleted()? ​

optional onPushNotificationProcessingCompleted: () => void

Defined in: telnyx-voice-app.tsx:19

Optional callback when push notification processing completes

Returns ​

void


onAppStateChanged()? ​

optional onAppStateChanged: (state) => void

Defined in: telnyx-voice-app.tsx:22

Optional callback for additional background/foreground handling

Parameters ​

state ​

AppStateStatus

Returns ​

void


enableAutoReconnect? ​

optional enableAutoReconnect: boolean

Defined in: telnyx-voice-app.tsx:25

Whether to enable automatic login/reconnection (default: true)


skipWebBackgroundDetection? ​

optional skipWebBackgroundDetection: boolean

Defined in: telnyx-voice-app.tsx:28

Whether to skip web platform for background detection (default: true)


debug? ​

optional debug: boolean

Defined in: telnyx-voice-app.tsx:31

Enable debug logging. Default: false