EmailAttachment

data class EmailAttachment(val fileName: String, val contentId: String, val mimeType: String, val inlineAttachment: Boolean, val data: ByteArray) : Parcelable

Representation of an email attachment used in the Sudo Platform Email SDK.

Constructors

Link copied to clipboard
constructor(fileName: String, contentId: String, mimeType: String, inlineAttachment: Boolean, data: ByteArray)

Properties

Link copied to clipboard

String Identifier used to identify an attachment within an email body.

Link copied to clipboard

ByteArray The email attachment data.

Link copied to clipboard

String The name of the email attachment file.

Link copied to clipboard

String Flag indicating whether this is an inline attachment or not.

Link copied to clipboard

String The type of content that is attached.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)