OdlProtection class
DRM protection constraints embedded in an ODL 1.0 license.
Constructors
Properties
- copy → bool
-
Whether copying content is permitted (spec default: true).
final
- devices → int?
-
Maximum number of devices per checkout. Null means unlimited.
final
-
formats
→ List<
String> -
DRM format(s), e.g.
application/vnd.adobe.adept+xml. Empty means unspecified.final - hashCode → int
-
The hash code for this object.
no setterinherited
- printAllowed → bool
-
Whether printing is permitted (spec default: true).
Named printAllowed to avoid shadowing the global
printfunction.final -
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, thetoStringmethod will be overridden to output this instance'sprops.no setterinherited - tts → bool
-
Whether text-to-speech is permitted (spec default: true).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes format as a single string when only one value is present,
matching the spec's "String or Array" definition.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> ? json) → OdlProtection?