Class LocalCampaignsModule


  • public class LocalCampaignsModule
    extends BatchModule
    Batch's Local Campaigns Messaging Module.
    • Method Detail

      • getId

        public java.lang.String getId()
        Description copied from class: BatchModule
        ID of the module
        Specified by:
        getId in class BatchModule
        Returns:
      • getState

        public int getState()
        Description copied from class: BatchModule
        Should return the state of the module (usually 0 for deactivated, 1 for activated)
        Specified by:
        getState in class BatchModule
        Returns:
      • sendSignal

        public void sendSignal​(@NonNull
                               Signal signal)
      • wipeData

        public void wipeData​(@NonNull
                             android.content.Context context)
      • batchDidStart

        public void batchDidStart()
        Description copied from class: BatchModule
        Called by Batch right after batch start
        NB : Same context and activity that in willStart but with the new state State.READY set
        Overrides:
        batchDidStart in class BatchModule
      • batchDidStop

        public void batchDidStop()
        Description copied from class: BatchModule
        Called by Batch right after batch stop
        NB : No context or activity are available
        Overrides:
        batchDidStop in class BatchModule