Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</a> <button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle" type="button">Toggle table of contents
</button>
<div class="navigation-controls--break ui-kit_mobile-only"></div>
<div class="library-version" id="library-version">1.6.0
<div class="library-version" id="library-version">1.6.1
</div>
<div class="navigation-controls">
<ul class="filter-section filter-section_loading" id="filter-section" aria-label="Target filter">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</a> <button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle" type="button">Toggle table of contents
</button>
<div class="navigation-controls--break ui-kit_mobile-only"></div>
<div class="library-version" id="library-version">1.6.0
<div class="library-version" id="library-version">1.6.1
</div>
<div class="navigation-controls">
<ul class="filter-section filter-section_loading" id="filter-section" aria-label="Target filter">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</a> <button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle" type="button">Toggle table of contents
</button>
<div class="navigation-controls--break ui-kit_mobile-only"></div>
<div class="library-version" id="library-version">1.6.0
<div class="library-version" id="library-version">1.6.1
</div>
<div class="navigation-controls">
<ul class="filter-section filter-section_loading" id="filter-section" aria-label="Target filter">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</a> <button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle" type="button">Toggle table of contents
</button>
<div class="navigation-controls--break ui-kit_mobile-only"></div>
<div class="library-version" id="library-version">1.6.0
<div class="library-version" id="library-version">1.6.1
</div>
<div class="navigation-controls">
<ul class="filter-section filter-section_loading" id="filter-section" aria-label="Target filter">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</a> <button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle" type="button">Toggle table of contents
</button>
<div class="navigation-controls--break ui-kit_mobile-only"></div>
<div class="library-version" id="library-version">1.6.0
<div class="library-version" id="library-version">1.6.1
</div>
<div class="navigation-controls">
<ul class="filter-section filter-section_loading" id="filter-section" aria-label="Target filter">
Expand Down Expand Up @@ -93,7 +93,7 @@
<div class="breadcrumbs"><a href="../../index.html">ads-sdk-adapter-test-kit</a><span class="delimiter">/</span><a href="../index.html">com.dolby.optiview.ads.testkit</a><span class="delimiter">/</span><span class="current">PlayerAdapterConformanceTest</span></div>
<div class="cover ">
<h1 class="cover"><span>Player</span><wbr><span>Adapter</span><wbr><span>Conformance</span><wbr><span><span>Test</span></span></h1>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":ads-sdk-adapter-test-kit/main"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">class </span><a href="index.html">PlayerAdapterConformanceTest</a></div><p class="paragraph">Language-neutral <code class="lang-kotlin">PlayerAdapter</code> conformance suite (Kotlin port of the web <code class="lang-kotlin">@dolby-optiview/ads-sdk-adapter-test-kit</code>). Subclass it for a concrete adapter, provide <a href="create-adapter.html">createAdapter</a>, and the inherited tests assert the shared contract every OptiView Ads <code class="lang-kotlin">PlayerAdapter</code> must satisfy:</p><ul><li><p class="paragraph">state properties (<code class="lang-kotlin">currentTime</code>/<code class="lang-kotlin">duration</code>/<code class="lang-kotlin">paused</code>/<code class="lang-kotlin">muted</code>/<code class="lang-kotlin">volume</code>/<code class="lang-kotlin">programDateTime</code>),</p></li><li><p class="paragraph">volume clamping to <code class="lang-kotlin">[0, 1]</code> and mute pass-through,</p></li><li><p class="paragraph">subscription lifecycle (<code class="lang-kotlin">on</code>/<code class="lang-kotlin">off</code>, multiple handlers, idempotent <code class="lang-kotlin">destroy</code>),</p></li><li><p class="paragraph">optional capabilities (<code class="lang-kotlin">preload</code>, <code class="lang-kotlin">supportsParallelBuffering</code>).</p></li></ul><p class="paragraph">Event <i>delivery</i> is platform-dependent: it is only asserted when the platform can synthesize a player event headlessly (see <a href="trigger-volume-change.html">triggerVolumeChange</a>). 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 <code class="lang-kotlin">Assume</code>.</p><h4 class="tableheader">See also</h4><div class="table"><div class="table-row table-row_content" data-filterable-current=":ads-sdk-adapter-test-kit/main" data-filterable-set=":ads-sdk-adapter-test-kit/main"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><a href="../../../ads-sdk-core/com.dolby.optiview.ads.core/-player-adapter/index.html"><span>Player</span><wbr><span><span>Adapter</span></span></a></div></span></div><div></div></div></div></div></div></div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":ads-sdk-adapter-test-kit/main"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">class </span><a href="index.html">PlayerAdapterConformanceTest</a></div><p class="paragraph">Language-neutral <code class="lang-kotlin">PlayerAdapter</code> conformance suite (Kotlin port of the web <code class="lang-kotlin">@dolby-optiview/ads-sdk-adapter-test-kit</code>). Subclass it for a concrete adapter, provide <a href="create-adapter.html">createAdapter</a>, and the inherited tests assert the shared contract every OptiView Ads <code class="lang-kotlin">PlayerAdapter</code> must satisfy:</p><ul><li><p class="paragraph">state properties (<code class="lang-kotlin">currentTime</code>/<code class="lang-kotlin">duration</code>/<code class="lang-kotlin">paused</code>/<code class="lang-kotlin">muted</code>/<code class="lang-kotlin">volume</code>/<code class="lang-kotlin">programDateTime</code>),</p></li><li><p class="paragraph">volume clamping to <code class="lang-kotlin">[0, 1]</code> and mute pass-through,</p></li><li><p class="paragraph">subscription lifecycle (<code class="lang-kotlin">on</code>/<code class="lang-kotlin">off</code>, multiple handlers, idempotent <code class="lang-kotlin">destroy</code>),</p></li><li><p class="paragraph">optional capabilities (<code class="lang-kotlin">preload</code>, <code class="lang-kotlin">supportsParallelBuffering</code>, a stable <code class="lang-kotlin">wrappedPlayer</code>).</p></li></ul><p class="paragraph">Event <i>delivery</i> is platform-dependent: it is only asserted when the platform can synthesize a player event headlessly (see <a href="trigger-volume-change.html">triggerVolumeChange</a>). 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 <code class="lang-kotlin">Assume</code>.</p><h4 class="tableheader">See also</h4><div class="table"><div class="table-row table-row_content" data-filterable-current=":ads-sdk-adapter-test-kit/main" data-filterable-set=":ads-sdk-adapter-test-kit/main"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><a href="../../../ads-sdk-core/com.dolby.optiview.ads.core/-player-adapter/index.html"><span>Player</span><wbr><span><span>Adapter</span></span></a></div></span></div><div></div></div></div></div></div></div>
</div>
<div class="tabbedcontent">
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="CONSTRUCTOR,TYPE,PROPERTY,FUNCTION">Members</button></div>
Expand Down Expand Up @@ -314,6 +314,21 @@ <h2 class="tableheader">Functions</h2>
</div>
</div>
</div>
<a data-name="941385133%2FFunctions%2F651842953" anchor-label="wrappedPlayerIsStableAcrossReads" id="941385133%2FFunctions%2F651842953" data-filterable-set=":ads-sdk-adapter-test-kit/main"></a>
<div class="table-row table-row_content" data-filterable-current=":ads-sdk-adapter-test-kit/main" data-filterable-set=":ads-sdk-adapter-test-kit/main">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="wrapped-player-is-stable-across-reads.html"><span>wrapped</span><wbr><span>Player</span><wbr><span>Is</span><wbr><span>Stable</span><wbr><span>Across</span><wbr><span><span>Reads</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="941385133%2FFunctions%2F651842953"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":ads-sdk-adapter-test-kit/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="wrapped-player-is-stable-across-reads.html"><span class="token function">wrappedPlayerIsStableAcrossReads</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph"><a href="../../../ads-sdk-core/com.dolby.optiview.ads.core/-player-adapter/wrapped-player.html">PlayerAdapter.wrappedPlayer</a> returns the same object on every read (Lens keys the session on it).</p></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</a> <button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle" type="button">Toggle table of contents
</button>
<div class="navigation-controls--break ui-kit_mobile-only"></div>
<div class="library-version" id="library-version">1.6.0
<div class="library-version" id="library-version">1.6.1
</div>
<div class="navigation-controls">
<ul class="filter-section filter-section_loading" id="filter-section" aria-label="Target filter">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</a> <button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle" type="button">Toggle table of contents
</button>
<div class="navigation-controls--break ui-kit_mobile-only"></div>
<div class="library-version" id="library-version">1.6.0
<div class="library-version" id="library-version">1.6.1
</div>
<div class="navigation-controls">
<ul class="filter-section filter-section_loading" id="filter-section" aria-label="Target filter">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</a> <button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle" type="button">Toggle table of contents
</button>
<div class="navigation-controls--break ui-kit_mobile-only"></div>
<div class="library-version" id="library-version">1.6.0
<div class="library-version" id="library-version">1.6.1
</div>
<div class="navigation-controls">
<ul class="filter-section filter-section_loading" id="filter-section" aria-label="Target filter">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</a> <button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle" type="button">Toggle table of contents
</button>
<div class="navigation-controls--break ui-kit_mobile-only"></div>
<div class="library-version" id="library-version">1.6.0
<div class="library-version" id="library-version">1.6.1
</div>
<div class="navigation-controls">
<ul class="filter-section filter-section_loading" id="filter-section" aria-label="Target filter">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</a> <button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle" type="button">Toggle table of contents
</button>
<div class="navigation-controls--break ui-kit_mobile-only"></div>
<div class="library-version" id="library-version">1.6.0
<div class="library-version" id="library-version">1.6.1
</div>
<div class="navigation-controls">
<ul class="filter-section filter-section_loading" id="filter-section" aria-label="Target filter">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</a> <button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle" type="button">Toggle table of contents
</button>
<div class="navigation-controls--break ui-kit_mobile-only"></div>
<div class="library-version" id="library-version">1.6.0
<div class="library-version" id="library-version">1.6.1
</div>
<div class="navigation-controls">
<ul class="filter-section filter-section_loading" id="filter-section" aria-label="Target filter">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</a> <button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle" type="button">Toggle table of contents
</button>
<div class="navigation-controls--break ui-kit_mobile-only"></div>
<div class="library-version" id="library-version">1.6.0
<div class="library-version" id="library-version">1.6.1
</div>
<div class="navigation-controls">
<ul class="filter-section filter-section_loading" id="filter-section" aria-label="Target filter">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</a> <button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle" type="button">Toggle table of contents
</button>
<div class="navigation-controls--break ui-kit_mobile-only"></div>
<div class="library-version" id="library-version">1.6.0
<div class="library-version" id="library-version">1.6.1
</div>
<div class="navigation-controls">
<ul class="filter-section filter-section_loading" id="filter-section" aria-label="Target filter">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</a> <button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle" type="button">Toggle table of contents
</button>
<div class="navigation-controls--break ui-kit_mobile-only"></div>
<div class="library-version" id="library-version">1.6.0
<div class="library-version" id="library-version">1.6.1
</div>
<div class="navigation-controls">
<ul class="filter-section filter-section_loading" id="filter-section" aria-label="Target filter">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</a> <button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle" type="button">Toggle table of contents
</button>
<div class="navigation-controls--break ui-kit_mobile-only"></div>
<div class="library-version" id="library-version">1.6.0
<div class="library-version" id="library-version">1.6.1
</div>
<div class="navigation-controls">
<ul class="filter-section filter-section_loading" id="filter-section" aria-label="Target filter">
Expand Down
Loading