setCustomCloseButton

fun setCustomCloseButton(customCloseButton: <Error class: unknown class>, layoutParams: <Error class: unknown class>? = null)

Sets a custom CloseButtonView to be used instead of the default one.

Note: Handle the stopping of the annotation session when the button is clicked, otherwise the session will continue to run with the annotation layer on over all the apps.

Since

3.11.0

Parameters

customCloseButton

The custom CloseButtonView to use.

layoutParams

Optional layout parameters for the custom CloseButtonView.