getMediaInfo method

Future<MediaInfo> getMediaInfo()

Returns the current media information

Implementation

Future<MediaInfo> getMediaInfo() async {
  // FIXME: can remove future? we could avoid to call host and rely on listener callbacks (maybe onMetadataUpdated)
  return await _hostApi.getMediaInfo();
}