Stay organized with collections
Save and categorize content based on your preferences.
Builder
class Builder
A builder class for creating AudioPresentation
objects.
Summary
Public constructors |
Create a Builder .
|
Public constructors
Builder
Builder(presentationId: Int)
Create a Builder
. Any field that should be included in the AudioPresentation
must be added.
Parameters |
presentationId |
Int: The presentation ID of this audio presentation. |
Public methods
setHasAudioDescription
fun setHasAudioDescription(audioDescriptionAvailable: Boolean): AudioPresentation.Builder
Indicate whether the presentation contains audio description for the visually impaired.
Parameters |
audioDescriptionAvailable |
Boolean: Audio description for the visually impaired. |
setHasDialogueEnhancement
fun setHasDialogueEnhancement(dialogueEnhancementAvailable: Boolean): AudioPresentation.Builder
Indicate whether the presentation supports dialogue enhancement.
Parameters |
dialogueEnhancementAvailable |
Boolean: Dialogue enhancement. |
setHasSpokenSubtitles
fun setHasSpokenSubtitles(spokenSubtitlesAvailable: Boolean): AudioPresentation.Builder
Indicate whether the presentation contains spoken subtitles for the visually impaired.
Parameters |
spokenSubtitlesAvailable |
Boolean: Spoken subtitles for the visually impaired. |
setLocale
fun setLocale(language: ULocale): AudioPresentation.Builder
Sets the language information of the audio presentation.
Parameters |
language |
ULocale: Locale corresponding to ISO 639-1/639-2 language code. This value cannot be null . |
setProgramId
fun setProgramId(programId: Int): AudioPresentation.Builder
Sets the ProgramId to which this audio presentation refers.
Parameters |
programId |
Int: The program ID to be decoded. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-04-04 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-04 UTC."]]