Payload size¶
The solution offers two payload size options: Normal
and Small
. The default setting is Normal
. These settings affect the size of the photo and the bundle from the IadCameraController
.
The `Small` option may result in lower photo quality.
Below is an example of how to apply a specific option:
val payloadSize = IadOptions.PayloadSize.Small
val iadOptions = IadOptions.createIadOptions(payloadSize)
val iadCameraController = IadCameraController(context, lifecycleOwner, iadOptions)