Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6950f3aa
authored
Aug 17, 2022
by
rohks
Committed by
Marc Baechinger
Sep 30, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix missing commas in documentation of DefaultMediaNotificationProvider
PiperOrigin-RevId: 468257769
parent
0c961a7a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
libraries/session/src/main/java/androidx/media3/session/DefaultMediaNotificationProvider.java
libraries/session/src/main/java/androidx/media3/session/DefaultMediaNotificationProvider.java
View file @
6950f3aa
...
@@ -140,7 +140,7 @@ public class DefaultMediaNotificationProvider implements MediaNotification.Provi
...
@@ -140,7 +140,7 @@ public class DefaultMediaNotificationProvider implements MediaNotification.Provi
/**
/**
* Sets the {@link MediaNotification#notificationId} used for the created notifications. By
* Sets the {@link MediaNotification#notificationId} used for the created notifications. By
* default this is set to {@link #DEFAULT_NOTIFICATION_ID}.
* default
,
this is set to {@link #DEFAULT_NOTIFICATION_ID}.
*
*
* @param notificationId The notification ID.
* @param notificationId The notification ID.
* @return This builder.
* @return This builder.
...
@@ -153,7 +153,7 @@ public class DefaultMediaNotificationProvider implements MediaNotification.Provi
...
@@ -153,7 +153,7 @@ public class DefaultMediaNotificationProvider implements MediaNotification.Provi
/**
/**
* Sets the ID of the {@link NotificationChannel} on which created notifications are posted on.
* Sets the ID of the {@link NotificationChannel} on which created notifications are posted on.
* By default this is set to {@link #DEFAULT_CHANNEL_ID}.
* By default
,
this is set to {@link #DEFAULT_CHANNEL_ID}.
*
*
* @param channelId The channel ID.
* @param channelId The channel ID.
* @return This builder.
* @return This builder.
...
@@ -166,7 +166,7 @@ public class DefaultMediaNotificationProvider implements MediaNotification.Provi
...
@@ -166,7 +166,7 @@ public class DefaultMediaNotificationProvider implements MediaNotification.Provi
/**
/**
* Sets the name of the {@link NotificationChannel} on which created notifications are posted
* Sets the name of the {@link NotificationChannel} on which created notifications are posted
* on. By default this is set to {@link #DEFAULT_CHANNEL_NAME_RESOURCE_ID}.
* on. By default
,
this is set to {@link #DEFAULT_CHANNEL_NAME_RESOURCE_ID}.
*
*
* @param channelNameResourceId The string resource ID with the channel name.
* @param channelNameResourceId The string resource ID with the channel name.
* @return This builder.
* @return This builder.
...
@@ -360,7 +360,7 @@ public class DefaultMediaNotificationProvider implements MediaNotification.Provi
...
@@ -360,7 +360,7 @@ public class DefaultMediaNotificationProvider implements MediaNotification.Provi
* <p>Override this method to customize the buttons on the notification. Commands of the buttons
* <p>Override this method to customize the buttons on the notification. Commands of the buttons
* returned by this method must be contained in {@link MediaController#getAvailableCommands()}.
* returned by this method must be contained in {@link MediaController#getAvailableCommands()}.
*
*
* <p>By default the notification shows {@link Player#COMMAND_PLAY_PAUSE} in {@linkplain
* <p>By default
,
the notification shows {@link Player#COMMAND_PLAY_PAUSE} in {@linkplain
* Notification.MediaStyle#setShowActionsInCompactView(int...) compact view}. This can be
* Notification.MediaStyle#setShowActionsInCompactView(int...) compact view}. This can be
* customized by defining the index of the command in compact view of up to 3 commands in their
* customized by defining the index of the command in compact view of up to 3 commands in their
* extras with key {@link DefaultMediaNotificationProvider#COMMAND_KEY_COMPACT_VIEW_INDEX}.
* extras with key {@link DefaultMediaNotificationProvider#COMMAND_KEY_COMPACT_VIEW_INDEX}.
...
@@ -446,7 +446,7 @@ public class DefaultMediaNotificationProvider implements MediaNotification.Provi
...
@@ -446,7 +446,7 @@ public class DefaultMediaNotificationProvider implements MediaNotification.Provi
* and define which actions are shown in compact view by returning the indices of the buttons to
* and define which actions are shown in compact view by returning the indices of the buttons to
* be shown in compact view.
* be shown in compact view.
*
*
* <p>By default {@link Player#COMMAND_PLAY_PAUSE} is shown in compact view, unless some of the
* <p>By default
,
{@link Player#COMMAND_PLAY_PAUSE} is shown in compact view, unless some of the
* buttons are marked with {@link DefaultMediaNotificationProvider#COMMAND_KEY_COMPACT_VIEW_INDEX}
* buttons are marked with {@link DefaultMediaNotificationProvider#COMMAND_KEY_COMPACT_VIEW_INDEX}
* to declare the index in compact view of the given command button in the button extras.
* to declare the index in compact view of the given command button in the button extras.
*
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment