---
sourceDocument: Referência de API do Brasil
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/api-reference

 Release :

    - brazil

ft:locale :

    - pt-BR

ft:publication_title :

    - Referência de API do Brasil

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Protocolo NowVoiceThemeable - iOS

# Protocolo NowVoiceThemeable - iOS {#ariaid-title1}

Versão de lançamento: Brazil  
Atualizado 10 de set. de 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura  
Define as cores a serem aplicadas aos elementos de IU do NowVoice.

Para corresponder a IU de voz à identidade visual do seu app, crie um tipo em conformidade com o NowVoiceThemeable e passe-o para [NowVoiceService - startVoice(endpoint:uiConfiguration:callbacks:theme:)](https://servicenow-prod.fluidtopics.net/RTK9OxI~_wt28ycLLYR55A#NVoiceServ-startVoice_O_O_O_O "Cria um UIViewController que contém a IU do agente de voz, pronta para ser apresentada em um modal.") ou [NowVoiceService - updateTheme(theme:)](https://servicenow-prod.fluidtopics.net/RTK9OxI~_wt28ycLLYR55A#NVoiceServ-updateTheme_O "Atualiza o tema visual da IU de voz ativa no momento.").  
{#NVoiceThemeableiOSProtocol__table_vx2_klw_nv4__entry__3}

| Nome | Tipo | Descrição |
|-|-|-|
| cor | [NowUIColoring](https://servicenow-prod.fluidtopics.net/Y8yND24e8nfczUq8I7ew5w "Use o NowUIColoring para criar temas com o NowWebThemeable, o NowChatThemeable e o NowVoiceThemeable. A interface do NowUIColoring contém todas as cores usadas por todos os módulos do NowSDK.") | Cores a serem aplicadas aos elementos de IU do NowVoice. |
[Tabela 1. Propriedades]

{#NVoiceThemeableiOSProtocol__table_vx2_klw_nv4}  
Este exemplo mostra como aplicar cores personalizadas do app à IU de voz.

    import NowVoice

    let instanceUrl = URL(string: "https://your-instance.service-now.com")!

    do {
        let voiceService = try await NowVoice.makeVoiceService(instanceUrl: instanceUrl)
    } catch {
        // Handle NowServiceError (see Error reference below)
        print("Failed to create voice service: \(error)")
    }

    struct MyVoiceTheme: NowVoiceThemeable {
        var color: NowUIColoring = MyAppColors()
    }

    // Apply at voice session launch
    let vc = try await voiceService.startVoice(endpoint: endpoint, theme: MyVoiceTheme())

    // Or update while a voice session is active
    voiceService.updateTheme(theme: MyVoiceTheme())

**Conceitos relacionados**   

* [Estrutura do NowVoiceDefaultTema - iOS](https://servicenow-prod.fluidtopics.net/0DnyO74yOkFFW0lMKzYoAw#NVoiceDefThemeiOSStruct "A implementação padrão do NowVoiceThemeable.")

