Defines an audio control component. When this component is rendered, it will show audio program information to the user along with basic audio controls.
This component is only available on mobile devices. Media playing on other devices will use the device-specific controls, if available, to control playback and you will need to create a view for information to display. If you try to use this component on other devices, nothing will display.
This component can be useful with the bixby.audioPlayer
library capsule, but you do not need to use that library in order to use this component.
artist required | The name of the artist displayed in the audio control component |
title required | The title displayed in the audio control component |
album-art optional | Specify metadata for album art appearance and behavior |
album-art-size[deprecated] optional | This key is deprecated |
album-art-url[deprecated] optional | This key is deprecated |
album-name optional | The album name displayed in the audio control component |
app-id optional | Specify the application to control with the audio control component |
seek-bar-enabled optional | If specified, displays the seek bar in the audio control component |
skip-by-seconds optional | Specify the value in seconds of the skip forward/backward buttons, if present |
skip-track-button-visibility optional | Control whether the skip track button is shown in the component |
sub-title optional | The subtitle displayed in the audio control component |
result-view {
match: Result
render {
layout {
section {
content {
audio-control {
album-art {
url (images/cat.png)
size (Small)
}
album-name (Catatonic)
artist (Cool Cat)
title (Cat-ch Phrase)
sub-title (Meow)
}
}
}
}
}
}