Class OmidConfig.Builder
java.lang.Object
com.jwplayer.pub.api.configuration.ads.OmidConfig.Builder
- Enclosing class:
- OmidConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedVendors
(List<String> allowedVendors) A list of allowed verification vendors.build()
Builds the OmidConfig objectcustomReferenceData
(String customReferenceData) Set the Custom Reference data for all OMID sessions.isOmidEnabled
(boolean isOmidEnabled) Enable or disable OMID.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customReferenceData
Set the Custom Reference data for all OMID sessions. -
isOmidEnabled
Enable or disable OMID. Used to prevent OMID setup in scenarios where you need to implement a killswitch. Default value is true -
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
Builds the OmidConfig object
-