AudioTrackItem QML Type
The AudioTrackItem represents a playable audio track. More...
|Import Statement:||import QtIvi.Media 1.0|
- album : string
- artist : string
- coverArt : string
- data : object
- duration : int
- genre : string
- id : string
- name : string
- rating : int
- title : string
- trackNumber : int
- type : string
- year : int
Note: This item is not creatable from QML.
album : string
Holds the album name of the audio track.
artist : string
Holds the artist of the audio track.
coverArt : string
Holds the cover art of the audio track.
This can be a url to a local image file or a link to a qml image provider
A generic data field which can hold any data.
This can be moved for storing additional data which is not part of the base class. E.g. the "composer" of an audio track.
duration : int
Holds the duration of the audio track in ms.
genre : string
Holds the genre of the audio track.
id : string
A unique identifier, which can be used to identify this item.
This is mainly used by the backend to implement filtering or browsing.
name : string
The name of the item. E.g. The name of a contact in a addressbook, or the artist-name in a list of artists.
rating : int
Holds the rating of the audio track.
This is usually a value between 0 and 5.
title : string
Holds the title of the audio track.
trackNumber : int
Holds the number this track has in the album.
type : string
The type of the item. E.g. "artist", "track", "contact".
year : int
Holds the release year of the audio track.
© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.