SVSAd Manager
constructor(@NonNull context: Context, @NonNull placement: SVSAdPlacement, @Nullable adRules: Array<SVSAdRule>, @Nullable adPlayerConfiguration: SVSAdPlayerConfiguration, @Nullable contentData: SVSContentData)
Main constructor
Parameters
context
the Android Context to attach to
placement
the SVSAdPlacement identifying this inventory item
ad Rules
an array of SVSAdRule instances that determines the ad playback configuration depending on the content properties
ad Player Configuration
the SVSAdPlayerConfiguration object containing ad playback parameters
content Data
an optional SVSContentData object containing properties about the content video
Throws
thrown if any of the parameters is incorrect