stopAutoRefresh static method

Future<bool> stopAutoRefresh({
  1. required String adId,
})

Stop auto-refresh for banner or MREC ad

Disables automatic ad refresh for the specified banner/MREC ad instance. Critical to call this when destroying ads to prevent background timers.

Implementation

static Future<bool> stopAutoRefresh({required String adId}) async {
  return await _invokeMethod<bool>('stopAutoRefresh', {'adId': adId}) ??
      false;
}