on Document Was Rotated
@Deprecated()
Content copied to clipboard
Called when the user rotated the image.
In case you started the document analysis in onShouldAnalyzeDocument you should cancel it here as the original image is not valid anymore.
Deprecated
When a GiniVision and a GiniVisionNetworkService instance is available rotation is handled internally. The document is analyzed by using the configured GiniVisionNetworkService implementation. The extractions will be returned in the Analysis Screen in onExtractionsAvailable.
Parameters
document
contains the modified image
old Rotation
the previous rotation in degrees
new Rotation
the new rotation in degrees