attach Binary Instant Json Attachment
open fun attachBinaryInstantJsonAttachment(@NonNull dataProvider: DataProvider, @Nullable mimeType: String)
Attaches a binary instant JSON attachment to the annotation. Can later be fetched using fetchBinaryInstantJsonAttachment.
Parameters
data Provider
The DataProvider containing the binary instant JSON data to attach.
mime Type
The mime type of the data that will be attached.
Throws
If there is a error while attaching the the binary JSON attachment.