InterstitialAd.offClose
Remove the listener for the interstitial ad close event.
When leaving the corresponding game scene, remove the registered listeners and destroy the instance.
Parameters
function listener
The ad close event listener to remove.
Example
javascript
const onClose = () => {
console.log('Interstitial ad closed');
};
interstitialAd.onClose(onClose);
interstitialAd.offClose(onClose);