DVFakeDrmAdapter class final

A DRM adapter that licenses anything in its scheme.

Implemented types

Constructors

DVFakeDrmAdapter(DVDrmScheme scheme)

Properties

hashCode → int
The hash code for this object.
no setterinherited
licensed → List<DVMediaSource>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schemes → Set<DVDrmScheme>
final

Methods

license(DVMediaSource source) → Future<Object?>
Whatever the target's player needs to decrypt source -- a licence, a key session handle. Opaque to the runtime, which only passes it on.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited