getInitialSharedMedia method

  1. @override
Future<SharedMedia?> getInitialSharedMedia()
override

Returns the initially stored shared media for single time use on app boot. Use media stream to receive shares while app is active. NOTE. (iOS only) file attachments are copied to a temp folder and should be deleted after using them.

Implementation

@override
Future<SharedMedia?> getInitialSharedMedia() async {
  final SharedMedia? result = await _api.getInitialSharedMedia();
  return result;
}