Index BlackBerry Workspaces SDK
BlackBerry Workspaces JSON
DocumentAnnotation
Annotation details
Parameters
Name Type Description

annotationColor

AnnotationColor

Color

annotationFlags

List(AnnotationFlagsEnum)

List of annotation flags

annotationRectangle

AnnotationRectangle

Required
Not null

Bounding rectangle

annotationType

AnnotationType

Required
Not null

Annotation type

Possible values: [INLINE_TEXT_COMMENT, SQUARE, ARROW, LINE, STRIKEOUT, FREE_DRAWING, HIGHLIGHT, UNDERLINE, TEXT_COMMENT, CIRCLE].

lastModificationDate

Date

Modification date

Json Format
{
annotationType: AnnotationType,
annotationRectangle:
{
lowerLeftCorner:
{
x: Float,
y: Float
},
upperRightCorner:
{
x: Float,
y: Float
}
},
annotationColor:
{
red: Float,
green: Float,
blue: Float
},
lastModificationDate: Date,
annotationFlags: Set(AnnotationFlagsEnum )
}