SharedMedia class

Constructors

SharedMedia({List<SharedAttachment?>? attachments, List<String?>? recipientIdentifiers, String? conversationIdentifier, String? content, String? speakableGroupName, String? serviceName, String? senderIdentifier, String? imageFilePath})

Properties

attachments List<SharedAttachment?>?
List of shared attachments (ex. images, videos, pdfs, etc.). Each attachment has an attachment type and a path to the file on the device.
getter/setter pair
content String?
Text content that was shared if any. Could be a url as well.
getter/setter pair
conversationIdentifier String?
The identifier of the conversation that content was shared to. This will come back if you use the 'recordSentMessage' method, and the user selects a specific conversation to share content to.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
imageFilePath String?
iOS only: The file path for the image of the sender.
getter/setter pair
recipientIdentifiers List<String?>?
iOS only: List of recipient identifiers from iOS intent.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
senderIdentifier String?
iOS only: The identifier of the sender that shared the content.
getter/setter pair
serviceName String?
iOS only: The name of the service that sent the content.
getter/setter pair
speakableGroupName String?
The name of the recipient the content was shared to if specified.
getter/setter pair

Methods

encode() Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

decode(Object message) SharedMedia