ReceiveSharingIntent class abstract

Inheritance
  • Object
  • PlatformInterface
  • ReceiveSharingIntent

Constructors

ReceiveSharingIntent()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getInitialMedia() Future<List<SharedMediaFile>>
Returns a Future, which completes to one of the following:
getMediaStream() Stream<List<SharedMediaFile>>
Sets up a broadcast stream for receiving incoming media share change events.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() Future
Call this method if you already consumed the callback and don't want the same callback again
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

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

Static Methods

setMockValues({required List<SharedMediaFile> initialMedia, required Stream<List<SharedMediaFile>> mediaStream}) → void
Initializes the plugin and sets the mock values for testing.