Class AdSettings

java.lang.Object
com.castlabs.android.settings.AdSettings

public final class AdSettings extends Object
Global ad configuration settings.

These settings control ad playback behavior across the SDK.

  • Field Details

    • DEFAULT_CREATIVE_FORMAT_FALLBACK

      @NonNull public static final int DEFAULT_CREATIVE_FORMAT_FALLBACK
      Default content type to use as fallback when ad creative format cannot be detected.

      Most ad creatives are MP4 files.

      See Also:
    • creativeFormatFallback

      public volatile int creativeFormatFallback
      Content type to use as fallback when ad creative format cannot be detected from URI.

      When an ad creative URI does not have a recognizable extension (e.g., contains query parameters or redirects), this content type will be attempted for playback.

      Common values:

  • Constructor Details

    • AdSettings

      public AdSettings()
      Default constructor