Reader SDK Documents
Breadcrumbs

Android v2.3.0

New property added to NovarumAnalyzerPreview:

AndroidView(  
    factory = { ctx ->  
        val p = NovarumAnalyzerPreview(ctx)  
        p.analyzerConfig = analyserConfiguration  
        p.previewMode = PreviewMode.Fill // or PreviewMode.Fit  
        ...
    }  
)

  • Default: PreviewMode.Fill

  • Developer Action:
    Set previewMode explicitly if your UI requires Fit scaling.
    Existing code without this property continues to function with the same default behavior.