NowVoiceEndpoint class - Android

concept brazil Updated Sep 10, 2026 1 min read NowVoiceEndpointAndroidClass.md
Raw file servicenow.com

Describes a voice agent endpoint.

A voice endpoint identifies the specific voice agent channel to connect to. Use NowVoiceService.nowVoiceEndpoints to obtain available NowVoiceEndpoints. Endpoints are retrieved from your ServiceNow instance's Mobile SDK settings. In most apps, there is a single endpoint.

Name Type Description
voiceServiceId String The unique identifier of the voice service.
voiceWebhookURL String The WebSocket webhook URL for the voice agent.
mobileChannelType String The mobile channel type for the endpoint.
mobileChannelId String The mobile channel identifier.

The following code example shows how to retrieve an instance of NowVoiceEndpoint from NowVoiceService.nowVoiceEndpoints.

JavaScript
import com.servicenow.nowsdk.voice.NowVoiceSDKimport kotlinx.coroutines.launchimport java.net.URL
lifecycleScope.launch {    val result = NowVoiceSDK.makeVoiceService(        instanceURL = URL("https://your-instance.service-now.com")    )
    result        .onSuccess { voiceService ->            // Service is ready; proceed to select an endpoint        }        .onFailure { error ->            // Handle NowServiceError            Log.e("NowVoice", "Service creation failed: $error")        }}
val endpoint = voiceService.nowVoiceEndpoints.firstOrNull() ?: return

Parent Topic:Mobile SDK - Android

Search documentation
Search document titles and file paths on the brazil branch