prepareLicense property
- @JsonKey(includeFromJson: false, includeToJson: false)
final
Is called with the response returned by the DRM license server for the DRM license request. Can be used to process the response of the Widevine servers. The returned String is treated as the new license response.
Note that both the passed licenseResponse
data and the returned
processed license response are expected to be a Base64 encoded String.
Implementation
@JsonKey(includeFromJson: false, includeToJson: false)
final String Function(String licenseResponse)? prepareLicense;