ShareHandlerPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • ShareHandlerPlatform
Implementers

Constructors

ShareHandlerPlatform()
Constructs a ShareHandlerPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sharedMediaStream Stream<SharedMedia>
Stream that can be listened to for shared media when the app is already running.
no setter

Methods

getInitialSharedMedia() Future<SharedMedia?>
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.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recordSentMessage({required String conversationIdentifier, required String conversationName, String? conversationImageFilePath, String? serviceName}) Future<void>
Records a sent message so the share menu can suggest recipients/conversations to share to.
resetInitialSharedMedia() Future<void>
Resets the initial shared media to null to prevent duplicate handling.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance ShareHandlerPlatform
The default instance of ShareHandlerPlatform to use.
getter/setter pair