Class SingleFireBeacons
-
- All Implemented Interfaces:
-
com.inmobi.media.ads.nativeAd.beacons.processor.Beacon
public final class SingleFireBeacons extends BaseBeacon
A Beacon implementation that fires a set of beacons only once.
This class ensures that the provided beacons are fired at most one time, even if the fire method is called multiple times. It uses an AtomicBoolean to track whether the beacons have already been fired.
-
-
Constructor Summary
Constructors Constructor Description SingleFireBeacons(NativeBeaconMacroData vastBeaconDataModel, Function0<List<String>> getBeacons)
-
Method Summary
Modifier and Type Method Description -
-
Constructor Detail
-
SingleFireBeacons
SingleFireBeacons(NativeBeaconMacroData vastBeaconDataModel, Function0<List<String>> getBeacons)
-
-
-
-