Package 

Class AdvertisingModel

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public final class AdvertisingModel.Data

      Data class representing the advertising model data.

    • Constructor Summary

      Constructors 
      Constructor Description
      AdvertisingModel() Constructs a new instance of the model.
    • Method Summary

      Modifier and Type Method Description
      Unit initialize(ModelContext modelContext) Sets up the model with the specified ModelContext.
      AdvertisingModel.Data get(ModelContext modelContext) Retrieves the data associated with this model.
      Unit stop(ModelContext modelContext) Stops the model and releases any resources it holds.
      • Methods inherited from class java.lang.Object

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

      • AdvertisingModel

        AdvertisingModel()
        Constructs a new instance of the model.
    • Method Detail

      • initialize

         Unit initialize(ModelContext modelContext)

        Sets up the model with the specified ModelContext.

        Parameters:
        modelContext - The context in which the model is being set up.
      • get

         AdvertisingModel.Data get(ModelContext modelContext)

        Retrieves the data associated with this model.

        Parameters:
        modelContext - The context in which the data is being retrieved.
      • stop

         Unit stop(ModelContext modelContext)

        Stops the model and releases any resources it holds.

        Parameters:
        modelContext - The context in which the data is being retrieved.