NowVoiceUiConfiguration class - Android
Specifies presentation options for the voice agent UI.
NowVoiceUiConfiguration - NowVoiceUiConfiguration(hidePostCallTranscript: Boolean = false, shouldBlockAttachmentSharing: Boolean = false)
Creates a NowVoiceUiConfiguration instance with the specified presentation options.
| Name | Type | Description |
|---|---|---|
| hidePostCallTranscript | Boolean | Optional. Flag that indicates whether the post-call transcript summary screen is displayed or hidden when the session ends. Valid values:
Default: False |
| shouldBlockAttachmentSharing | 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.
val uiConfiguration = NowVoiceUiConfiguration(
hidePostCallTranscript = true,
shouldBlockAttachmentSharing = true
)