CobiFlutterShareMethodChannelImpl class

The default method channel implementation of CobiFlutterSharePlatform

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
isMock bool
Only mock implementations should set this to true.
no setterinherited
onShareReceived Stream<ShareData>
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

abortFetch(String uri) Future<void>
override
addShareTargets(List<ShareTarget> targets) Future<bool?>
This adds multiple share targets. The returned future resolves to false if at least one of the targets could not be added.
override
continueFetch(String uri) Future<void>
override
fetchContents(String uri, [int? chunkSize]) Stream<ShareItemChunk>?
override
initialize() → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseFetch(String uri) Future<void>
override
removeAllShareTargets() Future<bool?>
This removes all specific share targets. If anythign goes wrong, the returned future resolves to false.
override
removeShareTargets(List<String> ids) Future<bool?>
This removes the share target with given identifier. If any of the share targets couldn't be removed the returned future resolves to false.
override
toString() String
A string representation of this object.
inherited

Operators

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