# enableAutoCloseByCustomScheme

open fun enableAutoCloseByCustomScheme(autoCloseByCustomScheme: Boolean): ImageNoticeConfiguration.Builder

Change whether image notification is automatically terminated when the custom scheme is activated. On platforms like Unity, the event doesn't fire while the popup is floating. Therefore, in order to process the event, if a custom click event occurs, all pop-ups must be closed. The default value is true.

#### Since

Added 2.12.0.

#### Return

an instance of ImageNoticeConfiguration.Builder

#### Parameters

autoCloseByCustomScheme

close image notice when custom event execution is required.