MediaKeySystemConfiguration constructor

MediaKeySystemConfiguration({
  1. List<MediaKeySystemMediaCapability>? audioCapabilities,
  2. MediaKeysRequirement? distinctiveIdentifier,
  3. List<String>? initDataTypes,
  4. String? label,
  5. MediaKeysRequirement? persistentState,
  6. List<String>? sessionTypes,
  7. List<MediaKeySystemMediaCapability>? videoCapabilities,
})

Implementation

factory MediaKeySystemConfiguration({
  _i2.List<_i3.MediaKeySystemMediaCapability>? audioCapabilities,
  _i3.MediaKeysRequirement? distinctiveIdentifier,
  _i2.List<_i2.String>? initDataTypes,
  _i2.String? label,
  _i3.MediaKeysRequirement? persistentState,
  _i2.List<_i2.String>? sessionTypes,
  _i2.List<_i3.MediaKeySystemMediaCapability>? videoCapabilities,
}) =>
    MediaKeySystemConfiguration._(
      audioCapabilities: audioCapabilities,
      distinctiveIdentifier: distinctiveIdentifier?.name ?? _i6.undefined,
      initDataTypes: initDataTypes,
      label: label,
      persistentState: persistentState?.name ?? _i6.undefined,
      sessionTypes: sessionTypes,
      videoCapabilities: videoCapabilities,
    );