Class BatchPluginConfiguration

java.lang.Object
com.batch.batch_flutter.BatchPluginConfiguration

public class BatchPluginConfiguration extends Object
Manages Batch configuration for the flutter plugin. Configuration will be read from the manifest, but can be overridden at app launch.
  • Constructor Details

    • BatchPluginConfiguration

      public BatchPluginConfiguration()
  • Method Details

    • getApiKey

      @Nullable public String getApiKey()
    • setAPIKey

      public BatchPluginConfiguration setAPIKey(@Nullable String apiKey)
    • canUseAdvertisingID

      @Deprecated public boolean canUseAdvertisingID()
      Deprecated.
      This method does nothing, please stop using it.
      Can Batch use Advertising ID Batch doesn't collects Android Advertising Identifier anymore.
      Returns:
      Always return false.
    • setCanUseAdvertisingID

      @Deprecated public BatchPluginConfiguration setCanUseAdvertisingID(boolean canUseAdvertisingID)
      Deprecated.
      This method does nothing, please stop using it.
      Batch doesn't support Android Advertising Identifier anymore.
      Parameters:
      canUseAdvertisingID - This parameter does nothing.
    • canUseAdvancedDeviceInformation

      public boolean canUseAdvancedDeviceInformation()
    • setCanUseAdvancedDeviceInformation

      public BatchPluginConfiguration setCanUseAdvancedDeviceInformation(boolean canUseAdvancedDeviceInformation)
    • getInitialDoNotDisturbState

      public boolean getInitialDoNotDisturbState()
    • setInitialDoNotDisturbState

      public BatchPluginConfiguration setInitialDoNotDisturbState(boolean initialDoNotDisturbState)