NowVoiceUIConfiguration structure - iOS
Specifies presentation options for the voice agent UI.
NowVoiceUIConfiguration - init(hidesPostCallTranscript: Bool, shouldBlockTranscriptSharing: Bool)
Creates a NowVoiceUIConfiguration instance with the specified presentation options.
| Name | Type | Description |
|---|---|---|
| hidesPostCallTranscript | Boolean | Optional. Flag that indicates whether the post-call transcript summary screen is displayed or hidden when the session ends. Valid values:
Default: False |
| shouldBlockTranscriptSharing | Boolean | Optional. Flag that indicates whether the Share button is displayed or hidden on the transcript screen. Valid values:
Default: False |
The following code example shows how to create an instance of NowVoiceUIConfiguration.
let uiConfiguration = NowVoiceUIConfiguration(
hidesPostCallTranscript: true,
shouldBlockTranscriptSharing: true
)