callGetTracksMetadata method
Invokes org.mpris.MediaPlayer2.TrackList.GetTracksMetadata()
Implementation
Future<List<Map<String, DBusValue>>> callGetTracksMetadata(
List<String> TrackIds,
{bool noAutoStart = false,
bool allowInteractiveAuthorization = false}) async {
var result = await callMethod('org.mpris.MediaPlayer2.TrackList',
'GetTracksMetadata', [DBusArray.objectPath(TrackIds)],
replySignature: DBusSignature('aa{sv}'),
noAutoStart: noAutoStart,
allowInteractiveAuthorization: allowInteractiveAuthorization);
return result.returnValues[0]
.asArray()
.map((child) => child.asStringVariantDict())
.toList();
}