Builder

class Builder(licenseUrl: String)

Constructors

Link copied to clipboard
constructor(licenseUrl: String)

Functions

Link copied to clipboard

Adds a static header to every license request.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Selects the DRM scheme (default Widevine).

Link copied to clipboard

Sets the token source. headerName is the request header the token is sent in; provider is invoked fresh for every license request.

Link copied to clipboard

Token source for URL-carried tokens: the license URL must contain the literal {token} placeholder, replaced (URL-encoded) with a freshly fetched token on every license request — e.g. https://license.example.com/wv?token={token} (EZDRM-style).