getInitialMedia method

Future<List<SharedMediaFile>> getInitialMedia()

Returns a Future, which completes to one of the following:

  • the initially stored media uri (possibly null), on successful invocation;
  • a PlatformException, if the invocation failed in the platform plugin.

NOTE. The returned media on iOS (iOS ONLY) is already copied to a temp folder. So, you need to delete the file after you finish using it

Implementation

Future<List<SharedMediaFile>> getInitialMedia() {
  throw UnimplementedError('getInitialMedia() has not been implemented.');
}