Index BlackBerry Workspaces SDK
BlackBerry Workspaces JSON
DocumentAnnotationsForUsers
Parameters
Name Type Description

documentAnnotations

DocumentAnnotations

userAnnotations

Collection(DocumentAnnotationsForUser

Default value: new ArrayList<>()

Json Format
{
userAnnotations: Collection(
{
userAddress: String,
updateDate: Date,
userAnnotations:
{
documentPageAnnotations: List(
{
pageAnnotations: List(
{
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 )
}),
pagePlainAnnotations: List(
{
annotationPDFText: String
}),
annotationsPageNo: Integer
})
})
}),
documentAnnotations:
{
documentPageAnnotations: List(
{
pageAnnotations: List(
{
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 )
}),
pagePlainAnnotations: List(
{
annotationPDFText: String
}),
annotationsPageNo: Integer
})
})
}