mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
1360 lines
69 KiB
HTML
1360 lines
69 KiB
HTML
<!DOCTYPE HTML>
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
|
<title>ActionSchedule.Builder (ExoPlayer library)</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
|
<script type="text/javascript" src="../../../../../script.js"></script>
|
|
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
|
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
|
<!--[if IE]>
|
|
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
|
<![endif]-->
|
|
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
|
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="ActionSchedule.Builder (ExoPlayer library)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10};
|
|
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
var pathtoroot = "../../../../../";
|
|
var useModuleDirectories = false;
|
|
loadScripts(document, 'script');</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<header role="banner">
|
|
<nav role="navigation">
|
|
<div class="fixedNav">
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a id="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
|
</ul>
|
|
<ul class="navListSearch">
|
|
<li><label for="search">SEARCH:</label>
|
|
<input type="text" id="search" value="search" disabled="disabled">
|
|
<input type="reset" id="reset" value="reset" disabled="disabled">
|
|
</li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a id="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
</div>
|
|
<div class="navPadding"> </div>
|
|
<script type="text/javascript"><!--
|
|
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
|
//-->
|
|
</script>
|
|
</nav>
|
|
</header>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<main role="main">
|
|
<div class="header">
|
|
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.testutil</a></div>
|
|
<h2 title="Class ActionSchedule.Builder" class="title">Class ActionSchedule.Builder</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>com.google.android.exoplayer2.testutil.ActionSchedule.Builder</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>Enclosing class:</dt>
|
|
<dd><a href="ActionSchedule.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule</a></dd>
|
|
</dl>
|
|
<hr>
|
|
<pre>public static final class <span class="typeNameLabel">ActionSchedule.Builder</span>
|
|
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></pre>
|
|
<div class="block">A builder for <a href="ActionSchedule.html" title="class in com.google.android.exoplayer2.testutil"><code>ActionSchedule</code></a> instances.</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="constructor.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<table class="memberSummary">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Constructor</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String)">Builder</a></span>​(<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> tag)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="memberSummary">
|
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colSecond" scope="col">Method</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addMediaSources(com.google.android.exoplayer2.source.MediaSource...)">addMediaSources</a></span>​(<a href="../source/MediaSource.html" title="interface in com.google.android.exoplayer2.source">MediaSource</a>... mediaSources)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a add media items action to be executed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#apply(com.google.android.exoplayer2.testutil.Action)">apply</a></span>​(<a href="Action.html" title="class in com.google.android.exoplayer2.testutil">Action</a> action)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules an action.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#build()">build</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Builds the schedule.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clearMediaItems()">clearMediaItems</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a clear media items action to be created.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clearVideoSurface()">clearVideoSurface</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a clear video surface action.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i5" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#delay(long)">delay</a></span>​(long delayMs)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a delay between executing any previous actions and any subsequent ones.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#disableRenderer(int)">disableRenderer</a></span>​(int index)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a renderer disable action.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#enableRenderer(int)">enableRenderer</a></span>​(int index)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a renderer enable action.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#executeRunnable(java.lang.Runnable)">executeRunnable</a></span>​(<a href="https://developer.android.com/reference/java/lang/Runnable.html" title="class or interface in java.lang" class="externalLink" target="_top">Runnable</a> runnable)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a <a href="https://developer.android.com/reference/java/lang/Runnable.html" title="class or interface in java.lang" class="externalLink" target="_top"><code>Runnable</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#moveMediaItem(int,int)">moveMediaItem</a></span>​(int currentIndex,
|
|
int newIndex)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a move media item action to be executed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i10" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#pause()">pause</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a pause action.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#play()">play</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a play action.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#playUntilPosition(int,long)">playUntilPosition</a></span>​(int windowIndex,
|
|
long positionMs)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a play action, waits until the player reaches the specified position, and pauses
|
|
the player again.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i13" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#playUntilStartOfWindow(int)">playUntilStartOfWindow</a></span>​(int windowIndex)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a play action, waits until the player reaches the start of the specified window,
|
|
and pauses the player again.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#prepare()">prepare</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a prepare action to be executed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i15" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeMediaItem(int)">removeMediaItem</a></span>​(int index)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a remove media item action to be executed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i16" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeMediaItems(int,int)">removeMediaItems</a></span>​(int fromIndex,
|
|
int toIndex)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a remove media items action to be executed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i17" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#repeat(com.google.android.exoplayer2.testutil.Action,long)">repeat</a></span>​(<a href="Action.html" title="class in com.google.android.exoplayer2.testutil">Action</a> action,
|
|
long intervalMs)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules an action repeatedly.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i18" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seek(int,long)">seek</a></span>​(int windowIndex,
|
|
long positionMs)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a seek action.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i19" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seek(int,long,boolean)">seek</a></span>​(int windowIndex,
|
|
long positionMs,
|
|
boolean catchIllegalSeekException)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a seek action to be executed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i20" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seek(long)">seek</a></span>​(long positionMs)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a seek action.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i21" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekAndWait(long)">seekAndWait</a></span>​(long positionMs)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a seek action and waits until playback resumes after the seek.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i22" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sendMessage(com.google.android.exoplayer2.PlayerMessage.Target,int,long)">sendMessage</a></span>​(<a href="../PlayerMessage.Target.html" title="interface in com.google.android.exoplayer2">PlayerMessage.Target</a> target,
|
|
int windowIndex,
|
|
long positionMs)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules sending a <a href="../PlayerMessage.html" title="class in com.google.android.exoplayer2"><code>PlayerMessage</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i23" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sendMessage(com.google.android.exoplayer2.PlayerMessage.Target,int,long,boolean)">sendMessage</a></span>​(<a href="../PlayerMessage.Target.html" title="interface in com.google.android.exoplayer2">PlayerMessage.Target</a> target,
|
|
int windowIndex,
|
|
long positionMs,
|
|
boolean deleteAfterDelivery)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules to send a <a href="../PlayerMessage.html" title="class in com.google.android.exoplayer2"><code>PlayerMessage</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i24" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sendMessage(com.google.android.exoplayer2.PlayerMessage.Target,long)">sendMessage</a></span>​(<a href="../PlayerMessage.Target.html" title="interface in com.google.android.exoplayer2">PlayerMessage.Target</a> target,
|
|
long positionMs)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules sending a <a href="../PlayerMessage.html" title="class in com.google.android.exoplayer2"><code>PlayerMessage</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i25" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAudioAttributes(com.google.android.exoplayer2.audio.AudioAttributes,boolean)">setAudioAttributes</a></span>​(<a href="../audio/AudioAttributes.html" title="class in com.google.android.exoplayer2.audio">AudioAttributes</a> audioAttributes,
|
|
boolean handleAudioFocus)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules application of audio attributes.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i26" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaSources(boolean,com.google.android.exoplayer2.source.MediaSource...)">setMediaSources</a></span>​(boolean resetPosition,
|
|
<a href="../source/MediaSource.html" title="interface in com.google.android.exoplayer2.source">MediaSource</a>... sources)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a set media items action to be executed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i27" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaSources(int,long,com.google.android.exoplayer2.source.MediaSource...)">setMediaSources</a></span>​(int windowIndex,
|
|
long positionMs,
|
|
<a href="../source/MediaSource.html" title="interface in com.google.android.exoplayer2.source">MediaSource</a>... sources)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a set media items action to be executed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i28" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaSources(com.google.android.exoplayer2.source.MediaSource...)">setMediaSources</a></span>​(<a href="../source/MediaSource.html" title="interface in com.google.android.exoplayer2.source">MediaSource</a>... mediaSources)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a set media items action to be executed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i29" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlaybackParameters(com.google.android.exoplayer2.PlaybackParameters)">setPlaybackParameters</a></span>​(<a href="../PlaybackParameters.html" title="class in com.google.android.exoplayer2">PlaybackParameters</a> playbackParameters)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a playback parameters setting action.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i30" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRepeatMode(int)">setRepeatMode</a></span>​(int repeatMode)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a repeat mode setting action.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i31" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setShuffleModeEnabled(boolean)">setShuffleModeEnabled</a></span>​(boolean shuffleModeEnabled)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a shuffle setting action to be executed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i32" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setShuffleOrder(com.google.android.exoplayer2.source.ShuffleOrder)">setShuffleOrder</a></span>​(<a href="../source/ShuffleOrder.html" title="interface in com.google.android.exoplayer2.source">ShuffleOrder</a> shuffleOrder)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a set shuffle order action to be executed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i33" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoSurface()">setVideoSurface</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a set video surface action.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i34" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stop()">stop</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a stop action.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i35" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stop(boolean)">stop</a></span>​(boolean reset)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a stop action.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i36" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#throwPlaybackException(com.google.android.exoplayer2.ExoPlaybackException)">throwPlaybackException</a></span>​(<a href="../ExoPlaybackException.html" title="class in com.google.android.exoplayer2">ExoPlaybackException</a> exception)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules to throw a playback exception on the playback thread.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i37" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#waitForIsLoading(boolean)">waitForIsLoading</a></span>​(boolean targetIsLoading)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a delay until <code>player.isLoading()</code> changes to the specified value.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i38" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#waitForMessage(com.google.android.exoplayer2.testutil.ActionSchedule.PlayerTarget)">waitForMessage</a></span>​(<a href="ActionSchedule.PlayerTarget.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.PlayerTarget</a> playerTarget)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a delay until a message arrives at the <a href="../PlayerMessage.Target.html" title="interface in com.google.android.exoplayer2"><code>PlayerMessage.Target</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i39" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#waitForPendingPlayerCommands()">waitForPendingPlayerCommands</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a delay until all pending player commands have been handled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i40" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#waitForPlaybackState(int)">waitForPlaybackState</a></span>​(int targetPlaybackState)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a delay until the playback state changed to the specified state.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i41" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#waitForPlayWhenReady(boolean)">waitForPlayWhenReady</a></span>​(boolean targetPlayWhenReady)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a delay until playWhenReady has the specified value.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i42" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#waitForPositionDiscontinuity()">waitForPositionDiscontinuity</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a delay until the next position discontinuity.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i43" class="rowColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#waitForTimelineChanged()">waitForTimelineChanged</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a delay until any timeline change.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i44" class="altColor">
|
|
<td class="colFirst"><code><a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#waitForTimelineChanged(com.google.android.exoplayer2.Timeline,int)">waitForTimelineChanged</a></span>​(<a href="../Timeline.html" title="class in com.google.android.exoplayer2">Timeline</a> expectedTimeline,
|
|
int expectedReason)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Schedules a delay until the timeline changed to a specified expected timeline.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
|
|
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="constructor.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a id="<init>(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>Builder</h4>
|
|
<pre>public Builder​(<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> tag)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>tag</code> - A tag to use for logging.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a id="delay(long)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>delay</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> delay​(long delayMs)</pre>
|
|
<div class="block">Schedules a delay between executing any previous actions and any subsequent ones.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>delayMs</code> - The delay in milliseconds.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="apply(com.google.android.exoplayer2.testutil.Action)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>apply</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> apply​(<a href="Action.html" title="class in com.google.android.exoplayer2.testutil">Action</a> action)</pre>
|
|
<div class="block">Schedules an action.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>action</code> - The action to schedule.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="repeat(com.google.android.exoplayer2.testutil.Action,long)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>repeat</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> repeat​(<a href="Action.html" title="class in com.google.android.exoplayer2.testutil">Action</a> action,
|
|
long intervalMs)</pre>
|
|
<div class="block">Schedules an action repeatedly.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>action</code> - The action to schedule.</dd>
|
|
<dd><code>intervalMs</code> - The interval between each repetition in milliseconds.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="seek(long)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>seek</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> seek​(long positionMs)</pre>
|
|
<div class="block">Schedules a seek action.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>positionMs</code> - The seek position.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="seek(int,long)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>seek</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> seek​(int windowIndex,
|
|
long positionMs)</pre>
|
|
<div class="block">Schedules a seek action.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>windowIndex</code> - The window to seek to.</dd>
|
|
<dd><code>positionMs</code> - The seek position.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="seek(int,long,boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>seek</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> seek​(int windowIndex,
|
|
long positionMs,
|
|
boolean catchIllegalSeekException)</pre>
|
|
<div class="block">Schedules a seek action to be executed.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>windowIndex</code> - The window to seek to.</dd>
|
|
<dd><code>positionMs</code> - The seek position.</dd>
|
|
<dd><code>catchIllegalSeekException</code> - Whether an illegal seek position should be caught or not.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="seekAndWait(long)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>seekAndWait</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> seekAndWait​(long positionMs)</pre>
|
|
<div class="block">Schedules a seek action and waits until playback resumes after the seek.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>positionMs</code> - The seek position.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="waitForPendingPlayerCommands()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>waitForPendingPlayerCommands</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> waitForPendingPlayerCommands()</pre>
|
|
<div class="block">Schedules a delay until all pending player commands have been handled.
|
|
|
|
<p>A command is considered as having been handled if it arrived on the playback thread and
|
|
the player acknowledged that it received the command back to the app thread.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setPlaybackParameters(com.google.android.exoplayer2.PlaybackParameters)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPlaybackParameters</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> setPlaybackParameters​(<a href="../PlaybackParameters.html" title="class in com.google.android.exoplayer2">PlaybackParameters</a> playbackParameters)</pre>
|
|
<div class="block">Schedules a playback parameters setting action.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>playbackParameters</code> - The playback parameters to set.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../Player.html#setPlaybackParameters(com.google.android.exoplayer2.PlaybackParameters)"><code>Player.setPlaybackParameters(PlaybackParameters)</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="stop()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>stop</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> stop()</pre>
|
|
<div class="block">Schedules a stop action.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="stop(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>stop</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> stop​(boolean reset)</pre>
|
|
<div class="block">Schedules a stop action.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>reset</code> - Whether the player should be reset.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="play()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>play</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> play()</pre>
|
|
<div class="block">Schedules a play action.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="playUntilPosition(int,long)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playUntilPosition</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> playUntilPosition​(int windowIndex,
|
|
long positionMs)</pre>
|
|
<div class="block">Schedules a play action, waits until the player reaches the specified position, and pauses
|
|
the player again.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>windowIndex</code> - The window index at which the player should be paused again.</dd>
|
|
<dd><code>positionMs</code> - The position in that window at which the player should be paused again.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="playUntilStartOfWindow(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playUntilStartOfWindow</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> playUntilStartOfWindow​(int windowIndex)</pre>
|
|
<div class="block">Schedules a play action, waits until the player reaches the start of the specified window,
|
|
and pauses the player again.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>windowIndex</code> - The window index at which the player should be paused again.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="pause()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>pause</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> pause()</pre>
|
|
<div class="block">Schedules a pause action.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="enableRenderer(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>enableRenderer</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> enableRenderer​(int index)</pre>
|
|
<div class="block">Schedules a renderer enable action.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="disableRenderer(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>disableRenderer</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> disableRenderer​(int index)</pre>
|
|
<div class="block">Schedules a renderer disable action.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="clearVideoSurface()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>clearVideoSurface</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> clearVideoSurface()</pre>
|
|
<div class="block">Schedules a clear video surface action.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setVideoSurface()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setVideoSurface</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> setVideoSurface()</pre>
|
|
<div class="block">Schedules a set video surface action.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setAudioAttributes(com.google.android.exoplayer2.audio.AudioAttributes,boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAudioAttributes</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> setAudioAttributes​(<a href="../audio/AudioAttributes.html" title="class in com.google.android.exoplayer2.audio">AudioAttributes</a> audioAttributes,
|
|
boolean handleAudioFocus)</pre>
|
|
<div class="block">Schedules application of audio attributes.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setMediaSources(int,long,com.google.android.exoplayer2.source.MediaSource...)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMediaSources</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> setMediaSources​(int windowIndex,
|
|
long positionMs,
|
|
<a href="../source/MediaSource.html" title="interface in com.google.android.exoplayer2.source">MediaSource</a>... sources)</pre>
|
|
<div class="block">Schedules a set media items action to be executed.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>windowIndex</code> - The window index to start playback from or <a href="../C.html#INDEX_UNSET"><code>C.INDEX_UNSET</code></a> if the
|
|
playback position should not be reset.</dd>
|
|
<dd><code>positionMs</code> - The position in milliseconds from where playback should start. If <a href="../C.html#TIME_UNSET"><code>C.TIME_UNSET</code></a> is passed the default position is used. In any case, if <code>windowIndex</code>
|
|
is set to <a href="../C.html#INDEX_UNSET"><code>C.INDEX_UNSET</code></a> the position is not reset at all and this parameter is
|
|
ignored.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setMediaSources(boolean,com.google.android.exoplayer2.source.MediaSource...)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMediaSources</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> setMediaSources​(boolean resetPosition,
|
|
<a href="../source/MediaSource.html" title="interface in com.google.android.exoplayer2.source">MediaSource</a>... sources)</pre>
|
|
<div class="block">Schedules a set media items action to be executed.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>resetPosition</code> - Whether the playback position should be reset.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setMediaSources(com.google.android.exoplayer2.source.MediaSource...)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMediaSources</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> setMediaSources​(<a href="../source/MediaSource.html" title="interface in com.google.android.exoplayer2.source">MediaSource</a>... mediaSources)</pre>
|
|
<div class="block">Schedules a set media items action to be executed.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>mediaSources</code> - The media sources to add.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="addMediaSources(com.google.android.exoplayer2.source.MediaSource...)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addMediaSources</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> addMediaSources​(<a href="../source/MediaSource.html" title="interface in com.google.android.exoplayer2.source">MediaSource</a>... mediaSources)</pre>
|
|
<div class="block">Schedules a add media items action to be executed.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>mediaSources</code> - The media sources to add.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="moveMediaItem(int,int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>moveMediaItem</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> moveMediaItem​(int currentIndex,
|
|
int newIndex)</pre>
|
|
<div class="block">Schedules a move media item action to be executed.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>currentIndex</code> - The current index of the item to move.</dd>
|
|
<dd><code>newIndex</code> - The index after the item has been moved.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="removeMediaItem(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeMediaItem</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> removeMediaItem​(int index)</pre>
|
|
<div class="block">Schedules a remove media item action to be executed.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>index</code> - The index of the media item to be removed.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="removeMediaItems(int,int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeMediaItems</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> removeMediaItems​(int fromIndex,
|
|
int toIndex)</pre>
|
|
<div class="block">Schedules a remove media items action to be executed.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>fromIndex</code> - The start of the range of media items to be removed.</dd>
|
|
<dd><code>toIndex</code> - The end of the range of media items to be removed (exclusive).</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="prepare()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>prepare</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> prepare()</pre>
|
|
<div class="block">Schedules a prepare action to be executed.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="clearMediaItems()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>clearMediaItems</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> clearMediaItems()</pre>
|
|
<div class="block">Schedules a clear media items action to be created.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder. for convenience,</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setRepeatMode(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setRepeatMode</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> setRepeatMode​(<a href="../Player.RepeatMode.html" title="annotation in com.google.android.exoplayer2">@RepeatMode</a>
|
|
int repeatMode)</pre>
|
|
<div class="block">Schedules a repeat mode setting action.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setShuffleOrder(com.google.android.exoplayer2.source.ShuffleOrder)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setShuffleOrder</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> setShuffleOrder​(<a href="../source/ShuffleOrder.html" title="interface in com.google.android.exoplayer2.source">ShuffleOrder</a> shuffleOrder)</pre>
|
|
<div class="block">Schedules a set shuffle order action to be executed.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>shuffleOrder</code> - The shuffle order.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setShuffleModeEnabled(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setShuffleModeEnabled</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> setShuffleModeEnabled​(boolean shuffleModeEnabled)</pre>
|
|
<div class="block">Schedules a shuffle setting action to be executed.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="sendMessage(com.google.android.exoplayer2.PlayerMessage.Target,long)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>sendMessage</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> sendMessage​(<a href="../PlayerMessage.Target.html" title="interface in com.google.android.exoplayer2">PlayerMessage.Target</a> target,
|
|
long positionMs)</pre>
|
|
<div class="block">Schedules sending a <a href="../PlayerMessage.html" title="class in com.google.android.exoplayer2"><code>PlayerMessage</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>positionMs</code> - The position in the current window at which the message should be sent, in
|
|
milliseconds.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="sendMessage(com.google.android.exoplayer2.PlayerMessage.Target,int,long)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>sendMessage</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> sendMessage​(<a href="../PlayerMessage.Target.html" title="interface in com.google.android.exoplayer2">PlayerMessage.Target</a> target,
|
|
int windowIndex,
|
|
long positionMs)</pre>
|
|
<div class="block">Schedules sending a <a href="../PlayerMessage.html" title="class in com.google.android.exoplayer2"><code>PlayerMessage</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>target</code> - A message target.</dd>
|
|
<dd><code>windowIndex</code> - The window index at which the message should be sent.</dd>
|
|
<dd><code>positionMs</code> - The position at which the message should be sent, in milliseconds.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="sendMessage(com.google.android.exoplayer2.PlayerMessage.Target,int,long,boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>sendMessage</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> sendMessage​(<a href="../PlayerMessage.Target.html" title="interface in com.google.android.exoplayer2">PlayerMessage.Target</a> target,
|
|
int windowIndex,
|
|
long positionMs,
|
|
boolean deleteAfterDelivery)</pre>
|
|
<div class="block">Schedules to send a <a href="../PlayerMessage.html" title="class in com.google.android.exoplayer2"><code>PlayerMessage</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>target</code> - A message target.</dd>
|
|
<dd><code>windowIndex</code> - The window index at which the message should be sent.</dd>
|
|
<dd><code>positionMs</code> - The position at which the message should be sent, in milliseconds.</dd>
|
|
<dd><code>deleteAfterDelivery</code> - Whether the message will be deleted after delivery.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="waitForTimelineChanged()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>waitForTimelineChanged</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> waitForTimelineChanged()</pre>
|
|
<div class="block">Schedules a delay until any timeline change.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="waitForTimelineChanged(com.google.android.exoplayer2.Timeline,int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>waitForTimelineChanged</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> waitForTimelineChanged​(<a href="../Timeline.html" title="class in com.google.android.exoplayer2">Timeline</a> expectedTimeline,
|
|
<a href="../Player.TimelineChangeReason.html" title="annotation in com.google.android.exoplayer2">@TimelineChangeReason</a>
|
|
int expectedReason)</pre>
|
|
<div class="block">Schedules a delay until the timeline changed to a specified expected timeline.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>expectedTimeline</code> - The expected timeline.</dd>
|
|
<dd><code>expectedReason</code> - The expected reason of the timeline change.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="waitForPositionDiscontinuity()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>waitForPositionDiscontinuity</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> waitForPositionDiscontinuity()</pre>
|
|
<div class="block">Schedules a delay until the next position discontinuity.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="waitForPlayWhenReady(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>waitForPlayWhenReady</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> waitForPlayWhenReady​(boolean targetPlayWhenReady)</pre>
|
|
<div class="block">Schedules a delay until playWhenReady has the specified value.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>targetPlayWhenReady</code> - The target playWhenReady value.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="waitForPlaybackState(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>waitForPlaybackState</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> waitForPlaybackState​(<a href="../Player.State.html" title="annotation in com.google.android.exoplayer2">@State</a>
|
|
int targetPlaybackState)</pre>
|
|
<div class="block">Schedules a delay until the playback state changed to the specified state.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>targetPlaybackState</code> - The target playback state.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="waitForIsLoading(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>waitForIsLoading</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> waitForIsLoading​(boolean targetIsLoading)</pre>
|
|
<div class="block">Schedules a delay until <code>player.isLoading()</code> changes to the specified value.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>targetIsLoading</code> - The target value of <code>player.isLoading()</code>.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="waitForMessage(com.google.android.exoplayer2.testutil.ActionSchedule.PlayerTarget)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>waitForMessage</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> waitForMessage​(<a href="ActionSchedule.PlayerTarget.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.PlayerTarget</a> playerTarget)</pre>
|
|
<div class="block">Schedules a delay until a message arrives at the <a href="../PlayerMessage.Target.html" title="interface in com.google.android.exoplayer2"><code>PlayerMessage.Target</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>playerTarget</code> - The target to observe.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="executeRunnable(java.lang.Runnable)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>executeRunnable</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> executeRunnable​(<a href="https://developer.android.com/reference/java/lang/Runnable.html" title="class or interface in java.lang" class="externalLink" target="_top">Runnable</a> runnable)</pre>
|
|
<div class="block">Schedules a <a href="https://developer.android.com/reference/java/lang/Runnable.html" title="class or interface in java.lang" class="externalLink" target="_top"><code>Runnable</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="throwPlaybackException(com.google.android.exoplayer2.ExoPlaybackException)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>throwPlaybackException</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.Builder.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule.Builder</a> throwPlaybackException​(<a href="../ExoPlaybackException.html" title="class in com.google.android.exoplayer2">ExoPlaybackException</a> exception)</pre>
|
|
<div class="block">Schedules to throw a playback exception on the playback thread.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>exception</code> - The exception to throw.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The builder, for convenience.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="build()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>build</h4>
|
|
<pre class="methodSignature">public <a href="ActionSchedule.html" title="class in com.google.android.exoplayer2.testutil">ActionSchedule</a> build()</pre>
|
|
<div class="block">Builds the schedule.</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<footer role="contentinfo">
|
|
<nav role="navigation">
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a id="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a id="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</nav>
|
|
</footer>
|
|
</body>
|
|
</html>
|