isFrequencyCapReached method

Future<bool> isFrequencyCapReached()

Checks if desired impression cap (set on AddApptr Dashboard) is reached for this placement. Returns 'true' if impression cap is reached for given placement, 'false' otherwise.

Implementation

Future<bool> isFrequencyCapReached() async {
  try {
    return AatkitFlutterPluginPlatform.instance
        .isFrequencyCapReachedForFullscreen(name);
  } on PlatformException catch (e) {
    aatkitLog("PlatformException, error: $e");
    return false;
  }
}