Class OmidConfig.Builder

  • Enclosing class:
    OmidConfig

    public static class OmidConfig.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • customReferenceData

        public OmidConfig.Builder customReferenceData​(@Nullable
                                                      java.lang.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​(java.util.List<java.lang.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