media/docs/doc/reference/com/google/android/exoplayer2/ui/PlayerNotificationManager.Builder.html
ibaker a5571010d0 Update javadoc for 2.17.0
#minor-release

PiperOrigin-RevId: 430437927
2022-02-23 16:28:08 +00:00

986 lines
50 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>PlayerNotificationManager.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="PlayerNotificationManager.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};
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&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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">&nbsp;</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>&nbsp;<a href="package-summary.html">com.google.android.exoplayer2.ui</a></div>
<h2 title="Class PlayerNotificationManager.Builder" class="title">Class PlayerNotificationManager.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.ui.PlayerNotificationManager.Builder</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Enclosing class:</dt>
<dd><a href="PlayerNotificationManager.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager</a></dd>
</dl>
<hr>
<pre>public static class <span class="typeNameLabel">PlayerNotificationManager.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="PlayerNotificationManager.html" title="class in com.google.android.exoplayer2.ui"><code>PlayerNotificationManager</code></a> instances.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#channelDescriptionResourceId">channelDescriptionResourceId</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#channelId">channelId</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#channelImportance">channelImportance</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#channelNameResourceId">channelNameResourceId</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#context">context</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="PlayerNotificationManager.CustomActionReceiver.html" title="interface in com.google.android.exoplayer2.ui">PlayerNotificationManager.CustomActionReceiver</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#customActionReceiver">customActionReceiver</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fastForwardActionIconResourceId">fastForwardActionIconResourceId</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#groupKey">groupKey</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="PlayerNotificationManager.MediaDescriptionAdapter.html" title="interface in com.google.android.exoplayer2.ui">PlayerNotificationManager.MediaDescriptionAdapter</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#mediaDescriptionAdapter">mediaDescriptionAdapter</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nextActionIconResourceId">nextActionIconResourceId</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#notificationId">notificationId</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="PlayerNotificationManager.NotificationListener.html" title="interface in com.google.android.exoplayer2.ui">PlayerNotificationManager.NotificationListener</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#notificationListener">notificationListener</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#pauseActionIconResourceId">pauseActionIconResourceId</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#playActionIconResourceId">playActionIconResourceId</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#previousActionIconResourceId">previousActionIconResourceId</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rewindActionIconResourceId">rewindActionIconResourceId</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#smallIconResourceId">smallIconResourceId</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stopActionIconResourceId">stopActionIconResourceId</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ======== 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">&nbsp;</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(android.content.Context,int,java.lang.String)">Builder</a></span>&#8203;(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a>&nbsp;context,
int&nbsp;notificationId,
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a>&nbsp;channelId)</code></th>
<td class="colLast">
<div class="block">Creates an instance.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(android.content.Context,int,java.lang.String,com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter)">Builder</a></span>&#8203;(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a>&nbsp;context,
int&nbsp;notificationId,
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a>&nbsp;channelId,
<a href="PlayerNotificationManager.MediaDescriptionAdapter.html" title="interface in com.google.android.exoplayer2.ui">PlayerNotificationManager.MediaDescriptionAdapter</a>&nbsp;mediaDescriptionAdapter)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="#%3Cinit%3E(android.content.Context,int,java.lang.String)"><code>Builder(Context, int, String)</code></a> instead, then call <a href="#setMediaDescriptionAdapter(com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter)"><code>setMediaDescriptionAdapter(MediaDescriptionAdapter)</code></a>.</div>
</div>
</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">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</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="PlayerNotificationManager.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager</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 <a href="PlayerNotificationManager.html" title="class in com.google.android.exoplayer2.ui"><code>PlayerNotificationManager</code></a>.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setChannelDescriptionResourceId(int)">setChannelDescriptionResourceId</a></span>&#8203;(int&nbsp;channelDescriptionResourceId)</code></th>
<td class="colLast">
<div class="block">The description of the channel.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setChannelImportance(@com.google.android.exoplayer2.util.NotificationUtil.Importanceint)">setChannelImportance</a></span>&#8203;(@com.google.android.exoplayer2.util.NotificationUtil.Importance int&nbsp;channelImportance)</code></th>
<td class="colLast">
<div class="block">The importance of the channel.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setChannelNameResourceId(int)">setChannelNameResourceId</a></span>&#8203;(int&nbsp;channelNameResourceId)</code></th>
<td class="colLast">
<div class="block">The name of the channel.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCustomActionReceiver(com.google.android.exoplayer2.ui.PlayerNotificationManager.CustomActionReceiver)">setCustomActionReceiver</a></span>&#8203;(<a href="PlayerNotificationManager.CustomActionReceiver.html" title="interface in com.google.android.exoplayer2.ui">PlayerNotificationManager.CustomActionReceiver</a>&nbsp;customActionReceiver)</code></th>
<td class="colLast">
<div class="block">The <a href="PlayerNotificationManager.CustomActionReceiver.html" title="interface in com.google.android.exoplayer2.ui"><code>PlayerNotificationManager.CustomActionReceiver</code></a> to be used.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFastForwardActionIconResourceId(int)">setFastForwardActionIconResourceId</a></span>&#8203;(int&nbsp;fastForwardActionIconResourceId)</code></th>
<td class="colLast">
<div class="block">The resource id of the drawable to be used as the icon of action <a href="PlayerNotificationManager.html#ACTION_FAST_FORWARD"><code>PlayerNotificationManager.ACTION_FAST_FORWARD</code></a>.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setGroup(java.lang.String)">setGroup</a></span>&#8203;(<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a>&nbsp;groupKey)</code></th>
<td class="colLast">
<div class="block">The key of the group the media notification should belong to.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaDescriptionAdapter(com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter)">setMediaDescriptionAdapter</a></span>&#8203;(<a href="PlayerNotificationManager.MediaDescriptionAdapter.html" title="interface in com.google.android.exoplayer2.ui">PlayerNotificationManager.MediaDescriptionAdapter</a>&nbsp;mediaDescriptionAdapter)</code></th>
<td class="colLast">
<div class="block">The <a href="PlayerNotificationManager.MediaDescriptionAdapter.html" title="interface in com.google.android.exoplayer2.ui"><code>PlayerNotificationManager.MediaDescriptionAdapter</code></a> to be queried for the notification contents.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setNextActionIconResourceId(int)">setNextActionIconResourceId</a></span>&#8203;(int&nbsp;nextActionIconResourceId)</code></th>
<td class="colLast">
<div class="block">The resource id of the drawable to be used as the icon of action <a href="PlayerNotificationManager.html#ACTION_NEXT"><code>PlayerNotificationManager.ACTION_NEXT</code></a>.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setNotificationListener(com.google.android.exoplayer2.ui.PlayerNotificationManager.NotificationListener)">setNotificationListener</a></span>&#8203;(<a href="PlayerNotificationManager.NotificationListener.html" title="interface in com.google.android.exoplayer2.ui">PlayerNotificationManager.NotificationListener</a>&nbsp;notificationListener)</code></th>
<td class="colLast">
<div class="block">The <a href="PlayerNotificationManager.NotificationListener.html" title="interface in com.google.android.exoplayer2.ui"><code>PlayerNotificationManager.NotificationListener</code></a> to be used.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPauseActionIconResourceId(int)">setPauseActionIconResourceId</a></span>&#8203;(int&nbsp;pauseActionIconResourceId)</code></th>
<td class="colLast">
<div class="block">The resource id of the drawable to be used as the icon of action <a href="PlayerNotificationManager.html#ACTION_PAUSE"><code>PlayerNotificationManager.ACTION_PAUSE</code></a>.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlayActionIconResourceId(int)">setPlayActionIconResourceId</a></span>&#8203;(int&nbsp;playActionIconResourceId)</code></th>
<td class="colLast">
<div class="block">The resource id of the drawable to be used as the icon of action <a href="PlayerNotificationManager.html#ACTION_PLAY"><code>PlayerNotificationManager.ACTION_PLAY</code></a>.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPreviousActionIconResourceId(int)">setPreviousActionIconResourceId</a></span>&#8203;(int&nbsp;previousActionIconResourceId)</code></th>
<td class="colLast">
<div class="block">The resource id of the drawable to be used as the icon of action <a href="PlayerNotificationManager.html#ACTION_PREVIOUS"><code>PlayerNotificationManager.ACTION_PREVIOUS</code></a>.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRewindActionIconResourceId(int)">setRewindActionIconResourceId</a></span>&#8203;(int&nbsp;rewindActionIconResourceId)</code></th>
<td class="colLast">
<div class="block">The resource id of the drawable to be used as the icon of action <a href="PlayerNotificationManager.html#ACTION_REWIND"><code>PlayerNotificationManager.ACTION_REWIND</code></a>.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSmallIconResourceId(int)">setSmallIconResourceId</a></span>&#8203;(int&nbsp;smallIconResourceId)</code></th>
<td class="colLast">
<div class="block">The resource id of the small icon of the notification shown in the status bar.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setStopActionIconResourceId(int)">setStopActionIconResourceId</a></span>&#8203;(int&nbsp;stopActionIconResourceId)</code></th>
<td class="colLast">
<div class="block">The resource id of the drawable to be used as the icon of action <a href="PlayerNotificationManager.html#ACTION_STOP"><code>PlayerNotificationManager.ACTION_STOP</code></a>.</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&nbsp;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">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="context">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>context</h4>
<pre>protected final&nbsp;<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context</pre>
</li>
</ul>
<a id="notificationId">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>notificationId</h4>
<pre>protected final&nbsp;int notificationId</pre>
</li>
</ul>
<a id="channelId">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>channelId</h4>
<pre>protected final&nbsp;<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> channelId</pre>
</li>
</ul>
<a id="notificationListener">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>notificationListener</h4>
<pre>@Nullable
protected&nbsp;<a href="PlayerNotificationManager.NotificationListener.html" title="interface in com.google.android.exoplayer2.ui">PlayerNotificationManager.NotificationListener</a> notificationListener</pre>
</li>
</ul>
<a id="customActionReceiver">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>customActionReceiver</h4>
<pre>@Nullable
protected&nbsp;<a href="PlayerNotificationManager.CustomActionReceiver.html" title="interface in com.google.android.exoplayer2.ui">PlayerNotificationManager.CustomActionReceiver</a> customActionReceiver</pre>
</li>
</ul>
<a id="mediaDescriptionAdapter">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mediaDescriptionAdapter</h4>
<pre>protected&nbsp;<a href="PlayerNotificationManager.MediaDescriptionAdapter.html" title="interface in com.google.android.exoplayer2.ui">PlayerNotificationManager.MediaDescriptionAdapter</a> mediaDescriptionAdapter</pre>
</li>
</ul>
<a id="channelNameResourceId">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>channelNameResourceId</h4>
<pre>protected&nbsp;int channelNameResourceId</pre>
</li>
</ul>
<a id="channelDescriptionResourceId">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>channelDescriptionResourceId</h4>
<pre>protected&nbsp;int channelDescriptionResourceId</pre>
</li>
</ul>
<a id="channelImportance">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>channelImportance</h4>
<pre>protected&nbsp;int channelImportance</pre>
</li>
</ul>
<a id="smallIconResourceId">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>smallIconResourceId</h4>
<pre>protected&nbsp;int smallIconResourceId</pre>
</li>
</ul>
<a id="rewindActionIconResourceId">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rewindActionIconResourceId</h4>
<pre>protected&nbsp;int rewindActionIconResourceId</pre>
</li>
</ul>
<a id="playActionIconResourceId">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>playActionIconResourceId</h4>
<pre>protected&nbsp;int playActionIconResourceId</pre>
</li>
</ul>
<a id="pauseActionIconResourceId">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pauseActionIconResourceId</h4>
<pre>protected&nbsp;int pauseActionIconResourceId</pre>
</li>
</ul>
<a id="stopActionIconResourceId">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stopActionIconResourceId</h4>
<pre>protected&nbsp;int stopActionIconResourceId</pre>
</li>
</ul>
<a id="fastForwardActionIconResourceId">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fastForwardActionIconResourceId</h4>
<pre>protected&nbsp;int fastForwardActionIconResourceId</pre>
</li>
</ul>
<a id="previousActionIconResourceId">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>previousActionIconResourceId</h4>
<pre>protected&nbsp;int previousActionIconResourceId</pre>
</li>
</ul>
<a id="nextActionIconResourceId">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nextActionIconResourceId</h4>
<pre>protected&nbsp;int nextActionIconResourceId</pre>
</li>
</ul>
<a id="groupKey">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>groupKey</h4>
<pre>@Nullable
protected&nbsp;<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> groupKey</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(android.content.Context,int,java.lang.String,com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Builder</h4>
<pre><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
public&nbsp;Builder&#8203;(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a>&nbsp;context,
int&nbsp;notificationId,
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a>&nbsp;channelId,
<a href="PlayerNotificationManager.MediaDescriptionAdapter.html" title="interface in com.google.android.exoplayer2.ui">PlayerNotificationManager.MediaDescriptionAdapter</a>&nbsp;mediaDescriptionAdapter)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="#%3Cinit%3E(android.content.Context,int,java.lang.String)"><code>Builder(Context, int, String)</code></a> instead, then call <a href="#setMediaDescriptionAdapter(com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter)"><code>setMediaDescriptionAdapter(MediaDescriptionAdapter)</code></a>.</div>
</div>
</li>
</ul>
<a id="&lt;init&gt;(android.content.Context,int,java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Builder</h4>
<pre>public&nbsp;Builder&#8203;(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a>&nbsp;context,
@IntRange(from=1L)
int&nbsp;notificationId,
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a>&nbsp;channelId)</pre>
<div class="block">Creates an instance.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - The <a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top"><code>Context</code></a>.</dd>
<dd><code>notificationId</code> - The id of the notification to be posted. Must be greater than 0.</dd>
<dd><code>channelId</code> - The id of the notification channel of an existing notification channel or of
the channel that should be automatically created. In the latter case, <a href="#setChannelNameResourceId(int)"><code>setChannelNameResourceId(int)</code></a> needs to be called as well.</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="setChannelNameResourceId(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setChannelNameResourceId</h4>
<pre class="methodSignature">public&nbsp;<a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a>&nbsp;setChannelNameResourceId&#8203;(int&nbsp;channelNameResourceId)</pre>
<div class="block">The name of the channel. If set to a value other than <code>0</code>, the channel is automatically
created when <a href="#build()"><code>build()</code></a> is called. If the application has already created the
notification channel, then this method should not be called.
<p>The default is <code>0</code>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder.</dd>
</dl>
</li>
</ul>
<a id="setChannelDescriptionResourceId(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setChannelDescriptionResourceId</h4>
<pre class="methodSignature">public&nbsp;<a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a>&nbsp;setChannelDescriptionResourceId&#8203;(int&nbsp;channelDescriptionResourceId)</pre>
<div class="block">The description of the channel. Ignored if <a href="#setChannelNameResourceId(int)"><code>setChannelNameResourceId(int)</code></a> is not
called with a value other than <code>0</code>. If the application has already created the
notification channel, then this method should not be called.
<p>The default is <code>0</code>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder.</dd>
</dl>
</li>
</ul>
<a id="setChannelImportance(@com.google.android.exoplayer2.util.NotificationUtil.Importanceint)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setChannelImportance</h4>
<pre class="methodSignature">public&nbsp;<a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a>&nbsp;setChannelImportance&#8203;(@com.google.android.exoplayer2.util.NotificationUtil.Importance int&nbsp;channelImportance)</pre>
<div class="block">The importance of the channel. Ignored if <a href="#setChannelNameResourceId(int)"><code>setChannelNameResourceId(int)</code></a> is not
called with a value other than <code>0</code>. If the application has already created the
notification channel, then this method should not be called.
<p>The default is <a href="../util/NotificationUtil.html#IMPORTANCE_LOW"><code>NotificationUtil.IMPORTANCE_LOW</code></a>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder.</dd>
</dl>
</li>
</ul>
<a id="setNotificationListener(com.google.android.exoplayer2.ui.PlayerNotificationManager.NotificationListener)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNotificationListener</h4>
<pre class="methodSignature">public&nbsp;<a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a>&nbsp;setNotificationListener&#8203;(<a href="PlayerNotificationManager.NotificationListener.html" title="interface in com.google.android.exoplayer2.ui">PlayerNotificationManager.NotificationListener</a>&nbsp;notificationListener)</pre>
<div class="block">The <a href="PlayerNotificationManager.NotificationListener.html" title="interface in com.google.android.exoplayer2.ui"><code>PlayerNotificationManager.NotificationListener</code></a> to be used.
<p>The default is <code>null</code>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder.</dd>
</dl>
</li>
</ul>
<a id="setCustomActionReceiver(com.google.android.exoplayer2.ui.PlayerNotificationManager.CustomActionReceiver)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCustomActionReceiver</h4>
<pre class="methodSignature">public&nbsp;<a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a>&nbsp;setCustomActionReceiver&#8203;(<a href="PlayerNotificationManager.CustomActionReceiver.html" title="interface in com.google.android.exoplayer2.ui">PlayerNotificationManager.CustomActionReceiver</a>&nbsp;customActionReceiver)</pre>
<div class="block">The <a href="PlayerNotificationManager.CustomActionReceiver.html" title="interface in com.google.android.exoplayer2.ui"><code>PlayerNotificationManager.CustomActionReceiver</code></a> to be used.
<p>The default is <code>null</code>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder.</dd>
</dl>
</li>
</ul>
<a id="setSmallIconResourceId(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSmallIconResourceId</h4>
<pre class="methodSignature">public&nbsp;<a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a>&nbsp;setSmallIconResourceId&#8203;(int&nbsp;smallIconResourceId)</pre>
<div class="block">The resource id of the small icon of the notification shown in the status bar. See <code>NotificationCompat.Builder.setSmallIcon(int)</code>.
<p>The default is <code>R.drawable#exo_notification_small_icon</code>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder.</dd>
</dl>
</li>
</ul>
<a id="setPlayActionIconResourceId(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPlayActionIconResourceId</h4>
<pre class="methodSignature">public&nbsp;<a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a>&nbsp;setPlayActionIconResourceId&#8203;(int&nbsp;playActionIconResourceId)</pre>
<div class="block">The resource id of the drawable to be used as the icon of action <a href="PlayerNotificationManager.html#ACTION_PLAY"><code>PlayerNotificationManager.ACTION_PLAY</code></a>.
<p>The default is <code>R.drawable#exo_notification_play</code>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder.</dd>
</dl>
</li>
</ul>
<a id="setPauseActionIconResourceId(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPauseActionIconResourceId</h4>
<pre class="methodSignature">public&nbsp;<a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a>&nbsp;setPauseActionIconResourceId&#8203;(int&nbsp;pauseActionIconResourceId)</pre>
<div class="block">The resource id of the drawable to be used as the icon of action <a href="PlayerNotificationManager.html#ACTION_PAUSE"><code>PlayerNotificationManager.ACTION_PAUSE</code></a>.
<p>The default is <code>R.drawable#exo_notification_pause</code>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder.</dd>
</dl>
</li>
</ul>
<a id="setStopActionIconResourceId(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStopActionIconResourceId</h4>
<pre class="methodSignature">public&nbsp;<a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a>&nbsp;setStopActionIconResourceId&#8203;(int&nbsp;stopActionIconResourceId)</pre>
<div class="block">The resource id of the drawable to be used as the icon of action <a href="PlayerNotificationManager.html#ACTION_STOP"><code>PlayerNotificationManager.ACTION_STOP</code></a>.
<p>The default is <code>R.drawable#exo_notification_stop</code>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder.</dd>
</dl>
</li>
</ul>
<a id="setRewindActionIconResourceId(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRewindActionIconResourceId</h4>
<pre class="methodSignature">public&nbsp;<a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a>&nbsp;setRewindActionIconResourceId&#8203;(int&nbsp;rewindActionIconResourceId)</pre>
<div class="block">The resource id of the drawable to be used as the icon of action <a href="PlayerNotificationManager.html#ACTION_REWIND"><code>PlayerNotificationManager.ACTION_REWIND</code></a>.
<p>The default is <code>R.drawable#exo_notification_rewind</code>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder.</dd>
</dl>
</li>
</ul>
<a id="setFastForwardActionIconResourceId(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFastForwardActionIconResourceId</h4>
<pre class="methodSignature">public&nbsp;<a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a>&nbsp;setFastForwardActionIconResourceId&#8203;(int&nbsp;fastForwardActionIconResourceId)</pre>
<div class="block">The resource id of the drawable to be used as the icon of action <a href="PlayerNotificationManager.html#ACTION_FAST_FORWARD"><code>PlayerNotificationManager.ACTION_FAST_FORWARD</code></a>.
<p>The default is <code>R.drawable#exo_notification_fastforward</code>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder.</dd>
</dl>
</li>
</ul>
<a id="setPreviousActionIconResourceId(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPreviousActionIconResourceId</h4>
<pre class="methodSignature">public&nbsp;<a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a>&nbsp;setPreviousActionIconResourceId&#8203;(int&nbsp;previousActionIconResourceId)</pre>
<div class="block">The resource id of the drawable to be used as the icon of action <a href="PlayerNotificationManager.html#ACTION_PREVIOUS"><code>PlayerNotificationManager.ACTION_PREVIOUS</code></a>.
<p>The default is <code>R.drawable#exo_notification_previous</code>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder.</dd>
</dl>
</li>
</ul>
<a id="setNextActionIconResourceId(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNextActionIconResourceId</h4>
<pre class="methodSignature">public&nbsp;<a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a>&nbsp;setNextActionIconResourceId&#8203;(int&nbsp;nextActionIconResourceId)</pre>
<div class="block">The resource id of the drawable to be used as the icon of action <a href="PlayerNotificationManager.html#ACTION_NEXT"><code>PlayerNotificationManager.ACTION_NEXT</code></a>.
<p>The default is <code>R.drawable#exo_notification_next</code>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder.</dd>
</dl>
</li>
</ul>
<a id="setGroup(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGroup</h4>
<pre class="methodSignature">public&nbsp;<a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a>&nbsp;setGroup&#8203;(<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a>&nbsp;groupKey)</pre>
<div class="block">The key of the group the media notification should belong to.
<p>The default is <code>null</code></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder.</dd>
</dl>
</li>
</ul>
<a id="setMediaDescriptionAdapter(com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMediaDescriptionAdapter</h4>
<pre class="methodSignature">public&nbsp;<a href="PlayerNotificationManager.Builder.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager.Builder</a>&nbsp;setMediaDescriptionAdapter&#8203;(<a href="PlayerNotificationManager.MediaDescriptionAdapter.html" title="interface in com.google.android.exoplayer2.ui">PlayerNotificationManager.MediaDescriptionAdapter</a>&nbsp;mediaDescriptionAdapter)</pre>
<div class="block">The <a href="PlayerNotificationManager.MediaDescriptionAdapter.html" title="interface in com.google.android.exoplayer2.ui"><code>PlayerNotificationManager.MediaDescriptionAdapter</code></a> to be queried for the notification contents.
<p>The default is <a href="DefaultMediaDescriptionAdapter.html" title="class in com.google.android.exoplayer2.ui"><code>DefaultMediaDescriptionAdapter</code></a> with no <a href="https://developer.android.com/reference/android/app/PendingIntent.html" title="class or interface in android.app" class="externalLink" target="_top"><code>PendingIntent</code></a></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder.</dd>
</dl>
</li>
</ul>
<a id="build()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>build</h4>
<pre class="methodSignature">public&nbsp;<a href="PlayerNotificationManager.html" title="class in com.google.android.exoplayer2.ui">PlayerNotificationManager</a>&nbsp;build()</pre>
<div class="block">Builds the <a href="PlayerNotificationManager.html" title="class in com.google.android.exoplayer2.ui"><code>PlayerNotificationManager</code></a>.</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&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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>