init
fun init(baseUrl: String, requestParameters: (StorytellerAdRequestInfo) -> Map<String, String>, urlFormat: UrlFormat = UrlFormat.PathSegment)
Configures the VAST module. Must be called before the module is registered with com.storyteller.Storyteller.modules.
The final VAST URL built from baseUrl, requestParameters, and urlFormat must be HTTPS and no longer than 2,048 characters.
Parameters
base Url
HTTPS base URL of the ad server, no trailing slash required.
request Parameters
Per-request key/value parameters. Host owns key casing and value sanitisation.
url Format
Serialisation strategy; defaults to UrlFormat.PathSegment.