onCutoutChanged Function
abstract fun onCutoutChanged(cutout: ScanCutout?)
Called whenever the displayed outline changes, so the host can store it.
Not only in response to the user dragging a corner: supplying a new outline from the host side raises it too, so treat it as “the outline is now this” rather than as an edit event.
Parameters
- cutout — the outline now displayed, or
nullwhen there is none.