AttachmentManagerInterface

interface AttachmentManagerInterface

This provides interfaces to manage attachment received from NUGU

Functions

Link copied to clipboard
abstract fun createReader(attachmentId: String): Attachment.Reader?

Create an reader for attachment

Link copied to clipboard
abstract fun onAttachment(attachment: AttachmentMessage)

Called when attachment arrived

Link copied to clipboard
abstract fun removeAttachment(attachmentId: String)

Called when the attachmentManager no longer need to manage attachment.