Class BaseBeacon

  • All Implemented Interfaces:
    com.inmobi.media.ads.nativeAd.beacons.processor.Beacon

    
    public abstract class BaseBeacon
     implements Beacon
                        

    An abstract base class for Beacon implementations that provides common functionality for managing the destroyed state of a beacon.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      BaseBeacon(Function0<Boolean> predicate)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit fire(BeaconExtras beaconExtras) Fires the beacon with optional beacon extras.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BaseBeacon

        BaseBeacon(Function0<Boolean> predicate)
    • Method Detail

      • fire

         Unit fire(BeaconExtras beaconExtras)

        Fires the beacon with optional beacon extras.

        Parameters:
        beaconExtras - Additional data to include with the beacon.