MediaKeySystemConfiguration constructor
MediaKeySystemConfiguration({
- String? label,
- Iterable<
String> ? initDataTypes, - Iterable<
MediaKeySystemMediaCapability> ? audioCapabilities, - Iterable<
MediaKeySystemMediaCapability> ? videoCapabilities, - MediaKeysRequirement? distinctiveIdentifier,
- MediaKeysRequirement? persistentState,
- Iterable<
String> ? sessionTypes,
Implementation
factory MediaKeySystemConfiguration(
{String? label,
Iterable<String>? initDataTypes,
Iterable<MediaKeySystemMediaCapability>? audioCapabilities,
Iterable<MediaKeySystemMediaCapability>? videoCapabilities,
MediaKeysRequirement? distinctiveIdentifier,
MediaKeysRequirement? persistentState,
Iterable<String>? sessionTypes}) =>
MediaKeySystemConfiguration._(
label: label ?? '',
initDataTypes: initDataTypes ?? const [],
audioCapabilities: audioCapabilities ?? const [],
videoCapabilities: videoCapabilities ?? const [],
distinctiveIdentifier: distinctiveIdentifier?.value ??
MediaKeysRequirement.optional.value,
persistentState:
persistentState?.value ?? MediaKeysRequirement.optional.value,
sessionTypes: sessionTypes ?? undefined);