getMediaUrl method

Future<String?> getMediaUrl({
  1. PMProgressHandler? progressHandler,
})

Provide regular URL for players.

  • Android: Content URI, e.g. content://media/external/video/media/894857.
  • iOS/macOS: File URL. e.g. file:///var/mobile/Media/DCIM/118APPLE/IMG_8371.MOV.

See also:

Implementation

Future<String?> getMediaUrl({
  PMProgressHandler? progressHandler,
}) {
  return plugin.getMediaUrl(
    this,
    progressHandler: progressHandler,
  );
}