wrappedPlayerIsStableAcrossReads
+ PlayerAdapter.wrappedPlayer returns the same object on every read (Lens keys the session on it).
diff --git a/ads/static/ads/v2/api-reference/android/ads-sdk-adapter-test-kit/com.dolby.optiview.ads.testkit/-player-adapter-conformance-test/-player-adapter-conformance-test.html b/ads/static/ads/v2/api-reference/android/ads-sdk-adapter-test-kit/com.dolby.optiview.ads.testkit/-player-adapter-conformance-test/-player-adapter-conformance-test.html index 32479fd66b30..dc4983fdafe1 100644 --- a/ads/static/ads/v2/api-reference/android/ads-sdk-adapter-test-kit/com.dolby.optiview.ads.testkit/-player-adapter-conformance-test/-player-adapter-conformance-test.html +++ b/ads/static/ads/v2/api-reference/android/ads-sdk-adapter-test-kit/com.dolby.optiview.ads.testkit/-player-adapter-conformance-test/-player-adapter-conformance-test.html @@ -38,7 +38,7 @@
-Language-neutral PlayerAdapter conformance suite (Kotlin port of the web @dolby-optiview/ads-sdk-adapter-test-kit). Subclass it for a concrete adapter, provide createAdapter, and the inherited tests assert the shared contract every OptiView Ads PlayerAdapter must satisfy:
state properties (currentTime/duration/paused/muted/volume/programDateTime),
volume clamping to [0, 1] and mute pass-through,
subscription lifecycle (on/off, multiple handlers, idempotent destroy),
optional capabilities (preload, supportsParallelBuffering).
Event delivery is platform-dependent: it is only asserted when the platform can synthesize a player event headlessly (see triggerVolumeChange). On Android, ExoPlayer volume/playback events need real playback or a device, so delivery is covered by on-device integration; here it is skipped via Assume.
Language-neutral PlayerAdapter conformance suite (Kotlin port of the web @dolby-optiview/ads-sdk-adapter-test-kit). Subclass it for a concrete adapter, provide createAdapter, and the inherited tests assert the shared contract every OptiView Ads PlayerAdapter must satisfy:
state properties (currentTime/duration/paused/muted/volume/programDateTime),
volume clamping to [0, 1] and mute pass-through,
subscription lifecycle (on/off, multiple handlers, idempotent destroy),
optional capabilities (preload, supportsParallelBuffering, a stable wrappedPlayer).
Event delivery is platform-dependent: it is only asserted when the platform can synthesize a player event headlessly (see triggerVolumeChange). On Android, ExoPlayer volume/playback events need real playback or a device, so delivery is covered by on-device integration; here it is skipped via Assume.
PlayerAdapter.wrappedPlayer returns the same object on every read (Lens keys the session on it).
PlayerAdapter.wrappedPlayer returns the same object on every read (Lens keys the session on it).
The THEOplayer Player instance, the key Lens shares the playback session on.
PlayerAdapter.watchFrames through THEOplayer's ExoPlayer, mapped onto THEOplayer's timeline. A frame time far from the playhead is dropped, so a mismatched timeline cannot trigger a break. Null off the main thread or without a reachable engine: the caller keeps its timer.