mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Add @OptIn to fields in demo PlayerActivity now this is supported
This is possible now we use `annotation-experimental:1.3.1`. #minor-release PiperOrigin-RevId: 582315579
This commit is contained in:
parent
877d26abdc
commit
8d83d491f1
1 changed files with 4 additions and 4 deletions
|
|
@ -93,11 +93,11 @@ public class PlayerActivity extends AppCompatActivity
|
||||||
|
|
||||||
@Nullable private AdsLoader clientSideAdsLoader;
|
@Nullable private AdsLoader clientSideAdsLoader;
|
||||||
|
|
||||||
// TODO: Annotate this and serverSideAdsLoaderState below with @OptIn when it can be applied to
|
@OptIn(markerClass = UnstableApi.class)
|
||||||
// fields (needs http://r.android.com/2004032 to be released into a version of
|
@Nullable
|
||||||
// androidx.annotation:annotation-experimental).
|
private ImaServerSideAdInsertionMediaSource.AdsLoader serverSideAdsLoader;
|
||||||
@Nullable private ImaServerSideAdInsertionMediaSource.AdsLoader serverSideAdsLoader;
|
|
||||||
|
|
||||||
|
@OptIn(markerClass = UnstableApi.class)
|
||||||
private ImaServerSideAdInsertionMediaSource.AdsLoader.@MonotonicNonNull State
|
private ImaServerSideAdInsertionMediaSource.AdsLoader.@MonotonicNonNull State
|
||||||
serverSideAdsLoaderState;
|
serverSideAdsLoaderState;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue