Class OmidConfig.Builder

java.lang.Object
com.jwplayer.pub.api.configuration.ads.OmidConfig.Builder
Enclosing class:
OmidConfig

public static class OmidConfig.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • customReferenceData

      public OmidConfig.Builder customReferenceData(String customReferenceData)
      Set the Custom Reference data for all OMID sessions.
    • isOmidEnabled

      public OmidConfig.Builder isOmidEnabled(boolean isOmidEnabled)
      Enable or disable OMID. Used to prevent OMID setup in scenarios where you need to implement a killswitch. Default value is true
    • allowedVendors

      public OmidConfig.Builder allowedVendors(List<String> allowedVendors)
      A list of allowed verification vendors. This list will be compared to the list of verification vendors reported in the ad response and we will only load approved vendors. Make sure that the vendor name used here is the same as the vendor-key reported in the ad response.
      Important: An empty or null list means that we will allow all vendors
    • build

      public OmidConfig build()
      Builds the OmidConfig object