Builder

class Builder

Build a new MapboxSpeechApiOptions

Constructors

Link copied to clipboard
fun Builder()

Functions

Link copied to clipboard
fun baseUri(baseUri: String): MapboxSpeechApiOptions.Builder

Specifies the base URL Defaults to "https://api.mapbox.com"

Link copied to clipboard
fun build(): MapboxSpeechApiOptions
Link copied to clipboard
fun gender(gender: String?): MapboxSpeechApiOptions.Builder

Specifies gender of the voice. Optional parameter. Might not work with all the languages. Defaults to VoiceGender.FEMALE.