attachBinaryInstantJsonAttachment

Attaches a binary instant JSON attachment to the annotation. Can later be fetched using fetchBinaryInstantJsonAttachment.

Parameters

dataProvider

The DataProvider containing the binary instant JSON data to attach.

mimeType

The mime type of the data that will be attached.

Throws

If there is a error while attaching the the binary JSON attachment.