Virtual Method


unstable since: 1.0

Declaration [src]

get_metadata (
  ValentMediaPlayer* player

Description [src]

Get the metadata of the active media items.

Implementations should typically have an entry for the mpris:length field. Other fields generally supported by KDE Connect clients include mpris:artUrl, xesam:artist, xesam:album and xesam:title.

Available since: 1.0

Return value

Type: GVariant

A GVariant of type a{sv}

The caller of the function takes ownership of the data, and is responsible for freeing it.