FairplayConfig constructor

const FairplayConfig({
  1. String? licenseUrl,
  2. String? certificateUrl,
  3. Map<String, String>? licenseRequestHeaders,
  4. Map<String, String>? certificateRequestHeaders,
  5. String prepareCertificate(
    1. String certificate
    )?,
  6. String prepareMessage(
    1. String spcData,
    2. String assetId
    )?,
  7. String prepareSyncMessage(
    1. String syncSpcData,
    2. String assetId
    )?,
  8. String prepareLicense(
    1. String ckc
    )?,
  9. String prepareLicenseServerUrl(
    1. String licenseServerUrl
    )?,
  10. String prepareContentId(
    1. String contentId
    )?,
})

Implementation

const FairplayConfig({
  this.licenseUrl,
  this.certificateUrl,
  this.licenseRequestHeaders,
  this.certificateRequestHeaders,
  this.prepareCertificate,
  this.prepareMessage,
  this.prepareSyncMessage,
  this.prepareLicense,
  this.prepareLicenseServerUrl,
  this.prepareContentId,
});