getSupportedMimeTypes method

Future<List<String>> getSupportedMimeTypes()

Gets org.mpris.MediaPlayer2.SupportedMimeTypes

Implementation

Future<List<String>> getSupportedMimeTypes() async {
  var value = await getProperty(
      'org.mpris.MediaPlayer2', 'SupportedMimeTypes',
      signature: DBusSignature('as'));
  return value.asStringArray().toList();
}