mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08: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
@ -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…
x
Reference in New Issue
Block a user