Bixby Developer Center

Guides
References

audio-control

optionalmultiple allowed

Defines an audio control component. When this component is rendered, it will show audio program information to the user along with basic audio controls.

Note

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.

Note

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.

Child Keys

album-art-url
required
URL of cover art to display in the audio control 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-size
optional
Specify the size of the album art to display with the control
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

Example

result-view {
match: Result
render {
layout {
section {
content {
audio-control {
album-art-url (images/cat.png)
album-name (Catatonic)
artist (Cool Cat)
title (Cat-ch Phrase)
sub-title (Meow)
}
}
}
}
}
}