cancel

open fun cancel()

Cancels the current ad loading and releases related resources.

This method performs a final cleanup. Once cancel() is called, you cannot call loadAd again. If you simply want to cancel the ongoing request and load a new ad, call loadAd (or loadAd) directly. It automatically cancels the previous request before processing the new one.