SpeakerFactory

interface SpeakerFactory

Provide methods to create speaker which will be used at SDK

Functions

Link copied to clipboard
abstract fun createAlarmSpeaker(): Speaker?

Create a speaker for playing alerts

Link copied to clipboard
abstract fun createCallSpeaker(): Speaker?

Create a speaker for call

Link copied to clipboard
abstract fun createExternalSpeaker(): Speaker?

Create a speaker for external device

Link copied to clipboard
abstract fun createNuguSpeaker(): Speaker?

Create a speaker for playing nugu such as tts and media.

Link copied to clipboard
abstract fun createSpeaker(type: Speaker.Type): Speaker?