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
268ad81a
authored
Sep 09, 2020
by
olly
Committed by
Oliver Woodman
Sep 11, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix Javadoc for DefaultDataSourceFactory constructors
PiperOrigin-RevId: 330736458
parent
29463cfc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletions
library/core/src/main/java/com/google/android/exoplayer2/upstream/DefaultDataSourceFactory.java
library/core/src/main/java/com/google/android/exoplayer2/upstream/DefaultDataSourceFactory.java
View file @
268ad81a
...
...
@@ -31,12 +31,18 @@ public final class DefaultDataSourceFactory implements Factory {
@Nullable
private
final
TransferListener
listener
;
private
final
DataSource
.
Factory
baseDataSourceFactory
;
/** @param context A context. */
/**
* Creates an instance.
*
* @param context A context.
*/
public
DefaultDataSourceFactory
(
Context
context
)
{
this
(
context
,
DEFAULT_USER_AGENT
,
/* listener= */
null
);
}
/**
* Creates an instance.
*
* @param context A context.
* @param userAgent The User-Agent string that should be used.
*/
...
...
@@ -45,6 +51,8 @@ public final class DefaultDataSourceFactory implements Factory {
}
/**
* Creates an instance.
*
* @param context A context.
* @param userAgent The User-Agent string that should be used.
* @param listener An optional listener.
...
...
@@ -55,6 +63,8 @@ public final class DefaultDataSourceFactory implements Factory {
}
/**
* Creates an instance.
*
* @param context A context.
* @param baseDataSourceFactory A {@link Factory} to be used to create a base {@link DataSource}
* for {@link DefaultDataSource}.
...
...
@@ -65,6 +75,8 @@ public final class DefaultDataSourceFactory implements Factory {
}
/**
* Creates an instance.
*
* @param context A context.
* @param listener An optional listener.
* @param baseDataSourceFactory A {@link Factory} to be used to create a base {@link DataSource}
...
...
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