MediaKeySystemConfiguration constructor
MediaKeySystemConfiguration({
- List<
MediaKeySystemMediaCapability> ? audioCapabilities, - MediaKeysRequirement? distinctiveIdentifier,
- List<
String> ? initDataTypes, - String? label,
- MediaKeysRequirement? persistentState,
- List<
String> ? sessionTypes, - 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,
);