mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Add nullable annotation to onSourceInfoRefreshed's manifest argument
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=158522507
This commit is contained in:
parent
59315cf923
commit
646047f088
1 changed files with 3 additions and 2 deletions
|
|
@ -15,6 +15,7 @@
|
||||||
*/
|
*/
|
||||||
package com.google.android.exoplayer2.source;
|
package com.google.android.exoplayer2.source;
|
||||||
|
|
||||||
|
import android.support.annotation.Nullable;
|
||||||
import com.google.android.exoplayer2.ExoPlayer;
|
import com.google.android.exoplayer2.ExoPlayer;
|
||||||
import com.google.android.exoplayer2.Timeline;
|
import com.google.android.exoplayer2.Timeline;
|
||||||
import com.google.android.exoplayer2.upstream.Allocator;
|
import com.google.android.exoplayer2.upstream.Allocator;
|
||||||
|
|
@ -34,9 +35,9 @@ public interface MediaSource {
|
||||||
* Called when manifest and/or timeline has been refreshed.
|
* Called when manifest and/or timeline has been refreshed.
|
||||||
*
|
*
|
||||||
* @param timeline The source's timeline.
|
* @param timeline The source's timeline.
|
||||||
* @param manifest The loaded manifest.
|
* @param manifest The loaded manifest. May be null.
|
||||||
*/
|
*/
|
||||||
void onSourceInfoRefreshed(Timeline timeline, Object manifest);
|
void onSourceInfoRefreshed(Timeline timeline, @Nullable Object manifest);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue