AudioTrackItem QML Type

The AudioTrackItem represents a playable audio track. More...

Import Statement: import QtInterfaceFramework.Media 1.0
Instantiates: QIfAudioTrackItem
Inherits:

PlayableItem

Properties

Detailed Description

Note: This item is not creatable from QML.

Property Documentation

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


data : object

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 [read-only]

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 [read-only]

The type of the item. E.g. "artist", "track", "contact".


year : int

Holds the release year of the audio track.


© 2024 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.