AttachmentGetResult

sealed class AttachmentGetResult

Result type for getting a single attachment.

Inheritors

Types

Link copied to clipboard
@ObjCName(name = "failure")
data class Failure(val error: ZyncError) : AttachmentGetResult

Failed get attachment result containing error information.

Link copied to clipboard
@ObjCName(name = "notFound")
data object NotFound : AttachmentGetResult

Attachment not found result.

Link copied to clipboard
@ObjCName(name = "success")
data class Success(val attachment: ZyncAttachment) : AttachmentGetResult

Successful get attachment result containing the attachment.