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
1a198b8a
authored
Apr 10, 2015
by
Oliver Woodman
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Minor cleanup (remove deprecated method, fix javadoc)
parent
9183525b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
library/src/main/java/com/google/android/exoplayer/ExoPlayer.java
library/src/main/java/com/google/android/exoplayer/ExoPlayer.java
View file @
1a198b8a
...
...
@@ -141,14 +141,6 @@ public interface ExoPlayer {
return
new
ExoPlayerImpl
(
rendererCount
,
DEFAULT_MIN_BUFFER_MS
,
DEFAULT_MIN_REBUFFER_MS
);
}
/**
* @deprecated Please use {@link #newInstance(int, int, int)}.
*/
@Deprecated
public
static
ExoPlayer
newInstance
(
int
rendererCount
,
int
minRebufferMs
)
{
return
new
ExoPlayerImpl
(
rendererCount
,
DEFAULT_MIN_BUFFER_MS
,
minRebufferMs
);
}
}
/**
...
...
@@ -160,7 +152,8 @@ public interface ExoPlayer {
* {@link ExoPlayer#getPlaybackState()} changes.
*
* @param playWhenReady Whether playback will proceed when ready.
* @param playbackState One of the {@code STATE} constants defined in this class.
* @param playbackState One of the {@code STATE} constants defined in the {@link ExoPlayer}
* interface.
*/
void
onPlayerStateChanged
(
boolean
playWhenReady
,
int
playbackState
);
/**
...
...
@@ -256,7 +249,7 @@ public interface ExoPlayer {
/**
* Returns the current state of the player.
*
* @return One of the {@code STATE} constants defined in this
class
.
* @return One of the {@code STATE} constants defined in this
interface
.
*/
public
int
getPlaybackState
();
...
...
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