mirror of
https://github.com/samsonjs/media.git
synced 2026-04-02 10:45:51 +00:00
Make constructor in EventDispatcher public.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=190907004
This commit is contained in:
parent
4db6d6fbaa
commit
09cf927713
1 changed files with 2 additions and 2 deletions
|
|
@ -266,7 +266,7 @@ public interface MediaSourceEventListener {
|
|||
private final long mediaTimeOffsetMs;
|
||||
|
||||
/** Creates an event dispatcher. */
|
||||
/* package */ EventDispatcher() {
|
||||
public EventDispatcher() {
|
||||
this(
|
||||
/* listenerAndHandlers= */ new CopyOnWriteArrayList<ListenerAndHandler>(),
|
||||
/* windowIndex= */ 0,
|
||||
|
|
@ -295,7 +295,7 @@ public interface MediaSourceEventListener {
|
|||
* @return A view of the event dispatcher with the pre-configured parameters.
|
||||
*/
|
||||
@CheckResult
|
||||
/* package */ EventDispatcher withParameters(
|
||||
public EventDispatcher withParameters(
|
||||
int windowIndex, @Nullable MediaPeriodId mediaPeriodId, long mediaTimeOffsetMs) {
|
||||
return new EventDispatcher(
|
||||
listenerAndHandlers, windowIndex, mediaPeriodId, mediaTimeOffsetMs);
|
||||
|
|
|
|||
Loading…
Reference in a new issue