YlPlatformConformanceFixture class abstract interface

An implementation-owned deterministic harness. source must be supported with default load options, committing initially in buffering without Ready or First Frame until the explicit hooks below inject them. Each created player is isolated. Hook futures complete after their input is processed and its observable state/events are published, including ignored/duplicate inputs. Private transport reply ordering and controller milestone futures belong in adapter/controller suites, not this SPI-only harness.

For metadata secrecy checks, use distinctive canary values of at least 16 characters in request headers/credentials, URI user info and queries. Short values such as 2 can occur innocently in diagnostics and are not substring secrecy markers. Even long values must be chosen to avoid ordinary output: these finite checks cannot establish information flow from coincident text.

Properties

hashCode → int
The hash code for this object.
no setterinherited
policyCases → List<YlConformancePolicyCase>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → YlMediaSource
no setter

Methods

createPlayer() → Future<YlPlatformPlayer>
emitFirstFrame(YlPlatformPlayer player, YlPlaybackSessionId sessionId) → Future<void>
Inject the original session's first-frame evidence, even after newer timeline revisions. Repeated and stale injections must be handled normally.
emitReady(YlPlatformPlayer player, YlPlaybackSessionId sessionId) → Future<void>
emitTerminalFailure(YlPlatformPlayer player, YlPlaybackSessionId sessionId) → Future<void>
holdNextLoad(YlPlatformPlayer player) → Future<void>
Arm a hold synchronously at the next load's pre-commit boundary.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
releaseHeldLoad(YlPlatformPlayer player) → Future<void>
Idempotently release any hold, including on stopped/disposed players.
toString() → String
A string representation of this object.
inherited

Operators

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