From 3da5ab74b94f6996dbc36983cd5a149d7f9a892c Mon Sep 17 00:00:00 2001 From: bachinger Date: Thu, 16 Jun 2022 12:43:56 +0000 Subject: [PATCH] Update JavaDoc #minor-release PiperOrigin-RevId: 455361427 (cherry picked from commit 87420fcdabbe362d571edfd09f3128b6bb3ae873) --- docs/doc/reference/allclasses-index.html | 2494 +++++++-------- docs/doc/reference/allclasses.html | 46 +- docs/doc/reference/allpackages-index.html | 20 +- .../google/android/exoplayer2/BasePlayer.html | 118 +- .../google/android/exoplayer2/Bundleable.html | 2 +- .../exoplayer2/C.AudioContentType.html | 11 +- .../android/exoplayer2/C.BufferFlags.html | 4 +- .../android/exoplayer2/C.ContentType.html | 10 +- .../com/google/android/exoplayer2/C.html | 558 +++- .../exoplayer2/DefaultRenderersFactory.html | 52 +- .../exoplayer2/ExoPlaybackException.html | 4 +- .../android/exoplayer2/ExoPlayer.Builder.html | 39 +- .../exoplayer2/ExoPlayer.TextComponent.html | 4 +- .../google/android/exoplayer2/ExoPlayer.html | 145 +- .../android/exoplayer2/ForwardingPlayer.html | 377 +-- .../android/exoplayer2/HeartRating.html | 7 - .../android/exoplayer2/MediaItem.Builder.html | 33 +- .../MediaItem.DrmConfiguration.Builder.html | 51 +- .../MediaItem.RequestMetadata.Builder.html | 367 +++ ...es.html => MediaItem.RequestMetadata.html} | 227 +- ...diaItem.SubtitleConfiguration.Builder.html | 3 +- .../google/android/exoplayer2/MediaItem.html | 26 +- .../exoplayer2/MediaMetadata.Builder.html | 50 +- .../android/exoplayer2/MediaMetadata.html | 90 +- .../android/exoplayer2/PercentageRating.html | 7 - .../android/exoplayer2/PlaybackException.html | 29 +- .../android/exoplayer2/Player.Command.html | 2 +- .../android/exoplayer2/Player.Commands.html | 28 +- .../android/exoplayer2/Player.Listener.html | 163 +- .../com/google/android/exoplayer2/Player.html | 439 ++- .../com/google/android/exoplayer2/Rating.html | 21 - .../exoplayer2/Renderer.WakeupListener.html | 11 +- .../android/exoplayer2/SimpleExoPlayer.html | 164 +- .../google/android/exoplayer2/StarRating.html | 7 - .../android/exoplayer2/ThumbRating.html | 7 - ....TrackGroupInfo.html => Tracks.Group.html} | 169 +- .../{TracksInfo.html => Tracks.html} | 177 +- .../analytics/AnalyticsCollector.html | 2 +- .../analytics/AnalyticsListener.html | 200 +- .../analytics/DefaultAnalyticsCollector.html | 179 +- .../analytics/MediaMetricsListener.html | 2 +- .../analytics/PlaybackStatsListener.html | 2 +- .../AudioAttributes.AudioAttributesV21.html} | 86 +- .../audio/AudioAttributes.Builder.html | 6 +- .../exoplayer2/audio/AudioAttributes.html | 30 +- .../exoplayer2/audio/AudioCapabilities.html | 53 +- .../exoplayer2/audio/AudioSink.Listener.html | 10 +- .../audio/DecoderAudioRenderer.html | 49 +- .../exoplayer2/audio/package-summary.html | 52 +- .../exoplayer2/audio/package-tree.html | 1 + .../android/exoplayer2/decoder/Buffer.html | 21 +- .../decoder/DecoderInputBuffer.html | 2 +- .../decoder/DecoderOutputBuffer.html | 2 +- .../decoder/SimpleDecoderOutputBuffer.html | 2 +- .../decoder/VideoDecoderOutputBuffer.html | 2 +- .../drm/DefaultDrmSessionManagerProvider.html | 40 +- .../exoplayer2/drm/HttpMediaDrmCallback.html | 34 +- .../exoplayer2/drm/OfflineLicenseHelper.html | 28 +- .../exoplayer2/drm/package-summary.html | 2 +- .../exoplayer2/ext/cast/CastPlayer.html | 193 +- .../ext/cronet/CronetDataSource.html | 15 +- .../ext/ffmpeg/FfmpegAudioRenderer.html | 4 +- .../ext/flac/LibflacAudioRenderer.html | 4 +- .../exoplayer2/ext/ima/ImaAdsLoader.html | 3 +- ...verSideAdInsertionMediaSource.Factory.html | 13 +- .../ImaServerSideAdInsertionUriBuilder.html | 2 +- .../ext/opus/LibopusAudioRenderer.html | 33 +- .../exoplayer2/ext/opus/OpusDecoder.html | 24 +- .../extractor/DefaultExtractorsFactory.html | 2 + .../exoplayer2/extractor/Extractor.html | 2 +- .../AviExtractor.html} | 322 +- .../{rawcc => avi}/package-summary.html | 10 +- .../{rawcc => avi}/package-tree.html | 8 +- .../extractor/mp4/Mp4Extractor.html | 42 +- .../DefaultMediaCodecAdapterFactory.html | 34 +- .../metadata/MetadataInputBuffer.html | 2 +- .../exoplayer2/offline/DownloadHelper.html | 184 +- .../android/exoplayer2/package-summary.html | 58 +- .../android/exoplayer2/package-tree.html | 7 +- .../source/DefaultMediaSourceFactory.html | 179 +- .../source/MediaSource.Factory.html | 13 +- .../ProgressiveMediaSource.Factory.html | 67 +- .../exoplayer2/source/ShuffleOrder.html | 5 +- .../android/exoplayer2/source/TrackGroup.html | 35 +- .../exoplayer2/source/TrackGroupArray.html | 9 +- .../source/ads/AdPlaybackState.html | 76 +- .../exoplayer2/source/ads/AdsLoader.html | 3 +- .../source/dash/DashMediaSource.Factory.html | 41 +- .../exoplayer2/source/dash/DashUtil.html | 4 +- .../dash/manifest/DashManifestParser.html | 146 +- .../hls/DefaultHlsDataSourceFactory.html | 13 +- .../source/hls/HlsDataSourceFactory.html | 9 +- .../source/hls/HlsMediaSource.Factory.html | 58 +- .../exoplayer2/source/package-summary.html | 2 +- .../source/rtsp/RtpPayloadFormat.html | 21 +- .../source/rtsp/RtspMediaSource.Factory.html | 9 +- .../source/rtsp/reader/RtpPayloadReader.html | 2 +- .../source/rtsp/reader/RtpPcmReader.html | 434 +++ .../source/rtsp/reader/package-summary.html | 6 + .../source/rtsp/reader/package-tree.html | 1 + .../SsMediaSource.Factory.html | 42 +- .../testutil/DataSourceContractTest.html | 2 +- .../exoplayer2/testutil/ExoHostedTest.html | 2 +- .../testutil/ExoPlayerTestRunner.html | 2 +- .../testutil/FakeMediaSourceFactory.html | 13 +- .../testutil/FakeTrackSelector.html | 4 +- .../testutil/HttpDataSourceTestEnv.html | 3 +- .../exoplayer2/testutil/StubExoPlayer.html | 227 +- .../exoplayer2/testutil/StubPlayer.html | 187 +- .../android/exoplayer2/testutil/TestUtil.html | 23 +- .../android/exoplayer2/text/CueGroup.html | 417 +++ .../exoplayer2/text/SubtitleInputBuffer.html | 2 +- .../exoplayer2/text/SubtitleOutputBuffer.html | 2 +- .../android/exoplayer2/text/TextOutput.html | 46 +- .../exoplayer2/text/package-summary.html | 16 +- .../android/exoplayer2/text/package-tree.html | 1 + .../exoplayer2/text/webvtt/WebvttDecoder.html | 4 +- ...faultTrackSelector.Parameters.Builder.html | 1883 ++++++++++++ .../DefaultTrackSelector.Parameters.html | 105 +- ...efaultTrackSelector.ParametersBuilder.html | 587 ++-- .../trackselection/DefaultTrackSelector.html | 194 +- .../trackselection/MappingTrackSelector.html | 2 +- ...rride.html => TrackSelectionOverride.html} | 96 +- .../TrackSelectionParameters.Builder.html | 221 +- .../TrackSelectionParameters.html | 146 +- .../trackselection/TrackSelectionUtil.html | 62 +- .../trackselection/TrackSelector.html | 48 +- .../trackselection/TrackSelectorResult.html | 28 +- .../trackselection/package-summary.html | 49 +- .../trackselection/package-tree.html | 5 +- .../transformer/Codec.DecoderFactory.html | 47 +- .../transformer/Codec.EncoderFactory.html | 109 +- .../android/exoplayer2/transformer/Codec.html | 320 +- .../exoplayer2/transformer/DefaultCodec.html | 708 +++++ .../transformer/DefaultEncoderFactory.html | 479 +++ .../transformer/EncoderSelector.html | 306 ++ .../exoplayer2/transformer/EncoderUtil.html | 392 ++- .../transformer/FrameProcessingException.html | 457 +++ .../exoplayer2/transformer/GlEffect.html | 261 ++ .../transformer/GlMatrixTransformation.html | 319 ++ .../transformer/MatrixTransformation.html | 294 ++ .../transformer/Presentation.Builder.html | 420 +++ .../Presentation.Layout.html} | 57 +- .../exoplayer2/transformer/Presentation.html | 481 +++ .../ScaleToFitTransformation.Builder.html | 363 +++ .../transformer/ScaleToFitTransformation.html | 351 +++ .../SingleFrameGlTextureProcessor.html | 346 +++ .../transformer/TransformationException.html | 75 +- .../TransformationRequest.Builder.html | 166 +- .../transformer/TransformationRequest.html | 117 +- .../TransformationResult.Builder.html} | 117 +- .../transformer/TransformationResult.html | 438 +++ .../transformer/Transformer.Builder.html | 109 +- .../transformer/Transformer.Listener.html | 36 +- .../exoplayer2/transformer/Transformer.html | 19 +- .../VideoEncoderSettings.BitrateMode.html | 193 ++ .../VideoEncoderSettings.Builder.html | 469 +++ .../transformer/VideoEncoderSettings.html | 582 ++++ .../transformer/package-summary.html | 129 +- .../exoplayer2/transformer/package-tree.html | 26 +- .../exoplayer2/ui/AspectRatioFrameLayout.html | 2 +- .../android/exoplayer2/ui/DefaultTimeBar.html | 2 +- .../exoplayer2/ui/PlayerControlView.html | 2 +- .../android/exoplayer2/ui/PlayerView.html | 88 +- ...lView.OnFullScreenModeChangedListener.html | 17 +- ...dPlayerControlView.VisibilityListener.html | 16 +- .../ui/StyledPlayerControlView.html | 71 +- ...ayerView.ControllerVisibilityListener.html | 258 ++ ...yerView.FullscreenButtonClickListener.html | 260 ++ .../exoplayer2/ui/StyledPlayerView.html | 177 +- .../android/exoplayer2/ui/SubtitleView.html | 66 +- ...SelectionDialogBuilder.DialogCallback.html | 12 +- .../ui/TrackSelectionDialogBuilder.html | 67 +- ...kSelectionView.TrackSelectionListener.html | 12 +- .../exoplayer2/ui/TrackSelectionView.html | 114 +- .../exoplayer2/ui/package-summary.html | 20 +- .../android/exoplayer2/ui/package-tree.html | 4 +- .../exoplayer2/upstream/DataReader.html | 2 +- .../exoplayer2/upstream/DataSource.html | 2 +- ...Source.html => PlaceholderDataSource.html} | 18 +- .../exoplayer2/upstream/package-summary.html | 34 +- .../exoplayer2/upstream/package-tree.html | 2 +- .../exoplayer2/util/BundleableUtil.html | 124 +- .../util/CodecSpecificDataUtil.html | 30 +- .../exoplayer2/util/DebugTextViewHelper.html | 135 +- .../android/exoplayer2/util/EventLogger.html | 91 +- .../exoplayer2/util/FileTypes.Type.html | 2 +- .../android/exoplayer2/util/FileTypes.html | 50 +- .../{GlUtil.Program.html => GlProgram.html} | 81 +- .../android/exoplayer2/util/GlUtil.html | 339 ++- .../exoplayer2/util/MediaFormatUtil.html | 31 +- .../android/exoplayer2/util/MimeTypes.html | 164 +- .../exoplayer2/util/NalUnitUtil.SpsData.html | 32 +- .../android/exoplayer2/util/NalUnitUtil.html | 147 + .../exoplayer2/util/NetworkTypeObserver.html | 7 - .../google/android/exoplayer2/util/Util.html | 211 +- .../exoplayer2/util/package-summary.html | 44 +- .../android/exoplayer2/util/package-tree.html | 5 +- .../video/MediaCodecVideoRenderer.html | 111 +- ...mySurface.html => PlaceholderSurface.html} | 29 +- .../video/VideoDecoderGLSurfaceView.html | 2 +- .../exoplayer2/video/package-summary.html | 16 +- .../exoplayer2/video/package-tree.html | 2 +- .../spherical/SphericalGLSurfaceView.html | 2 +- docs/doc/reference/constant-values.html | 844 ++++-- docs/doc/reference/deprecated-list.html | 846 ++++-- docs/doc/reference/element-list | 2 +- docs/doc/reference/index-all.html | 2671 +++++++++++++---- docs/doc/reference/index.html | 16 +- docs/doc/reference/member-search-index.js | 3 +- docs/doc/reference/member-search-index.zip | Bin 147605 -> 150971 bytes docs/doc/reference/overview-tree.html | 58 +- docs/doc/reference/package-search-index.js | 3 +- docs/doc/reference/package-search-index.zip | Bin 703 -> 702 bytes docs/doc/reference/serialized-form.html | 17 + docs/doc/reference/type-search-index.js | 3 +- docs/doc/reference/type-search-index.zip | Bin 10420 -> 10637 bytes 217 files changed, 22287 insertions(+), 6544 deletions(-) create mode 100644 docs/doc/reference/com/google/android/exoplayer2/MediaItem.RequestMetadata.Builder.html rename docs/doc/reference/com/google/android/exoplayer2/{trackselection/TrackSelectionOverrides.html => MediaItem.RequestMetadata.html} (56%) rename docs/doc/reference/com/google/android/exoplayer2/{TracksInfo.TrackGroupInfo.html => Tracks.Group.html} (80%) rename docs/doc/reference/com/google/android/exoplayer2/{TracksInfo.html => Tracks.html} (71%) rename docs/doc/reference/com/google/android/exoplayer2/{util/NetworkTypeObserver.Config.html => audio/AudioAttributes.AudioAttributesV21.html} (80%) rename docs/doc/reference/com/google/android/exoplayer2/extractor/{rawcc/RawCcExtractor.html => avi/AviExtractor.html} (70%) rename docs/doc/reference/com/google/android/exoplayer2/extractor/{rawcc => avi}/package-summary.html (93%) rename docs/doc/reference/com/google/android/exoplayer2/extractor/{rawcc => avi}/package-tree.html (91%) create mode 100644 docs/doc/reference/com/google/android/exoplayer2/source/rtsp/reader/RtpPcmReader.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/text/CueGroup.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.Parameters.Builder.html rename docs/doc/reference/com/google/android/exoplayer2/trackselection/{TrackSelectionOverrides.TrackSelectionOverride.html => TrackSelectionOverride.html} (83%) create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/DefaultCodec.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/DefaultEncoderFactory.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/EncoderSelector.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/FrameProcessingException.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/GlEffect.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/GlMatrixTransformation.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/MatrixTransformation.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/Presentation.Builder.html rename docs/doc/reference/com/google/android/exoplayer2/{PlaybackException.FieldNumber.html => transformer/Presentation.Layout.html} (68%) create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/Presentation.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/ScaleToFitTransformation.Builder.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/ScaleToFitTransformation.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/SingleFrameGlTextureProcessor.html rename docs/doc/reference/com/google/android/exoplayer2/{trackselection/TrackSelectionOverrides.Builder.html => transformer/TransformationResult.Builder.html} (62%) create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationResult.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.BitrateMode.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.Builder.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.ControllerVisibilityListener.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.FullscreenButtonClickListener.html rename docs/doc/reference/com/google/android/exoplayer2/upstream/{DummyDataSource.html => PlaceholderDataSource.html} (96%) rename docs/doc/reference/com/google/android/exoplayer2/util/{GlUtil.Program.html => GlProgram.html} (85%) rename docs/doc/reference/com/google/android/exoplayer2/video/{DummySurface.html => PlaceholderSurface.html} (93%) diff --git a/docs/doc/reference/allclasses-index.html b/docs/doc/reference/allclasses-index.html index 31e9e44e45..3ce7d7aaff 100644 --- a/docs/doc/reference/allclasses-index.html +++ b/docs/doc/reference/allclasses-index.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":2,"i1":32,"i2":2,"i3":2,"i4":2,"i5":2,"i6":2,"i7":2,"i8":32,"i9":2,"i10":2,"i11":2,"i12":2,"i13":2,"i14":2,"i15":2,"i16":2,"i17":2,"i18":2,"i19":2,"i20":2,"i21":2,"i22":2,"i23":2,"i24":2,"i25":2,"i26":2,"i27":2,"i28":2,"i29":2,"i30":2,"i31":2,"i32":2,"i33":2,"i34":2,"i35":2,"i36":2,"i37":2,"i38":2,"i39":2,"i40":2,"i41":2,"i42":2,"i43":2,"i44":2,"i45":2,"i46":1,"i47":2,"i48":2,"i49":1,"i50":2,"i51":2,"i52":2,"i53":2,"i54":2,"i55":2,"i56":2,"i57":32,"i58":2,"i59":2,"i60":32,"i61":1,"i62":1,"i63":1,"i64":2,"i65":8,"i66":32,"i67":2,"i68":32,"i69":2,"i70":1,"i71":2,"i72":2,"i73":2,"i74":2,"i75":1,"i76":1,"i77":2,"i78":32,"i79":1,"i80":1,"i81":32,"i82":2,"i83":2,"i84":2,"i85":2,"i86":2,"i87":2,"i88":1,"i89":32,"i90":2,"i91":2,"i92":2,"i93":8,"i94":2,"i95":2,"i96":2,"i97":2,"i98":2,"i99":1,"i100":1,"i101":2,"i102":8,"i103":1,"i104":2,"i105":1,"i106":8,"i107":8,"i108":1,"i109":32,"i110":8,"i111":8,"i112":2,"i113":2,"i114":1,"i115":1,"i116":2,"i117":2,"i118":2,"i119":2,"i120":2,"i121":2,"i122":2,"i123":2,"i124":2,"i125":2,"i126":2,"i127":2,"i128":8,"i129":2,"i130":2,"i131":2,"i132":2,"i133":2,"i134":1,"i135":2,"i136":1,"i137":2,"i138":1,"i139":1,"i140":2,"i141":2,"i142":2,"i143":2,"i144":2,"i145":2,"i146":2,"i147":2,"i148":2,"i149":32,"i150":32,"i151":32,"i152":32,"i153":32,"i154":32,"i155":32,"i156":32,"i157":32,"i158":32,"i159":32,"i160":32,"i161":32,"i162":32,"i163":32,"i164":32,"i165":32,"i166":32,"i167":32,"i168":32,"i169":32,"i170":32,"i171":32,"i172":32,"i173":32,"i174":32,"i175":32,"i176":32,"i177":1,"i178":8,"i179":1,"i180":2,"i181":2,"i182":2,"i183":8,"i184":2,"i185":2,"i186":32,"i187":1,"i188":2,"i189":32,"i190":2,"i191":1,"i192":1,"i193":2,"i194":2,"i195":1,"i196":1,"i197":2,"i198":2,"i199":32,"i200":2,"i201":2,"i202":2,"i203":2,"i204":2,"i205":2,"i206":2,"i207":2,"i208":2,"i209":1,"i210":1,"i211":1,"i212":2,"i213":2,"i214":2,"i215":1,"i216":1,"i217":2,"i218":2,"i219":8,"i220":32,"i221":1,"i222":2,"i223":1,"i224":1,"i225":2,"i226":2,"i227":2,"i228":2,"i229":2,"i230":2,"i231":1,"i232":2,"i233":2,"i234":2,"i235":1,"i236":2,"i237":2,"i238":8,"i239":1,"i240":2,"i241":2,"i242":2,"i243":2,"i244":8,"i245":2,"i246":2,"i247":2,"i248":1,"i249":8,"i250":2,"i251":2,"i252":32,"i253":2,"i254":32,"i255":32,"i256":32,"i257":2,"i258":2,"i259":1,"i260":1,"i261":2,"i262":2,"i263":2,"i264":2,"i265":8,"i266":2,"i267":2,"i268":1,"i269":2,"i270":2,"i271":8,"i272":1,"i273":2,"i274":1,"i275":2,"i276":1,"i277":1,"i278":1,"i279":1,"i280":2,"i281":2,"i282":2,"i283":2,"i284":8,"i285":2,"i286":2,"i287":2,"i288":2,"i289":32,"i290":32,"i291":2,"i292":1,"i293":2,"i294":2,"i295":2,"i296":8,"i297":2,"i298":32,"i299":8,"i300":2,"i301":1,"i302":2,"i303":32,"i304":32,"i305":2,"i306":2,"i307":2,"i308":2,"i309":1,"i310":2,"i311":2,"i312":8,"i313":32,"i314":32,"i315":2,"i316":2,"i317":2,"i318":2,"i319":2,"i320":2,"i321":2,"i322":2,"i323":2,"i324":2,"i325":2,"i326":2,"i327":2,"i328":2,"i329":2,"i330":2,"i331":2,"i332":2,"i333":2,"i334":8,"i335":32,"i336":2,"i337":2,"i338":2,"i339":2,"i340":2,"i341":2,"i342":2,"i343":2,"i344":2,"i345":2,"i346":2,"i347":2,"i348":2,"i349":2,"i350":2,"i351":2,"i352":2,"i353":2,"i354":2,"i355":1,"i356":2,"i357":2,"i358":32,"i359":2,"i360":2,"i361":2,"i362":2,"i363":2,"i364":2,"i365":2,"i366":2,"i367":2,"i368":32,"i369":2,"i370":2,"i371":32,"i372":2,"i373":2,"i374":32,"i375":2,"i376":2,"i377":32,"i378":32,"i379":2,"i380":1,"i381":1,"i382":1,"i383":1,"i384":8,"i385":2,"i386":1,"i387":8,"i388":1,"i389":2,"i390":1,"i391":2,"i392":2,"i393":2,"i394":2,"i395":8,"i396":2,"i397":2,"i398":2,"i399":1,"i400":8,"i401":32,"i402":1,"i403":2,"i404":1,"i405":1,"i406":1,"i407":2,"i408":32,"i409":2,"i410":2,"i411":2,"i412":2,"i413":2,"i414":2,"i415":1,"i416":2,"i417":2,"i418":2,"i419":2,"i420":1,"i421":2,"i422":2,"i423":2,"i424":1,"i425":32,"i426":2,"i427":8,"i428":32,"i429":1,"i430":1,"i431":2,"i432":2,"i433":1,"i434":2,"i435":2,"i436":2,"i437":2,"i438":2,"i439":2,"i440":2,"i441":2,"i442":1,"i443":2,"i444":2,"i445":32,"i446":2,"i447":1,"i448":1,"i449":1,"i450":1,"i451":2,"i452":8,"i453":32,"i454":1,"i455":1,"i456":1,"i457":2,"i458":1,"i459":1,"i460":1,"i461":2,"i462":2,"i463":2,"i464":2,"i465":8,"i466":32,"i467":1,"i468":2,"i469":1,"i470":1,"i471":32,"i472":2,"i473":2,"i474":2,"i475":1,"i476":2,"i477":1,"i478":1,"i479":1,"i480":2,"i481":2,"i482":2,"i483":2,"i484":2,"i485":2,"i486":2,"i487":2,"i488":2,"i489":2,"i490":2,"i491":2,"i492":2,"i493":2,"i494":2,"i495":2,"i496":2,"i497":2,"i498":2,"i499":2,"i500":2,"i501":2,"i502":2,"i503":8,"i504":2,"i505":2,"i506":2,"i507":2,"i508":2,"i509":1,"i510":2,"i511":2,"i512":2,"i513":2,"i514":2,"i515":2,"i516":2,"i517":2,"i518":2,"i519":2,"i520":2,"i521":1,"i522":2,"i523":2,"i524":2,"i525":2,"i526":8,"i527":2,"i528":2,"i529":2,"i530":8,"i531":2,"i532":32,"i533":1,"i534":2,"i535":2,"i536":2,"i537":2,"i538":2,"i539":8,"i540":2,"i541":2,"i542":32,"i543":32,"i544":2,"i545":2,"i546":2,"i547":2,"i548":2,"i549":2,"i550":2,"i551":2,"i552":2,"i553":2,"i554":2,"i555":2,"i556":2,"i557":2,"i558":2,"i559":2,"i560":2,"i561":2,"i562":2,"i563":32,"i564":2,"i565":2,"i566":2,"i567":2,"i568":8,"i569":2,"i570":2,"i571":2,"i572":8,"i573":2,"i574":2,"i575":2,"i576":2,"i577":2,"i578":1,"i579":1,"i580":2,"i581":2,"i582":1,"i583":2,"i584":1,"i585":2,"i586":2,"i587":1,"i588":2,"i589":2,"i590":2,"i591":32,"i592":2,"i593":2,"i594":2,"i595":2,"i596":2,"i597":2,"i598":32,"i599":2,"i600":2,"i601":2,"i602":2,"i603":2,"i604":8,"i605":1,"i606":1,"i607":1,"i608":1,"i609":8,"i610":8,"i611":1,"i612":2,"i613":2,"i614":2,"i615":2,"i616":1,"i617":1,"i618":2,"i619":8,"i620":1,"i621":8,"i622":32,"i623":8,"i624":8,"i625":2,"i626":2,"i627":2,"i628":2,"i629":2,"i630":2,"i631":2,"i632":2,"i633":1,"i634":2,"i635":2,"i636":2,"i637":8,"i638":2,"i639":2,"i640":2,"i641":2,"i642":2,"i643":2,"i644":2,"i645":2,"i646":2,"i647":2,"i648":2,"i649":2,"i650":2,"i651":8,"i652":1,"i653":2,"i654":2,"i655":2,"i656":2,"i657":2,"i658":2,"i659":2,"i660":2,"i661":2,"i662":1,"i663":1,"i664":1,"i665":1,"i666":2,"i667":1,"i668":1,"i669":2,"i670":1,"i671":8,"i672":1,"i673":2,"i674":1,"i675":2,"i676":2,"i677":32,"i678":2,"i679":2,"i680":2,"i681":2,"i682":32,"i683":2,"i684":2,"i685":2,"i686":2,"i687":32,"i688":2,"i689":1,"i690":2,"i691":2,"i692":2,"i693":32,"i694":2,"i695":2,"i696":2,"i697":1,"i698":1,"i699":1,"i700":2,"i701":1,"i702":1,"i703":2,"i704":8,"i705":2,"i706":2,"i707":8,"i708":1,"i709":2,"i710":8,"i711":8,"i712":2,"i713":2,"i714":1,"i715":8,"i716":2,"i717":2,"i718":2,"i719":2,"i720":2,"i721":2,"i722":2,"i723":2,"i724":2,"i725":2,"i726":2,"i727":2,"i728":2,"i729":2,"i730":2,"i731":2,"i732":2,"i733":1,"i734":1,"i735":2,"i736":2,"i737":2,"i738":32,"i739":32,"i740":2,"i741":2,"i742":2,"i743":2,"i744":2,"i745":1,"i746":1,"i747":2,"i748":1,"i749":2,"i750":2,"i751":1,"i752":1,"i753":1,"i754":2,"i755":1,"i756":1,"i757":32,"i758":1,"i759":1,"i760":1,"i761":1,"i762":1,"i763":1,"i764":2,"i765":1,"i766":1,"i767":2,"i768":1,"i769":2,"i770":2,"i771":8,"i772":32,"i773":2,"i774":1,"i775":1,"i776":1,"i777":2,"i778":1,"i779":2,"i780":2,"i781":2,"i782":2,"i783":2,"i784":2,"i785":32,"i786":2,"i787":32,"i788":2,"i789":2,"i790":2,"i791":2,"i792":2,"i793":2,"i794":2,"i795":2,"i796":2,"i797":2,"i798":1,"i799":32,"i800":2,"i801":2,"i802":2,"i803":32,"i804":2,"i805":2,"i806":2,"i807":2,"i808":2,"i809":2,"i810":2,"i811":8,"i812":2,"i813":2,"i814":2,"i815":2,"i816":2,"i817":2,"i818":8,"i819":2,"i820":1,"i821":2,"i822":2,"i823":2,"i824":2,"i825":2,"i826":2,"i827":2,"i828":2,"i829":8,"i830":32,"i831":32,"i832":2,"i833":2,"i834":1,"i835":1,"i836":2,"i837":2,"i838":2,"i839":2,"i840":2,"i841":1,"i842":1,"i843":32,"i844":2,"i845":2,"i846":32,"i847":32,"i848":2,"i849":1,"i850":32,"i851":32,"i852":32,"i853":2,"i854":32,"i855":32,"i856":32,"i857":2,"i858":1,"i859":1,"i860":2,"i861":1,"i862":2,"i863":2,"i864":1,"i865":1,"i866":2,"i867":2,"i868":1,"i869":1,"i870":1,"i871":32,"i872":32,"i873":2,"i874":32,"i875":2,"i876":2,"i877":2,"i878":2,"i879":2,"i880":8,"i881":2,"i882":2,"i883":2,"i884":2,"i885":2,"i886":1,"i887":1,"i888":2,"i889":2,"i890":2,"i891":2,"i892":2,"i893":2,"i894":2,"i895":2,"i896":2,"i897":2,"i898":2,"i899":8,"i900":1,"i901":32,"i902":32,"i903":1,"i904":1,"i905":32,"i906":32,"i907":32,"i908":32,"i909":32,"i910":32,"i911":2,"i912":1,"i913":2,"i914":2,"i915":32,"i916":2,"i917":2,"i918":2,"i919":2,"i920":32,"i921":2,"i922":1,"i923":2,"i924":2,"i925":1,"i926":2,"i927":2,"i928":2,"i929":2,"i930":2,"i931":2,"i932":2,"i933":2,"i934":1,"i935":1,"i936":2,"i937":2,"i938":2,"i939":8,"i940":2,"i941":2,"i942":2,"i943":1,"i944":8,"i945":1,"i946":32,"i947":32,"i948":1,"i949":1,"i950":2,"i951":1,"i952":2,"i953":2,"i954":2,"i955":2,"i956":2,"i957":2,"i958":2,"i959":2,"i960":2,"i961":2,"i962":2,"i963":2,"i964":2,"i965":1,"i966":1,"i967":2,"i968":1,"i969":2,"i970":2,"i971":1,"i972":2,"i973":1,"i974":1,"i975":2,"i976":1,"i977":2,"i978":1,"i979":1,"i980":1,"i981":1,"i982":2,"i983":2,"i984":1,"i985":2,"i986":2,"i987":2,"i988":2,"i989":2,"i990":2,"i991":2,"i992":2,"i993":2,"i994":2,"i995":2,"i996":2,"i997":2,"i998":2,"i999":2,"i1000":2,"i1001":2,"i1002":2,"i1003":2,"i1004":2,"i1005":2,"i1006":2,"i1007":1,"i1008":2,"i1009":2,"i1010":1,"i1011":1,"i1012":1,"i1013":1,"i1014":1,"i1015":1,"i1016":1,"i1017":1,"i1018":1,"i1019":2,"i1020":2,"i1021":1,"i1022":2,"i1023":2,"i1024":2,"i1025":2,"i1026":2,"i1027":2,"i1028":2,"i1029":2,"i1030":2,"i1031":1,"i1032":1,"i1033":2,"i1034":2,"i1035":2,"i1036":2,"i1037":2,"i1038":8,"i1039":2,"i1040":2,"i1041":2,"i1042":2,"i1043":2,"i1044":2,"i1045":2,"i1046":2,"i1047":2,"i1048":2,"i1049":2,"i1050":1,"i1051":1,"i1052":1,"i1053":2,"i1054":32,"i1055":2,"i1056":1,"i1057":1,"i1058":8,"i1059":1,"i1060":2,"i1061":2,"i1062":2,"i1063":2,"i1064":32,"i1065":2,"i1066":2,"i1067":2,"i1068":2,"i1069":1,"i1070":2,"i1071":2,"i1072":2,"i1073":2,"i1074":2,"i1075":2,"i1076":2,"i1077":32,"i1078":2,"i1079":32,"i1080":32,"i1081":2,"i1082":1,"i1083":2,"i1084":2,"i1085":1,"i1086":1,"i1087":2,"i1088":2,"i1089":2,"i1090":2,"i1091":2,"i1092":2,"i1093":2,"i1094":1,"i1095":2,"i1096":1,"i1097":2,"i1098":2,"i1099":2,"i1100":2,"i1101":1,"i1102":2,"i1103":2,"i1104":32,"i1105":2,"i1106":2,"i1107":2,"i1108":1,"i1109":1,"i1110":2,"i1111":32,"i1112":1,"i1113":32,"i1114":2,"i1115":2,"i1116":1,"i1117":2,"i1118":2,"i1119":2,"i1120":2,"i1121":2,"i1122":2,"i1123":1,"i1124":2,"i1125":1,"i1126":2,"i1127":1,"i1128":2,"i1129":2,"i1130":2,"i1131":1,"i1132":8,"i1133":32,"i1134":2,"i1135":2,"i1136":2,"i1137":2,"i1138":1,"i1139":1,"i1140":32,"i1141":2,"i1142":2,"i1143":32,"i1144":1,"i1145":2,"i1146":2,"i1147":1,"i1148":32,"i1149":2,"i1150":2,"i1151":2,"i1152":2,"i1153":2,"i1154":8,"i1155":32,"i1156":8,"i1157":8,"i1158":32,"i1159":2,"i1160":2,"i1161":2,"i1162":2,"i1163":2,"i1164":2,"i1165":2,"i1166":2,"i1167":1,"i1168":1,"i1169":2,"i1170":1,"i1171":2,"i1172":2,"i1173":2,"i1174":2,"i1175":2,"i1176":2,"i1177":2,"i1178":2,"i1179":2,"i1180":2,"i1181":8,"i1182":2,"i1183":2,"i1184":2,"i1185":2,"i1186":2,"i1187":2,"i1188":2,"i1189":32,"i1190":32,"i1191":2,"i1192":2,"i1193":2,"i1194":2,"i1195":2,"i1196":2,"i1197":2,"i1198":2,"i1199":1,"i1200":2}; +var data = {"i0":2,"i1":32,"i2":2,"i3":2,"i4":2,"i5":2,"i6":2,"i7":2,"i8":32,"i9":2,"i10":2,"i11":2,"i12":2,"i13":2,"i14":2,"i15":2,"i16":2,"i17":2,"i18":2,"i19":2,"i20":2,"i21":2,"i22":2,"i23":2,"i24":2,"i25":2,"i26":2,"i27":2,"i28":2,"i29":2,"i30":2,"i31":2,"i32":2,"i33":2,"i34":2,"i35":2,"i36":2,"i37":2,"i38":2,"i39":2,"i40":2,"i41":2,"i42":2,"i43":2,"i44":2,"i45":2,"i46":1,"i47":2,"i48":2,"i49":1,"i50":2,"i51":2,"i52":2,"i53":2,"i54":2,"i55":2,"i56":2,"i57":32,"i58":2,"i59":2,"i60":32,"i61":1,"i62":1,"i63":1,"i64":2,"i65":8,"i66":32,"i67":2,"i68":32,"i69":2,"i70":1,"i71":2,"i72":2,"i73":2,"i74":2,"i75":1,"i76":1,"i77":2,"i78":32,"i79":1,"i80":1,"i81":32,"i82":2,"i83":2,"i84":2,"i85":2,"i86":2,"i87":2,"i88":1,"i89":32,"i90":2,"i91":2,"i92":2,"i93":8,"i94":2,"i95":2,"i96":2,"i97":2,"i98":2,"i99":2,"i100":1,"i101":1,"i102":2,"i103":8,"i104":1,"i105":2,"i106":1,"i107":8,"i108":8,"i109":1,"i110":32,"i111":8,"i112":8,"i113":2,"i114":2,"i115":2,"i116":1,"i117":1,"i118":2,"i119":2,"i120":2,"i121":2,"i122":2,"i123":2,"i124":2,"i125":2,"i126":2,"i127":2,"i128":2,"i129":2,"i130":8,"i131":2,"i132":2,"i133":2,"i134":2,"i135":2,"i136":1,"i137":2,"i138":1,"i139":2,"i140":1,"i141":1,"i142":2,"i143":2,"i144":2,"i145":2,"i146":2,"i147":2,"i148":2,"i149":2,"i150":2,"i151":32,"i152":32,"i153":32,"i154":32,"i155":32,"i156":32,"i157":32,"i158":32,"i159":32,"i160":32,"i161":32,"i162":32,"i163":32,"i164":32,"i165":32,"i166":32,"i167":32,"i168":32,"i169":32,"i170":32,"i171":32,"i172":32,"i173":32,"i174":32,"i175":32,"i176":32,"i177":32,"i178":32,"i179":1,"i180":8,"i181":1,"i182":2,"i183":2,"i184":2,"i185":8,"i186":2,"i187":2,"i188":32,"i189":1,"i190":2,"i191":32,"i192":2,"i193":1,"i194":1,"i195":2,"i196":2,"i197":1,"i198":1,"i199":2,"i200":2,"i201":32,"i202":2,"i203":2,"i204":2,"i205":2,"i206":2,"i207":2,"i208":2,"i209":2,"i210":2,"i211":1,"i212":1,"i213":1,"i214":2,"i215":2,"i216":2,"i217":1,"i218":1,"i219":2,"i220":2,"i221":8,"i222":32,"i223":1,"i224":1,"i225":1,"i226":1,"i227":2,"i228":2,"i229":2,"i230":2,"i231":2,"i232":2,"i233":1,"i234":2,"i235":2,"i236":2,"i237":1,"i238":2,"i239":2,"i240":8,"i241":1,"i242":2,"i243":2,"i244":2,"i245":2,"i246":8,"i247":2,"i248":2,"i249":2,"i250":1,"i251":8,"i252":2,"i253":2,"i254":32,"i255":2,"i256":32,"i257":32,"i258":32,"i259":2,"i260":2,"i261":2,"i262":1,"i263":1,"i264":2,"i265":2,"i266":2,"i267":2,"i268":8,"i269":2,"i270":2,"i271":1,"i272":2,"i273":2,"i274":8,"i275":1,"i276":2,"i277":1,"i278":2,"i279":1,"i280":1,"i281":1,"i282":1,"i283":2,"i284":2,"i285":2,"i286":2,"i287":8,"i288":2,"i289":2,"i290":2,"i291":2,"i292":32,"i293":32,"i294":2,"i295":1,"i296":2,"i297":2,"i298":2,"i299":8,"i300":2,"i301":32,"i302":8,"i303":2,"i304":1,"i305":2,"i306":32,"i307":32,"i308":2,"i309":2,"i310":2,"i311":2,"i312":1,"i313":2,"i314":2,"i315":8,"i316":32,"i317":32,"i318":2,"i319":2,"i320":2,"i321":2,"i322":2,"i323":2,"i324":2,"i325":2,"i326":2,"i327":2,"i328":2,"i329":2,"i330":2,"i331":2,"i332":2,"i333":2,"i334":2,"i335":2,"i336":2,"i337":2,"i338":8,"i339":32,"i340":2,"i341":2,"i342":2,"i343":2,"i344":2,"i345":2,"i346":2,"i347":2,"i348":2,"i349":2,"i350":2,"i351":2,"i352":2,"i353":2,"i354":2,"i355":2,"i356":2,"i357":2,"i358":2,"i359":2,"i360":1,"i361":2,"i362":2,"i363":32,"i364":2,"i365":2,"i366":2,"i367":2,"i368":2,"i369":2,"i370":2,"i371":2,"i372":2,"i373":2,"i374":32,"i375":2,"i376":2,"i377":32,"i378":2,"i379":2,"i380":32,"i381":2,"i382":2,"i383":32,"i384":32,"i385":2,"i386":1,"i387":1,"i388":1,"i389":1,"i390":8,"i391":2,"i392":1,"i393":8,"i394":1,"i395":2,"i396":1,"i397":2,"i398":2,"i399":2,"i400":2,"i401":8,"i402":2,"i403":2,"i404":2,"i405":1,"i406":8,"i407":32,"i408":1,"i409":2,"i410":1,"i411":1,"i412":1,"i413":2,"i414":32,"i415":2,"i416":2,"i417":2,"i418":2,"i419":2,"i420":1,"i421":2,"i422":2,"i423":2,"i424":1,"i425":2,"i426":2,"i427":2,"i428":1,"i429":32,"i430":2,"i431":8,"i432":32,"i433":1,"i434":1,"i435":2,"i436":1,"i437":2,"i438":1,"i439":2,"i440":2,"i441":2,"i442":2,"i443":2,"i444":2,"i445":2,"i446":2,"i447":1,"i448":2,"i449":2,"i450":32,"i451":2,"i452":1,"i453":1,"i454":1,"i455":1,"i456":2,"i457":8,"i458":32,"i459":1,"i460":1,"i461":1,"i462":2,"i463":1,"i464":1,"i465":1,"i466":2,"i467":2,"i468":2,"i469":2,"i470":8,"i471":32,"i472":1,"i473":2,"i474":1,"i475":1,"i476":32,"i477":2,"i478":2,"i479":2,"i480":1,"i481":2,"i482":1,"i483":1,"i484":1,"i485":2,"i486":2,"i487":2,"i488":2,"i489":2,"i490":2,"i491":2,"i492":2,"i493":2,"i494":2,"i495":2,"i496":2,"i497":2,"i498":2,"i499":2,"i500":2,"i501":2,"i502":2,"i503":2,"i504":2,"i505":2,"i506":2,"i507":2,"i508":8,"i509":2,"i510":2,"i511":2,"i512":2,"i513":2,"i514":1,"i515":2,"i516":2,"i517":2,"i518":2,"i519":2,"i520":2,"i521":2,"i522":2,"i523":2,"i524":2,"i525":2,"i526":1,"i527":2,"i528":2,"i529":2,"i530":2,"i531":8,"i532":2,"i533":2,"i534":2,"i535":8,"i536":2,"i537":32,"i538":1,"i539":2,"i540":2,"i541":2,"i542":2,"i543":2,"i544":8,"i545":2,"i546":2,"i547":32,"i548":32,"i549":2,"i550":2,"i551":2,"i552":2,"i553":2,"i554":2,"i555":2,"i556":2,"i557":2,"i558":2,"i559":2,"i560":2,"i561":2,"i562":2,"i563":2,"i564":2,"i565":2,"i566":2,"i567":2,"i568":32,"i569":8,"i570":2,"i571":2,"i572":2,"i573":2,"i574":8,"i575":2,"i576":2,"i577":1,"i578":1,"i579":2,"i580":2,"i581":8,"i582":2,"i583":2,"i584":2,"i585":2,"i586":1,"i587":1,"i588":2,"i589":2,"i590":1,"i591":2,"i592":1,"i593":2,"i594":2,"i595":1,"i596":2,"i597":2,"i598":2,"i599":32,"i600":2,"i601":2,"i602":2,"i603":2,"i604":2,"i605":2,"i606":32,"i607":2,"i608":2,"i609":2,"i610":2,"i611":2,"i612":8,"i613":1,"i614":1,"i615":1,"i616":1,"i617":8,"i618":8,"i619":1,"i620":2,"i621":2,"i622":2,"i623":2,"i624":1,"i625":1,"i626":2,"i627":8,"i628":1,"i629":8,"i630":32,"i631":8,"i632":8,"i633":2,"i634":2,"i635":2,"i636":2,"i637":2,"i638":2,"i639":2,"i640":2,"i641":1,"i642":2,"i643":2,"i644":2,"i645":8,"i646":2,"i647":2,"i648":2,"i649":2,"i650":2,"i651":2,"i652":2,"i653":2,"i654":2,"i655":2,"i656":2,"i657":2,"i658":2,"i659":8,"i660":1,"i661":2,"i662":2,"i663":2,"i664":2,"i665":2,"i666":2,"i667":2,"i668":2,"i669":2,"i670":1,"i671":1,"i672":1,"i673":1,"i674":2,"i675":1,"i676":1,"i677":2,"i678":1,"i679":8,"i680":1,"i681":2,"i682":1,"i683":2,"i684":2,"i685":32,"i686":2,"i687":2,"i688":2,"i689":2,"i690":32,"i691":2,"i692":2,"i693":2,"i694":2,"i695":32,"i696":2,"i697":1,"i698":2,"i699":2,"i700":1,"i701":2,"i702":32,"i703":2,"i704":2,"i705":2,"i706":1,"i707":1,"i708":1,"i709":2,"i710":1,"i711":1,"i712":2,"i713":8,"i714":2,"i715":2,"i716":8,"i717":1,"i718":2,"i719":8,"i720":8,"i721":2,"i722":2,"i723":1,"i724":8,"i725":2,"i726":2,"i727":2,"i728":2,"i729":2,"i730":2,"i731":2,"i732":2,"i733":2,"i734":2,"i735":2,"i736":2,"i737":2,"i738":2,"i739":2,"i740":2,"i741":2,"i742":2,"i743":2,"i744":1,"i745":1,"i746":2,"i747":2,"i748":2,"i749":32,"i750":32,"i751":2,"i752":2,"i753":2,"i754":2,"i755":2,"i756":1,"i757":1,"i758":2,"i759":1,"i760":2,"i761":2,"i762":1,"i763":1,"i764":1,"i765":2,"i766":1,"i767":1,"i768":32,"i769":1,"i770":1,"i771":1,"i772":1,"i773":1,"i774":1,"i775":2,"i776":1,"i777":1,"i778":2,"i779":1,"i780":2,"i781":2,"i782":8,"i783":32,"i784":2,"i785":1,"i786":1,"i787":1,"i788":2,"i789":1,"i790":2,"i791":2,"i792":2,"i793":2,"i794":2,"i795":2,"i796":32,"i797":2,"i798":32,"i799":2,"i800":2,"i801":2,"i802":2,"i803":2,"i804":2,"i805":2,"i806":2,"i807":2,"i808":1,"i809":32,"i810":2,"i811":2,"i812":2,"i813":32,"i814":2,"i815":2,"i816":2,"i817":2,"i818":2,"i819":2,"i820":2,"i821":8,"i822":2,"i823":2,"i824":2,"i825":2,"i826":2,"i827":2,"i828":8,"i829":2,"i830":1,"i831":2,"i832":2,"i833":2,"i834":2,"i835":2,"i836":2,"i837":2,"i838":2,"i839":2,"i840":2,"i841":8,"i842":32,"i843":2,"i844":2,"i845":1,"i846":1,"i847":2,"i848":2,"i849":2,"i850":2,"i851":2,"i852":1,"i853":1,"i854":32,"i855":2,"i856":2,"i857":32,"i858":32,"i859":2,"i860":1,"i861":32,"i862":32,"i863":32,"i864":2,"i865":32,"i866":32,"i867":32,"i868":2,"i869":1,"i870":1,"i871":2,"i872":1,"i873":2,"i874":2,"i875":1,"i876":1,"i877":2,"i878":2,"i879":1,"i880":1,"i881":1,"i882":32,"i883":32,"i884":2,"i885":32,"i886":2,"i887":2,"i888":2,"i889":32,"i890":2,"i891":2,"i892":2,"i893":2,"i894":8,"i895":2,"i896":2,"i897":2,"i898":2,"i899":2,"i900":1,"i901":1,"i902":2,"i903":2,"i904":2,"i905":2,"i906":2,"i907":2,"i908":2,"i909":2,"i910":2,"i911":2,"i912":8,"i913":1,"i914":32,"i915":32,"i916":1,"i917":1,"i918":32,"i919":32,"i920":32,"i921":32,"i922":32,"i923":32,"i924":2,"i925":1,"i926":2,"i927":2,"i928":32,"i929":2,"i930":2,"i931":2,"i932":2,"i933":32,"i934":2,"i935":1,"i936":2,"i937":2,"i938":1,"i939":2,"i940":2,"i941":2,"i942":2,"i943":2,"i944":2,"i945":2,"i946":2,"i947":1,"i948":1,"i949":2,"i950":2,"i951":2,"i952":2,"i953":8,"i954":2,"i955":2,"i956":2,"i957":1,"i958":8,"i959":1,"i960":32,"i961":32,"i962":2,"i963":2,"i964":1,"i965":1,"i966":2,"i967":1,"i968":2,"i969":2,"i970":2,"i971":2,"i972":2,"i973":2,"i974":2,"i975":2,"i976":2,"i977":2,"i978":2,"i979":2,"i980":2,"i981":1,"i982":1,"i983":2,"i984":1,"i985":2,"i986":2,"i987":1,"i988":2,"i989":1,"i990":1,"i991":2,"i992":1,"i993":2,"i994":1,"i995":1,"i996":1,"i997":1,"i998":2,"i999":2,"i1000":1,"i1001":2,"i1002":2,"i1003":2,"i1004":2,"i1005":2,"i1006":2,"i1007":2,"i1008":2,"i1009":2,"i1010":2,"i1011":2,"i1012":2,"i1013":1,"i1014":2,"i1015":2,"i1016":2,"i1017":2,"i1018":2,"i1019":2,"i1020":2,"i1021":2,"i1022":2,"i1023":2,"i1024":1,"i1025":2,"i1026":2,"i1027":1,"i1028":1,"i1029":1,"i1030":1,"i1031":1,"i1032":1,"i1033":1,"i1034":1,"i1035":1,"i1036":2,"i1037":2,"i1038":1,"i1039":2,"i1040":2,"i1041":2,"i1042":2,"i1043":2,"i1044":2,"i1045":2,"i1046":2,"i1047":2,"i1048":1,"i1049":1,"i1050":2,"i1051":2,"i1052":2,"i1053":2,"i1054":2,"i1055":8,"i1056":2,"i1057":2,"i1058":2,"i1059":2,"i1060":2,"i1061":2,"i1062":2,"i1063":2,"i1064":2,"i1065":2,"i1066":2,"i1067":1,"i1068":1,"i1069":1,"i1070":2,"i1071":1,"i1072":1,"i1073":32,"i1074":2,"i1075":1,"i1076":1,"i1077":8,"i1078":1,"i1079":2,"i1080":2,"i1081":2,"i1082":2,"i1083":32,"i1084":2,"i1085":2,"i1086":2,"i1087":2,"i1088":1,"i1089":2,"i1090":2,"i1091":2,"i1092":2,"i1093":2,"i1094":2,"i1095":2,"i1096":32,"i1097":2,"i1098":32,"i1099":32,"i1100":2,"i1101":1,"i1102":2,"i1103":2,"i1104":1,"i1105":1,"i1106":2,"i1107":2,"i1108":2,"i1109":2,"i1110":2,"i1111":2,"i1112":2,"i1113":1,"i1114":2,"i1115":1,"i1116":2,"i1117":2,"i1118":2,"i1119":2,"i1120":1,"i1121":2,"i1122":2,"i1123":32,"i1124":2,"i1125":2,"i1126":2,"i1127":1,"i1128":1,"i1129":2,"i1130":32,"i1131":2,"i1132":2,"i1133":1,"i1134":32,"i1135":2,"i1136":2,"i1137":1,"i1138":2,"i1139":2,"i1140":2,"i1141":2,"i1142":1,"i1143":2,"i1144":1,"i1145":2,"i1146":1,"i1147":2,"i1148":1,"i1149":8,"i1150":32,"i1151":2,"i1152":2,"i1153":2,"i1154":2,"i1155":2,"i1156":2,"i1157":1,"i1158":1,"i1159":32,"i1160":2,"i1161":2,"i1162":32,"i1163":1,"i1164":2,"i1165":2,"i1166":1,"i1167":32,"i1168":2,"i1169":2,"i1170":2,"i1171":2,"i1172":2,"i1173":8,"i1174":32,"i1175":8,"i1176":8,"i1177":32,"i1178":2,"i1179":2,"i1180":2,"i1181":2,"i1182":2,"i1183":2,"i1184":2,"i1185":2,"i1186":1,"i1187":2,"i1188":32,"i1189":2,"i1190":1,"i1191":2,"i1192":1,"i1193":2,"i1194":2,"i1195":2,"i1196":2,"i1197":2,"i1198":2,"i1199":2,"i1200":2,"i1201":2,"i1202":2,"i1203":8,"i1204":2,"i1205":2,"i1206":2,"i1207":2,"i1208":2,"i1209":2,"i1210":2,"i1211":32,"i1212":32,"i1213":2,"i1214":2,"i1215":2,"i1216":2,"i1217":2,"i1218":2,"i1219":2,"i1220":2,"i1221":1,"i1222":2}; var tabs = {65535:["t0","All Classes"],1:["t1","Interface Summary"],2:["t2","Class Summary"],8:["t4","Exception Summary"],32:["t6","Annotation Types Summary"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -692,266 +692,278 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); +AudioAttributes.AudioAttributesV21 + +
A direct wrapper around AudioAttributes.
+ + + AudioAttributes.Builder
Builder for AudioAttributes.
- + AudioCapabilities
Represents the set of audio formats that a device is capable of playing.
- + AudioCapabilitiesReceiver
Receives broadcast events indicating changes to the device's audio capabilities, notifying a AudioCapabilitiesReceiver.Listener when audio capability changes occur.
- + AudioCapabilitiesReceiver.Listener
Listener notified when audio capabilities change.
- + AudioProcessor
Interface for audio processors, which take audio data as input and transform it, potentially modifying its channel count, encoding and/or sample rate.
- + AudioProcessor.AudioFormat
PCM audio format that may be handled by an audio processor.
- + AudioProcessor.UnhandledAudioFormatException
Exception thrown when a processor can't be configured for a given input audio format.
- + AudioRendererEventListener
Listener of audio Renderer events.
- + AudioRendererEventListener.EventDispatcher
Dispatches events to an AudioRendererEventListener.
- + AudioSink
A sink that consumes audio data.
- + AudioSink.ConfigurationException
Thrown when a failure occurs configuring the sink.
- + AudioSink.InitializationException
Thrown when a failure occurs initializing the sink.
- + AudioSink.Listener
Listener for audio sink events.
- + AudioSink.SinkFormatSupport
The level of support the sink provides for a format.
- + AudioSink.UnexpectedDiscontinuityException
Thrown when the sink encounters an unexpected timestamp discontinuity.
- + AudioSink.WriteException
Thrown when a failure occurs writing to the sink.
- + AuxEffectInfo
Represents auxiliary effect information, which can be used to attach an auxiliary effect to an underlying AudioTrack.
- + AvcConfig
AVC configuration data.
- + +AviExtractor + +
Extracts data from the AVI container format.
+ + + BandwidthMeter
Provides estimates of the currently available bandwidth.
- + BandwidthMeter.EventListener
A listener of BandwidthMeter events.
- + BandwidthMeter.EventListener.EventDispatcher
Event dispatcher which allows listener registration.
- + BaseAudioProcessor
Base class for audio processors that keep an output buffer and an internal buffer that is reused whenever input is queued.
- + BaseDataSource
Base DataSource implementation to keep a list of TransferListeners.
- + BaseMediaChunk
A base implementation of MediaChunk that outputs to a BaseMediaChunkOutput.
- + BaseMediaChunkIterator
Base class for MediaChunkIterators.
- + BaseMediaChunkOutput
A ChunkExtractor.TrackOutputProvider that provides TrackOutputs based on a predefined mapping from track type to output.
- + BaseMediaSource
Base MediaSource implementation to handle parallel reuse and to keep a list of MediaSourceEventListeners.
- + BasePlayer
Abstract base Player which implements common implementation independent methods.
- + BaseRenderer
An abstract base class suitable for most Renderer implementations.
- + BaseTrackSelection
An abstract base class suitable for most ExoTrackSelection implementations.
- + BaseUrl
A base URL, as defined by ISO 23009-1, 2nd edition, 5.6.
- + BaseUrlExclusionList
Holds the state of excluded base URLs to be used to select a base URL based on these exclusions.
- + BehindLiveWindowException
Thrown when a live playback falls behind the available media window.
- + BinaryFrame
Binary ID3 frame.
- + BinarySearchSeeker
A seeker that supports seeking within a stream by searching for the target frame using binary search.
- + BinarySearchSeeker.BinarySearchSeekMap
A SeekMap implementation that returns the estimated byte location from BinarySearchSeeker.SeekOperationParams.calculateNextSearchBytePosition(long, long, long, long, long, long) for each BinarySearchSeeker.BinarySearchSeekMap.getSeekPoints(long) query.
- + BinarySearchSeeker.DefaultSeekTimestampConverter
A BinarySearchSeeker.SeekTimestampConverter implementation that returns the seek time itself as the timestamp for a seek time position.
- + BinarySearchSeeker.SeekOperationParams
Contains parameters for a pending seek operation by BinarySearchSeeker.
- + BinarySearchSeeker.SeekTimestampConverter
A converter that converts seek time in stream time into target timestamp for the BinarySearchSeeker.
- + BinarySearchSeeker.TimestampSearchResult
Represents possible search results for BinarySearchSeeker.TimestampSeeker.searchForTimestamp(ExtractorInput, long).
- + BinarySearchSeeker.TimestampSeeker
A seeker that looks for a given timestamp from an input.
- + Buffer
Base class for buffers with flags.
- + Bundleable
Interface for classes whose instance can be stored in a Bundle by Bundleable.toBundle() and @@ -959,1218 +971,1236 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); Bundleable.Creator.
- + Bundleable.Creator<T extends Bundleable>
Interface for the static CREATOR field of Bundleable classes.
- + BundleableUtil
Utilities for Bundleable.
- + BundledChunkExtractor
ChunkExtractor implementation that uses ExoPlayer app-bundled Extractors.
- + BundledExtractorsAdapter
ProgressiveMediaExtractor built on top of Extractor instances, whose implementation classes are bundled in the app.
- + BundledHlsMediaChunkExtractor
HlsMediaChunkExtractor implementation that uses ExoPlayer app-bundled Extractors.
- + BundleListRetriever
A Binder to transfer a list of Bundles across processes by splitting the list into multiple transactions.
- + BundleUtil
Utilities for Bundle.
- + ByteArrayDataSink
A DataSink for writing to a byte array.
- + ByteArrayDataSource
A DataSource for reading from a byte array.
- + C
Defines constants used by the library.
- + C.AudioAllowedCapturePolicy
Capture policies for audio attributes.
- + C.AudioContentType
Content types for audio attributes.
- + C.AudioFlags
Flags for audio attributes.
- + C.AudioUsage
Usage types for audio attributes.
- + C.BufferFlags
Flags which can apply to a buffer containing a media sample.
- + C.ColorRange
Video color range.
- + C.ColorSpace
Video colorspaces.
- + C.ColorTransfer
Video color transfer characteristics.
- + C.ContentType
Represents a streaming or other media type.
- + C.CryptoMode
Crypto modes for a codec.
- + C.CryptoType
Types of crypto implementation.
- + C.DataType
Represents a type of data.
- + C.Encoding
Represents an audio encoding, or an invalid or unset value.
- + C.FormatSupport
Level of renderer support for a format.
- + C.NetworkType
Network connection type.
- + C.PcmEncoding
Represents a PCM audio encoding, or an invalid or unset value.
- + C.Projection
Video projection types.
- + C.RoleFlags
Track role flags.
- + C.SelectionFlags
Track selection flags.
- + C.SelectionReason
Represents a reason for selection.
- + C.SpatializationBehavior
Represents the behavior affecting whether spatialization will be used.
- + C.StereoMode
The stereo mode for 360/3D/VR videos.
- + C.StreamType
Stream types for an AudioTrack.
- + C.TrackType
Represents a type of media track.
- + C.VideoChangeFrameRateStrategy
Strategies for calling Surface.setFrameRate(float, int, int).
- + C.VideoOutputMode
Video decoder output modes.
- + C.VideoScalingMode
Video scaling modes for MediaCodec-based renderers.
- + C.WakeMode
Mode specifying whether the player should hold a WakeLock and a WifiLock.
- + Cache
A cache that supports partial caching of resources.
- + Cache.CacheException
Thrown when an error is encountered when writing data.
- + Cache.Listener
Listener of Cache events.
- + CacheAsserts
Assertion methods for Cache.
- + CacheAsserts.RequestSet
Defines a set of data requests.
- + CacheDataSink
Writes data into a cache.
- + CacheDataSink.CacheDataSinkException
Thrown when an IOException is encountered when writing data to the sink.
- + CacheDataSink.Factory
DataSink.Factory for CacheDataSink instances.
- + CacheDataSource
A DataSource that reads and writes a Cache.
- + CacheDataSource.CacheIgnoredReason
Reasons the cache may be ignored.
- + CacheDataSource.EventListener
Listener of CacheDataSource events.
- + CacheDataSource.Factory
DataSource.Factory for CacheDataSource instances.
- + CacheDataSource.Flags
Flags controlling the CacheDataSource's behavior.
- + CachedRegionTracker
Utility class for efficiently tracking regions of data that are stored in a Cache for a given cache key.
- + CacheEvictor
Evicts data from a Cache.
- + CacheKeyFactory
Factory for cache keys.
- + CacheSpan
Defines a span of data that may or may not be cached (as indicated by CacheSpan.isCached).
- + CacheWriter
Caching related utility methods.
- + CacheWriter.ProgressListener
Receives progress updates during cache operations.
- + CameraMotionListener
Listens camera motion.
- + CameraMotionRenderer
A Renderer that parses the camera motion track.
- + CaptionStyleCompat
A compatibility wrapper for CaptioningManager.CaptionStyle.
- + CaptionStyleCompat.EdgeType
The type of edge, which may be none.
- + CapturingAudioSink
A ForwardingAudioSink that captures configuration, discontinuity and buffer events.
- + CapturingRenderersFactory
A RenderersFactory that captures interactions with the audio and video MediaCodecAdapter instances.
- + CastPlayer
Player implementation that communicates with a Cast receiver app.
- + Cea608Decoder
A SubtitleDecoder for CEA-608 (also known as "line 21 captions" and "EIA-608").
- + Cea708Decoder
A SubtitleDecoder for CEA-708 (also known as "EIA-708").
- + CeaUtil
Utility methods for handling CEA-608/708 messages.
- + ChapterFrame
Chapter information ID3 frame.
- + ChapterTocFrame
Chapter table of contents ID3 frame.
- + Chunk
An abstract base class for Loader.Loadable implementations that load chunks of data required for the playback of streams.
- + ChunkExtractor
Extracts samples and track Formats from chunks.
- + ChunkExtractor.Factory
Creates ChunkExtractor instances.
- + ChunkExtractor.TrackOutputProvider
Provides TrackOutput instances to be written to during extraction.
- + ChunkHolder
Holds a chunk or an indication that the end of the stream has been reached.
- + ChunkIndex
Defines chunks of samples within a media stream.
- + ChunkSampleStream<T extends ChunkSource>
A SampleStream that loads media in Chunks, obtained from a ChunkSource.
- + ChunkSampleStream.ReleaseCallback<T extends ChunkSource>
A callback to be notified when a sample stream has finished being released.
- + ChunkSource
A provider of Chunks for a ChunkSampleStream to load.
- + ClippingMediaPeriod
Wraps a MediaPeriod and clips its SampleStreams to provide a subsequence of their samples.
- + ClippingMediaSource
MediaSource that wraps a source and clips its timeline based on specified start/end positions.
- + ClippingMediaSource.IllegalClippingException
Thrown when a ClippingMediaSource cannot clip its wrapped source.
- + ClippingMediaSource.IllegalClippingException.Reason
The reason clipping failed.
- + Clock
An interface through which system clocks can be read and HandlerWrappers created.
- -Codec - -
A wrapper around MediaCodec.
- - - -Codec.DecoderFactory - -
A factory for decoder instances.
- - -Codec.EncoderFactory +Codec -
A factory for encoder instances.
+
Provides a layer of abstraction for interacting with decoders and encoders.
+Codec.DecoderFactory + +
A factory for decoder instances.
+ + + +Codec.EncoderFactory + +
A factory for encoder instances.
+ + + CodecSpecificDataUtil
Provides utilities for handling various types of codec-specific data.
- + ColorInfo
Stores color info.
- + ColorParser
Parser for color expressions found in styling formats, e.g.
- + CommentFrame
Comment ID3 frame.
- + CompositeMediaSource<T>
Composite MediaSource consisting of multiple child sources.
- + CompositeSequenceableLoader
A SequenceableLoader that encapsulates multiple other SequenceableLoaders.
- + CompositeSequenceableLoaderFactory
A factory to create composite SequenceableLoaders.
- + ConcatenatingMediaSource
Concatenates multiple MediaSources.
- + ConditionVariable
An interruptible condition variable.
- + ConstantBitrateSeekMap
A SeekMap implementation that assumes the stream has a constant bitrate and consists of multiple independent frames of the same size.
- + Consumer<T>
Represents an operation that accepts a single input argument and returns no result.
- + ContainerMediaChunk
A BaseMediaChunk that uses an Extractor to decode sample data.
- + ContentDataSource
A DataSource for reading from a content URI.
- + ContentDataSource.ContentDataSourceException
Thrown when an IOException is encountered reading from a content URI.
- + ContentMetadata
Interface for an immutable snapshot of keyed metadata.
- + ContentMetadataMutations
Defines multiple mutations on metadata value which are applied atomically.
- + CopyOnWriteMultiset<E>
An unordered collection of elements that allows duplicates, but also allows access to a set of unique elements.
- + CronetDataSource
DataSource without intermediate buffer based on Cronet API set using UrlRequest.
- + CronetDataSource.Factory
DataSource.Factory for CronetDataSource instances.
- + CronetDataSource.OpenException
Thrown when an error is encountered when trying to open a CronetDataSource.
- + CronetDataSourceFactory Deprecated.
Use CronetDataSource.Factory instead.
- + CronetEngineWrapper Deprecated.
Use CronetEngine directly.
- + CronetUtil
Cronet utility methods.
- + CryptoConfig
Configuration for a decoder to allow it to decode encrypted media data.
- + CryptoException
Thrown when a non-platform component fails to decrypt data.
- + CryptoInfo
Metadata describing the structure of an encrypted input sample.
- + Cue
Contains information about a specific cue, including textual content and formatting data.
- + Cue.AnchorType
The type of anchor, which may be unset.
- + Cue.Builder
A builder for Cue objects.
- + Cue.LineType
The type of line, which may be unset.
- + Cue.TextSizeType
The type of default text size for this cue, which may be unset.
- + Cue.VerticalType
The type of vertical layout for this cue, which may be unset (i.e.
- + CueDecoder
Decodes data encoded by CueEncoder.
- + CueEncoder
Encodes data that can be decoded by CueDecoder.
- + +CueGroup + +
Class to represent the state of active Cues at a particular time.
+ + + DashChunkSource
A ChunkSource for DASH streams.
- + DashChunkSource.Factory
Factory for DashChunkSources.
- + DashDownloader
A downloader for DASH streams.
- + DashManifest
Represents a DASH media presentation description (mpd), as defined by ISO/IEC 23009-1:2014 Section 5.3.1.2.
- + DashManifestParser
A parser of media presentation description files.
- + DashManifestParser.RepresentationInfo
A parsed Representation element.
- + DashManifestStaleException
Thrown when a live playback's manifest is stale and a new manifest could not be loaded.
- + DashMediaSource
A DASH MediaSource.
- + DashMediaSource.Factory
Factory for DashMediaSources.
- + DashSegmentIndex
Indexes the segments within a media stream.
- + DashUtil
Utility methods for DASH streams.
- + DashWrappingSegmentIndex
An implementation of DashSegmentIndex that wraps a ChunkIndex parsed from a media stream.
- + DatabaseIOException
An IOException whose cause is an SQLException.
- + DatabaseProvider
Provides SQLiteDatabase instances to media library components, which may read and write tables prefixed with DatabaseProvider.TABLE_PREFIX.
- + DataChunk
A base class for Chunk implementations where the data should be loaded into a byte[] before being consumed.
- + DataReader
Reads bytes from a data stream.
- + DataSchemeDataSource
A DataSource for reading data URLs, as defined by RFC 2397.
- + DataSink
A component to which streams of data can be written.
- + DataSink.Factory
A factory for DataSink instances.
- + DataSource
Reads data from URI-identified resources.
- + DataSource.Factory
A factory for DataSource instances.
- + DataSourceContractTest
A collection of contract tests for DataSource implementations.
- + DataSourceContractTest.FakeTransferListener
A TransferListener that only keeps track of the transferred bytes.
- + DataSourceContractTest.TestResource
Information about a resource that can be used to test the DataSource instance.
- + DataSourceContractTest.TestResource.Builder
Builder for DataSourceContractTest.TestResource instances.
- + DataSourceException
Used to specify reason of a DataSource error.
- + DataSourceInputStream
Allows data corresponding to a given DataSpec to be read from a DataSource and consumed through an InputStream.
- + DataSourceUtil
Utility methods for DataSource.
- + DataSpec
Defines a region of data in a resource.
- + DataSpec.Builder
Builds DataSpec instances.
- + DataSpec.Flags
The flags that apply to any request for data.
- + DataSpec.HttpMethod
HTTP methods supported by ExoPlayer HttpDataSources.
- + DebugTextViewHelper
A helper class for periodically updating a TextView with debug information obtained from an ExoPlayer.
- + Decoder<I,​O,​E extends DecoderException>
A media decoder.
- + DecoderAudioRenderer<T extends Decoder<DecoderInputBuffer,​? extends SimpleDecoderOutputBuffer,​? extends DecoderException>>
Decodes and renders audio using a Decoder.
- + DecoderCounters
Maintains decoder event counts, for debugging purposes only.
- + DecoderCountersUtil
Assertions for DecoderCounters.
- + DecoderException
Thrown when a Decoder error occurs.
- + DecoderInputBuffer
Holds input for a decoder.
- + DecoderInputBuffer.BufferReplacementMode
The buffer replacement mode.
- + DecoderInputBuffer.InsufficientCapacityException
Thrown when an attempt is made to write into a DecoderInputBuffer whose DecoderInputBuffer.bufferReplacementMode is DecoderInputBuffer.BUFFER_REPLACEMENT_MODE_DISABLED and who DecoderInputBuffer.data capacity is smaller than required.
- + DecoderOutputBuffer
Output buffer decoded by a Decoder.
- + DecoderOutputBuffer.Owner<S extends DecoderOutputBuffer>
Buffer owner.
- + DecoderReuseEvaluation
The result of an evaluation to determine whether a decoder can be reused for a new input format.
- + DecoderReuseEvaluation.DecoderDiscardReasons
Possible reasons why reuse is not possible.
- + DecoderReuseEvaluation.DecoderReuseResult
Possible outcomes of the evaluation.
- + DecoderVideoRenderer
Decodes and renders video using a Decoder.
- + DefaultAllocator
Default implementation of Allocator.
- + DefaultAnalyticsCollector
Data collector that forwards analytics events to AnalyticsListeners.
- + DefaultAudioSink
Plays audio data.
- + DefaultAudioSink.AudioProcessorChain
Provides a chain of audio processors, which are used for any user-defined processing and applying playback parameters (if supported).
- + DefaultAudioSink.Builder
A builder to create DefaultAudioSink instances.
- + DefaultAudioSink.DefaultAudioProcessorChain
The default audio processor chain, which applies a (possibly empty) chain of user-defined audio processors followed by SilenceSkippingAudioProcessor and SonicAudioProcessor.
- + DefaultAudioSink.InvalidAudioTrackTimestampException
Thrown when the audio track has provided a spurious timestamp, if DefaultAudioSink.failOnSpuriousAudioTimestamp is set.
- + DefaultAudioSink.OffloadMode
Audio offload mode configuration.
- + DefaultAudioSink.OutputMode
Output mode of the audio sink.
- + DefaultAudioTrackBufferSizeProvider
Provide the buffer size to use when creating an AudioTrack.
- + DefaultAudioTrackBufferSizeProvider.Builder
A builder to create DefaultAudioTrackBufferSizeProvider instances.
- + DefaultBandwidthMeter
Estimates bandwidth by listening to data transfers.
- + DefaultBandwidthMeter.Builder
Builder for a bandwidth meter.
- + DefaultCastOptionsProvider
A convenience OptionsProvider to target the default cast receiver app.
- + +DefaultCodec + +
A default Codec implementation that uses MediaCodec.
+ + + DefaultCompositeSequenceableLoaderFactory
Default implementation of CompositeSequenceableLoaderFactory.
- + DefaultContentMetadata
Default implementation of ContentMetadata.
- + DefaultDashChunkSource
A default DashChunkSource implementation.
- + DefaultDashChunkSource.Factory   - + DefaultDashChunkSource.RepresentationHolder
Holds information about a snapshot of a single Representation.
- + DefaultDashChunkSource.RepresentationSegmentIterator
MediaChunkIterator wrapping a DefaultDashChunkSource.RepresentationHolder.
- + DefaultDatabaseProvider
A DatabaseProvider that provides instances obtained from a SQLiteOpenHelper.
- + DefaultDataSource
A DataSource that supports multiple URI schemes.
- + DefaultDataSource.Factory
DataSource.Factory for DefaultDataSource instances.
- + DefaultDataSourceFactory Deprecated.
Use DefaultDataSource.Factory instead.
- + DefaultDownloaderFactory
Default DownloaderFactory, supporting creation of progressive, DASH, HLS and SmoothStreaming downloaders.
- + DefaultDownloadIndex
A DownloadIndex that uses SQLite to persist Downloads.
- + DefaultDrmSessionManager
A DrmSessionManager that supports playbacks using ExoMediaDrm.
- + DefaultDrmSessionManager.Builder
Builder for DefaultDrmSessionManager instances.
- + DefaultDrmSessionManager.MissingSchemeDataException
Signals that the Format.drmInitData passed to DefaultDrmSessionManager.acquireSession(com.google.android.exoplayer2.drm.DrmSessionEventListener.EventDispatcher, com.google.android.exoplayer2.Format) does not contain scheme data for the required UUID.
- + DefaultDrmSessionManager.Mode
Determines the action to be done after a session acquired.
- + DefaultDrmSessionManagerProvider
Default implementation of DrmSessionManagerProvider.
- + +DefaultEncoderFactory + +
A default implementation of Codec.EncoderFactory.
+ + + DefaultExtractorInput
An ExtractorInput that wraps a DataReader.
- + DefaultExtractorsFactory
An ExtractorsFactory that provides an array of extractors for the following formats: @@ -2195,1736 +2225,1754 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); com.google.android.exoplayer2.ext.flac.FlacExtractor is used.
- + DefaultHlsDataSourceFactory
Default implementation of HlsDataSourceFactory.
- + DefaultHlsExtractorFactory
Default HlsExtractorFactory implementation.
- + DefaultHlsPlaylistParserFactory
Default implementation for HlsPlaylistParserFactory.
- + DefaultHlsPlaylistTracker
Default implementation for HlsPlaylistTracker.
- + DefaultHttpDataSource
An HttpDataSource that uses Android's HttpURLConnection.
- + DefaultHttpDataSource.Factory
DataSource.Factory for DefaultHttpDataSource instances.
- + DefaultLivePlaybackSpeedControl
A LivePlaybackSpeedControl that adjusts the playback speed using a proportional controller.
- + DefaultLivePlaybackSpeedControl.Builder
Builder for a DefaultLivePlaybackSpeedControl.
- + DefaultLoadControl
The default LoadControl implementation.
- + DefaultLoadControl.Builder
Builder for DefaultLoadControl.
- + DefaultLoadErrorHandlingPolicy
Default implementation of LoadErrorHandlingPolicy.
- + DefaultMediaCodecAdapterFactory
The default MediaCodecAdapter.Factory.
- + DefaultMediaDescriptionAdapter
Default implementation of PlayerNotificationManager.MediaDescriptionAdapter.
- + DefaultMediaItemConverter
Default MediaItemConverter implementation.
- + DefaultMediaItemConverter
Default implementation of MediaItemConverter.
- + DefaultMediaSourceFactory
The default MediaSource.Factory implementation.
- + DefaultMediaSourceFactory.AdsLoaderProvider Deprecated.
Use AdsLoader.Provider instead.
- + DefaultPlaybackSessionManager
Default PlaybackSessionManager which instantiates a new session for each window in the timeline and also for each ad within the windows.
- + DefaultRenderersFactory
Default RenderersFactory implementation.
- + DefaultRenderersFactory.ExtensionRendererMode
Modes for using extension renderers.
- + DefaultRenderersFactoryAsserts
Assertions for DefaultRenderersFactory.
- + DefaultRtpPayloadReaderFactory
Default RtpPayloadReader.Factory implementation.
- + DefaultSsChunkSource
A default SsChunkSource implementation.
- + DefaultSsChunkSource.Factory   - + DefaultTimeBar
A time bar that shows a current position, buffered position, duration and ad markers.
- + DefaultTrackNameProvider
A default TrackNameProvider.
- + DefaultTrackSelector
A default TrackSelector suitable for most use cases.
- + DefaultTrackSelector.Parameters
Extends DefaultTrackSelector.Parameters by adding fields that are specific to DefaultTrackSelector.
- -DefaultTrackSelector.ParametersBuilder + +DefaultTrackSelector.Parameters.Builder
A builder for DefaultTrackSelector.Parameters.
- + +DefaultTrackSelector.ParametersBuilder +Deprecated. +
Use DefaultTrackSelector.Parameters.Builder instead.
+ + + DefaultTrackSelector.SelectionEligibility
The extent to which tracks are eligible for selection.
- + DefaultTrackSelector.SelectionOverride
A track selection override.
- + DefaultTsPayloadReaderFactory
Default TsPayloadReader.Factory implementation.
- + DefaultTsPayloadReaderFactory.Flags
Flags controlling elementary stream readers' behavior.
- + Descriptor
A descriptor, as defined by ISO 23009-1, 2nd edition, 5.8.2.
- + DeviceInfo
Information about the playback device.
- + DeviceInfo.PlaybackType
Types of playback.
- + DolbyVisionConfig
Dolby Vision configuration data.
- + Download
Represents state of a download.
- + Download.FailureReason
Failure reasons.
- + Download.State
Download states.
- + DownloadBuilder
Builder for Download.
- + DownloadCursor
Provides random read-write access to the result set returned by a database query.
- + Downloader
Downloads and removes a piece of content.
- + Downloader.ProgressListener
Receives progress updates during download operations.
- + DownloaderFactory
Creates Downloaders for given DownloadRequests.
- + DownloadException
Thrown on an error during downloading.
- + DownloadHelper
A helper for initializing and removing downloads.
- + DownloadHelper.Callback
A callback to be notified when the DownloadHelper is prepared.
- + DownloadHelper.LiveContentUnsupportedException
Thrown at an attempt to download live content.
- + DownloadIndex
An index of Downloads.
- + DownloadManager
Manages downloads.
- + DownloadManager.Listener
Listener for DownloadManager events.
- + DownloadNotificationHelper
Helper for creating download notifications.
- + DownloadProgress
Mutable Download progress.
- + DownloadRequest
Defines content to be downloaded.
- + DownloadRequest.Builder
A builder for download requests.
- + DownloadRequest.UnsupportedRequestException
Thrown when the encoded request data belongs to an unsupported request type.
- + DownloadService
A Service for downloading media.
- + DrmInitData
Initialization data for one or more DRM schemes.
- + DrmInitData.SchemeData
Scheme initialization data.
- + DrmSession
A DRM session.
- + DrmSession.DrmSessionException
Wraps the throwable which is the cause of the error state.
- + DrmSession.State
The state of the DRM session.
- + DrmSessionEventListener
Listener of DrmSessionManager events.
- + DrmSessionEventListener.EventDispatcher
Dispatches events to DrmSessionEventListeners.
- + DrmSessionManager
Manages a DRM session.
- + DrmSessionManager.DrmSessionReference
Represents a single reference count of a DrmSession, while deliberately not giving access to the underlying session.
- + DrmSessionManagerProvider
A provider to obtain a DrmSessionManager suitable for playing the content described by a MediaItem.
- + DrmUtil
DRM-related utility methods.
- + DrmUtil.ErrorSource
Identifies the operation which caused a DRM-related error.
- + DtsReader
Parses a continuous DTS byte stream and extracts individual samples.
- + DtsUtil
Utility methods for parsing DTS frames.
- -DummyDataSource - -
A DataSource which provides no data.
- - - + DummyExoMediaDrm
An ExoMediaDrm that does not support any protection schemes.
- + DummyExtractorOutput
A fake ExtractorOutput implementation.
- + DummyMainThread
Helper class to simulate main/UI thread in tests.
- + DummyMainThread.TestRunnable
Runnable variant which can throw a checked exception.
- -DummySurface - -
A dummy Surface.
- - - + DummyTrackOutput
A fake TrackOutput implementation.
- + DumpableFormat
Wraps a Format to allow dumping it.
- + Dumper
Helper utility to dump field values.
- + Dumper.Dumpable
Provides custom dump method.
- + DumpFileAsserts
Helper class to enable assertions based on golden-data dump files.
- + DvbDecoder
A SimpleSubtitleDecoder for DVB subtitles.
- + DvbSubtitleReader
Parses DVB subtitle data and extracts individual frames.
- + EbmlProcessor
Defines EBML element IDs/types and processes events.
- + EbmlProcessor.ElementType
EBML element types.
- + EGLSurfaceTexture
Generates a SurfaceTexture using EGL/GLES functions.
- + EGLSurfaceTexture.GlException
A runtime exception to be thrown if some EGL operations failed.
- + EGLSurfaceTexture.SecureMode
Secure mode to be used by the EGL surface and context.
- + EGLSurfaceTexture.TextureImageListener
Listener to be called when the texture image on SurfaceTexture has been updated.
- + ElementaryStreamReader
Extracts individual samples from an elementary media stream, preserving original order.
- + EmptySampleStream
An empty SampleStream.
- + +EncoderSelector + +
Selector of MediaCodec encoder instances.
+ + + EncoderUtil
Utility methods for MediaCodec encoders.
- + ErrorMessageProvider<T extends Throwable>
Converts throwables into error codes and user readable error messages.
- + ErrorStateDrmSession
A DrmSession that's in a terminal error state.
- + EventLogger
Logs events from Player and other core components using Log.
- + EventMessage
An Event Message (emsg) as defined in ISO 23009-1.
- + EventMessageDecoder
Decodes data encoded by EventMessageEncoder.
- + EventMessageEncoder
Encodes data that can be decoded by EventMessageDecoder.
- + EventStream
A DASH in-MPD EventStream element, as defined by ISO/IEC 23009-1, 2nd edition, section 5.10.
- + ExoDatabaseProvider Deprecated.
Use StandaloneDatabaseProvider.
- + ExoHostedTest
A HostActivity.HostedTest for ExoPlayer playback tests.
- + ExoMediaDrm
Used to obtain keys for decrypting protected media streams.
- + ExoMediaDrm.AppManagedProvider
Provides an ExoMediaDrm instance owned by the app.
- + ExoMediaDrm.KeyRequest
Contains data used to request keys from a license server.
- + ExoMediaDrm.KeyRequest.RequestType
Key request types.
- + ExoMediaDrm.KeyStatus
Defines the status of a key.
- + ExoMediaDrm.OnEventListener
Called when a DRM event occurs.
- + ExoMediaDrm.OnExpirationUpdateListener
Called when a session expiration update occurs.
- + ExoMediaDrm.OnKeyStatusChangeListener
Called when the keys in a DRM session change state.
- + ExoMediaDrm.Provider
Provider for ExoMediaDrm instances.
- + ExoMediaDrm.ProvisionRequest
Contains data to request a certificate from a provisioning server.
- + ExoPlaybackException
Thrown when a non locally recoverable playback failure occurs.
- + ExoPlaybackException.Type
The type of source that produced the error.
- + ExoPlayer
An extensible media player that plays MediaSources.
- + ExoPlayer.AudioComponent Deprecated.
Use ExoPlayer, as the ExoPlayer.AudioComponent methods are defined by that interface.
- + ExoPlayer.AudioOffloadListener
A listener for audio offload events.
- + ExoPlayer.Builder
A builder for ExoPlayer instances.
- + ExoPlayer.DeviceComponent Deprecated.
Use Player, as the ExoPlayer.DeviceComponent methods are defined by that interface.
- + ExoPlayer.TextComponent Deprecated.
Use Player, as the ExoPlayer.TextComponent methods are defined by that interface.
- + ExoPlayer.VideoComponent Deprecated.
Use ExoPlayer, as the ExoPlayer.VideoComponent methods are defined by that interface.
- + ExoplayerCuesDecoder
A SubtitleDecoder that decodes subtitle samples of type MimeTypes.TEXT_EXOPLAYER_CUES
- + ExoPlayerLibraryInfo
Information about the media libraries.
- + ExoPlayerTestRunner
Helper class to run an ExoPlayer test.
- + ExoPlayerTestRunner.Builder
Builder to set-up an ExoPlayerTestRunner.
- + ExoTimeoutException
A timeout of an operation on the ExoPlayer playback thread.
- + ExoTimeoutException.TimeoutOperation
The operation which produced the timeout error.
- + ExoTrackSelection
A TrackSelection that can change the individually selected track as a result of calling ExoTrackSelection.updateSelectedTrack(long, long, long, List, MediaChunkIterator[]) or ExoTrackSelection.evaluateQueueSize(long, List).
- + ExoTrackSelection.Definition
Contains of a subset of selected tracks belonging to a TrackGroup.
- + ExoTrackSelection.Factory
Factory for ExoTrackSelection instances.
- + Extractor
Extracts media data from a container format.
- + Extractor.ReadResult
Result values that can be returned by Extractor.read(ExtractorInput, PositionHolder).
- + ExtractorAsserts
Assertion methods for Extractor.
- + ExtractorAsserts.AssertionConfig
A config for the assertions made (e.g.
- + ExtractorAsserts.AssertionConfig.Builder
Builder for ExtractorAsserts.AssertionConfig instances.
- + ExtractorAsserts.ExtractorFactory
A factory for Extractor instances.
- + ExtractorAsserts.SimulationConfig
A config of different environments to simulate and extractor behaviours to test.
- + ExtractorInput
Provides data to be consumed by an Extractor.
- + ExtractorOutput
Receives stream level data extracted by an Extractor.
- + ExtractorsFactory
Factory for arrays of Extractor instances.
- + ExtractorUtil
Extractor related utility methods.
- + FailOnCloseDataSink
A DataSink that can simulate caching the bytes being written to it, and then failing to persist them when FailOnCloseDataSink.close() is called.
- + FailOnCloseDataSink.Factory
Factory to create a FailOnCloseDataSink.
- + FakeAdaptiveDataSet
Fake data set emulating the data of an adaptive media source.
- + FakeAdaptiveDataSet.Factory
Factory for FakeAdaptiveDataSets.
- + FakeAdaptiveDataSet.Iterator
MediaChunkIterator for the chunks defined by a fake adaptive data set.
- + FakeAdaptiveMediaPeriod
Fake MediaPeriod that provides tracks from the given TrackGroupArray.
- + FakeAdaptiveMediaSource
Fake MediaSource that provides a given timeline.
- + FakeAudioRenderer
A FakeRenderer that supports C.TRACK_TYPE_AUDIO.
- + FakeChunkSource
Fake ChunkSource with adaptive media chunks of a given duration.
- + FakeChunkSource.Factory
Factory for a FakeChunkSource.
- + FakeClock
Fake Clock implementation that allows to advance the time manually to trigger pending timed messages.
- + FakeCryptoConfig
Fake CryptoConfig.
- + FakeDataSet
Collection of FakeDataSet.FakeData to be served by a FakeDataSource.
- + FakeDataSet.FakeData
Container of fake data to be served by a FakeDataSource.
- + FakeDataSet.FakeData.Segment
A segment of FakeDataSet.FakeData.
- + FakeDataSource
A fake DataSource capable of simulating various scenarios.
- + FakeDataSource.Factory
Factory to create a FakeDataSource.
- + FakeExoMediaDrm
A fake implementation of ExoMediaDrm for use in tests.
- + FakeExoMediaDrm.Builder
Builder for FakeExoMediaDrm instances.
- + FakeExoMediaDrm.LicenseServer
An license server implementation to interact with FakeExoMediaDrm.
- + FakeExtractorInput
A fake ExtractorInput capable of simulating various scenarios.
- + FakeExtractorInput.Builder
Builder of FakeExtractorInput instances.
- + FakeExtractorInput.SimulatedIOException
Thrown when simulating an IOException.
- + FakeExtractorOutput
A fake ExtractorOutput.
- + FakeMediaChunk
Fake MediaChunk.
- + FakeMediaChunkIterator
Fake MediaChunkIterator.
- + FakeMediaClockRenderer
Fake abstract Renderer which is also a MediaClock.
- + FakeMediaPeriod
Fake MediaPeriod that provides tracks from the given TrackGroupArray.
- + FakeMediaPeriod.TrackDataFactory
A factory to create the test data for a particular track.
- + FakeMediaSource
Fake MediaSource that provides a given timeline.
- + FakeMediaSource.InitialTimeline
A forwarding timeline to provide an initial timeline for fake multi window sources.
- + FakeMediaSourceFactory
Fake MediaSourceFactory that creates a FakeMediaSource.
- + FakeMetadataEntry
A fake Metadata.Entry.
- + FakeRenderer
Fake Renderer that supports any format with the matching track type.
- + FakeSampleStream
Fake SampleStream that outputs a given Format and any amount of items.
- + FakeSampleStream.FakeSampleStreamItem
Item to customize a return value of SampleStream.readData(com.google.android.exoplayer2.FormatHolder, com.google.android.exoplayer2.decoder.DecoderInputBuffer, @com.google.android.exoplayer2.source.SampleStream.ReadFlags int).
- + FakeShuffleOrder
Fake ShuffleOrder which returns a reverse order.
- + FakeTimeline
Fake Timeline which can be setup to return custom FakeTimeline.TimelineWindowDefinitions.
- + FakeTimeline.TimelineWindowDefinition
Definition used to define a FakeTimeline.
- + FakeTrackOutput
A fake TrackOutput.
- + FakeTrackOutput.Factory
Factory for FakeTrackOutput instances.
- + FakeTrackSelection
A fake ExoTrackSelection that only returns 1 fixed track, and allows querying the number of calls to its methods.
- + FakeTrackSelector
A fake MappingTrackSelector that returns FakeTrackSelections.
- + FakeVideoRenderer
A FakeRenderer that supports C.TRACK_TYPE_VIDEO.
- + FfmpegAudioRenderer
Decodes and renders audio using FFmpeg.
- + FfmpegDecoderException
Thrown when an FFmpeg decoder error occurs.
- + FfmpegLibrary
Configures and queries the underlying native library.
- + FileDataSource
A DataSource for reading local files.
- + FileDataSource.Factory
DataSource.Factory for FileDataSource instances.
- + FileDataSource.FileDataSourceException
Thrown when a FileDataSource encounters an error reading a file.
- + FileTypes
Defines common file type constants and helper methods.
- + FileTypes.Type
File types.
- + FilterableManifest<T>
A manifest that can generate copies of itself including only the streams specified by the given keys.
- + FilteringHlsPlaylistParserFactory
A HlsPlaylistParserFactory that includes only the streams identified by the given stream keys.
- + FilteringManifestParser<T extends FilterableManifest<T>>
A manifest parser that includes only the streams identified by the given stream keys.
- + FixedTrackSelection
A TrackSelection consisting of a single track.
- + FlacConstants
Defines constants used by the FLAC extractor.
- + FlacDecoder
Flac decoder.
- + FlacDecoderException
Thrown when an Flac decoder error occurs.
- + FlacExtractor
Facilitates the extraction of data from the FLAC container format.
- + FlacExtractor
Extracts data from FLAC container format.
- + FlacExtractor.Flags
Flags controlling the behavior of the extractor.
- + FlacExtractor.Flags
Flags controlling the behavior of the extractor.
- + FlacFrameReader
Reads and peeks FLAC frame elements according to the FLAC format specification.
- + FlacFrameReader.SampleNumberHolder
Holds a sample number.
- + FlacLibrary
Configures and queries the underlying native library.
- + FlacMetadataReader
Reads and peeks FLAC stream metadata elements according to the FLAC format specification.
- + FlacMetadataReader.FlacStreamMetadataHolder
Holds a FlacStreamMetadata.
- + FlacSeekTableSeekMap
A SeekMap implementation for FLAC streams that contain a seek table.
- + FlacStreamMetadata
Holder for FLAC metadata.
- + FlacStreamMetadata.SeekTable
A FLAC seek table.
- + FlagSet
A set of integer flags.
- + FlagSet.Builder
A builder for FlagSet instances.
- + FlvExtractor
Extracts data from the FLV container format.
- + Format
Represents a media format.
- + Format.Builder
Builds Format instances.
- + FormatHolder
Holds a Format.
- + ForwardingAudioSink
An overridable AudioSink implementation forwarding all methods to another sink.
- + ForwardingExtractorInput
An overridable ExtractorInput implementation forwarding all methods to another input.
- + ForwardingPlayer
A Player that forwards operations to another Player.
- + ForwardingTimeline
An overridable Timeline implementation forwarding all methods to another timeline.
- + FragmentedMp4Extractor
Extracts data from the FMP4 container format.
- + FragmentedMp4Extractor.Flags
Flags controlling the behavior of the extractor.
- + +FrameProcessingException + +
Thrown when an exception occurs while applying effects to video frames.
+ + + FrameworkCryptoConfig
A CryptoConfig for C.CRYPTO_TYPE_FRAMEWORK.
- + FrameworkMediaDrm
An ExoMediaDrm implementation that wraps the framework MediaDrm.
- + GaplessInfoHolder
Holder for gapless playback information.
- + Gav1Decoder
Gav1 decoder.
- + Gav1DecoderException
Thrown when a libgav1 decoder error occurs.
- + Gav1Library
Configures and queries the underlying native library.
- + GeobFrame
GEOB (General Encapsulated Object) ID3 frame.
- + +GlEffect + +
Interface for a video frame effect with a SingleFrameGlTextureProcessor implementation.
+ + + +GlMatrixTransformation + +
Specifies a 4x4 transformation Matrix to apply in the vertex shader for each frame.
+ + + +GlProgram + +
Represents a GLSL shader program.
+ + + GlUtil
OpenGL ES utilities.
- + GlUtil.GlException
Thrown when an OpenGL error occurs and GlUtil.glAssertionsEnabled is true.
- -GlUtil.Program - -
Represents a GLSL shader program.
- - - + H262Reader
Parses a continuous H262 byte stream and extracts individual frames.
- + H263Reader
Parses an ISO/IEC 14496-2 (MPEG-4 Part 2) or ITU-T Recommendation H.263 byte stream and extracts individual frames.
- + H264Reader
Parses a continuous H264 byte stream and extracts individual frames.
- + H265Reader
Parses a continuous H.265 byte stream and extracts individual frames.
- + HandlerWrapper
An interface to call through to a Handler.
- + HandlerWrapper.Message
A message obtained from the handler.
- + HeartRating
A rating expressed as "heart" or "no heart".
- + HevcConfig
HEVC configuration data.
- + HlsDataSourceFactory
Creates DataSources for HLS playlists, encryption and media chunks.
- + HlsDownloader
A downloader for HLS streams.
- + HlsExtractorFactory
Factory for HLS media chunk extractors.
- + HlsManifest
Holds a multivariant playlist along with a snapshot of one of its media playlists.
- + HlsMasterPlaylist Deprecated.
Use HlsMultivariantPlaylist instead.
- + HlsMediaChunkExtractor
Extracts samples and track Formats from HlsMediaChunks.
- + HlsMediaPeriod
A MediaPeriod that loads an HLS stream.
- + HlsMediaPlaylist
Represents an HLS media playlist.
- + HlsMediaPlaylist.Part
A media part.
- + HlsMediaPlaylist.PlaylistType
Type of the playlist, as defined by #EXT-X-PLAYLIST-TYPE.
- + HlsMediaPlaylist.RenditionReport
A rendition report for an alternative rendition defined in another media playlist.
- + HlsMediaPlaylist.Segment
Media segment reference.
- + HlsMediaPlaylist.SegmentBase
The base for a HlsMediaPlaylist.Segment or a HlsMediaPlaylist.Part required for playback.
- + HlsMediaPlaylist.ServerControl
Server control attributes.
- + HlsMediaSource
An HLS MediaSource.
- + HlsMediaSource.Factory
Factory for HlsMediaSources.
- + HlsMediaSource.MetadataType
The types of metadata that can be extracted from HLS streams.
- + HlsMultivariantPlaylist
Represents an HLS multivariant playlist.
- + HlsMultivariantPlaylist.Rendition
A rendition (i.e.
- + HlsMultivariantPlaylist.Variant
A variant (i.e.
- + HlsPlaylist
Represents an HLS playlist.
- + HlsPlaylistParser
HLS playlists parsing logic.
- + HlsPlaylistParser.DeltaUpdateException
Exception thrown when merging a delta update fails.
- + HlsPlaylistParserFactory
Factory for HlsPlaylist parsers.
- + HlsPlaylistTracker
Tracks playlists associated to an HLS stream and provides snapshots.
- + HlsPlaylistTracker.Factory
Factory for HlsPlaylistTracker instances.
- + HlsPlaylistTracker.PlaylistEventListener
Called on playlist loading events.
- + HlsPlaylistTracker.PlaylistResetException
Thrown when the media sequence of a new snapshot indicates the server has reset.
- + HlsPlaylistTracker.PlaylistStuckException
Thrown when a playlist is considered to be stuck due to a server side error.
- + HlsPlaylistTracker.PrimaryPlaylistListener
Listener for primary playlist changes.
- + HlsTrackMetadataEntry
Holds metadata associated to an HLS media track.
- + HlsTrackMetadataEntry.VariantInfo
Holds attributes defined in an EXT-X-STREAM-INF tag.
- + HorizontalTextInVerticalContextSpan
A styling span for horizontal text in a vertical context.
- + HostActivity
A host activity for performing playback tests.
- + HostActivity.HostedTest
Interface for tests that run inside of a HostActivity.
- + HttpDataSource
An HTTP DataSource.
- + HttpDataSource.BaseFactory
Base implementation of HttpDataSource.Factory that sets default request properties.
- + HttpDataSource.CleartextNotPermittedException
Thrown when cleartext HTTP traffic is not permitted.
- + HttpDataSource.Factory
A factory for HttpDataSource instances.
- + HttpDataSource.HttpDataSourceException
Thrown when an error is encountered when trying to read from a HttpDataSource.
- + HttpDataSource.HttpDataSourceException.Type
The type of operation that produced the error.
- + HttpDataSource.InvalidContentTypeException
Thrown when the content type is invalid.
- + HttpDataSource.InvalidResponseCodeException
Thrown when an attempt to open a connection results in a response code not in the 2xx range.
- + HttpDataSource.RequestProperties
Stores HTTP request properties (aka HTTP headers) and provides methods to modify the headers in @@ -3932,366 +3980,366 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); state.
- + HttpDataSourceTestEnv
A JUnit Rule that creates test resources for HttpDataSource contract tests.
- + HttpMediaDrmCallback -
A MediaDrmCallback that makes requests using HttpDataSource instances.
+
A MediaDrmCallback that makes requests using DataSource instances.
- + HttpUtil
Utility methods for HTTP.
- + IcyDecoder
Decodes ICY stream information.
- + IcyHeaders
ICY headers.
- + IcyInfo
ICY in-stream information.
- + Id3Decoder
Decodes ID3 tags.
- + Id3Decoder.FramePredicate
A predicate for determining whether individual frames should be decoded.
- + Id3Frame
Base class for ID3 frames.
- + Id3Peeker
Peeks data from the beginning of an ExtractorInput to determine if there is any ID3 tag.
- + Id3Reader
Parses ID3 data and extracts individual text information frames.
- + IllegalSeekPositionException
Thrown when an attempt is made to seek to a position that does not exist in the player's Timeline.
- + ImaAdsLoader
AdsLoader using the IMA SDK.
- + ImaAdsLoader.Builder
Builder for ImaAdsLoader.
- + ImaServerSideAdInsertionMediaSource
MediaSource for IMA server side inserted ad streams.
- + ImaServerSideAdInsertionMediaSource.AdsLoader
An ads loader for IMA server side ad insertion streams.
- + ImaServerSideAdInsertionMediaSource.AdsLoader.Builder
Builder for building an ImaServerSideAdInsertionMediaSource.AdsLoader.
- + ImaServerSideAdInsertionMediaSource.AdsLoader.State
The state of the ImaServerSideAdInsertionMediaSource.AdsLoader that can be used when resuming from the background.
- + ImaServerSideAdInsertionMediaSource.Factory
Factory for creating ImaServerSideAdInsertionMediaSources.
- + ImaServerSideAdInsertionUriBuilder
Builder for URI for IMA DAI streams.
- + IndexSeekMap
A SeekMap implementation based on a mapping between times and positions in the input stream.
- + InitializationChunk
A Chunk that uses an Extractor to decode initialization data for single track.
- + InputReaderAdapterV30
MediaParser.SeekableInputReader implementation wrapping a DataReader.
- + InternalFrame
Internal ID3 frame that is intended for use by the player.
- + JpegExtractor
Extracts JPEG image using the Exif format.
- + KeysExpiredException
Thrown when the drm keys loaded into an open session expire.
- + LanguageFeatureSpan
Marker interface for span classes that carry language features rather than style information.
- + LatmReader
Parses and extracts samples from an AAC/LATM elementary stream.
- + LeanbackPlayerAdapter
Leanback PlayerAdapter implementation for Player.
- + LeastRecentlyUsedCacheEvictor
Evicts least recently used cache files first.
- + LibflacAudioRenderer
Decodes and renders audio using the native Flac decoder.
- + Libgav1VideoRenderer
Decodes and renders video using libgav1 decoder.
- + LibopusAudioRenderer
Decodes and renders audio using the native Opus decoder.
- + LibraryLoader
Configurable loader for native libraries.
- + LibvpxVideoRenderer
Decodes and renders video using the native VP9 decoder.
- + ListenerSet<T extends @NonNull Object>
A set of listeners.
- + ListenerSet.Event<T>
An event sent to a listener.
- + ListenerSet.IterationFinishedEvent<T>
An event sent to a listener when all other events sent during one Looper message queue iteration were handled by the listener.
- + LivePlaybackSpeedControl
Controls the playback speed while playing live content in order to maintain a steady target live offset.
- + LoadControl
Controls buffering of media.
- + Loader
Manages the background loading of Loader.Loadables.
- + Loader.Callback<T extends Loader.Loadable>
A callback to be notified of Loader events.
- + Loader.Loadable
An object that can be loaded using a Loader.
- + Loader.LoadErrorAction
Action that can be taken in response to Loader.Callback.onLoadError(Loadable, long, long, IOException, int).
- + Loader.ReleaseCallback
A callback to be notified when a Loader has finished being released.
- + Loader.UnexpectedLoaderException
Thrown when an unexpected exception or error is encountered during loading.
- + LoaderErrorThrower
Conditionally throws errors affecting a Loader.
- + LoaderErrorThrower.Dummy
A LoaderErrorThrower that never throws.
- + LoadErrorHandlingPolicy
A policy that defines how load errors are handled.
- + LoadErrorHandlingPolicy.FallbackOptions
Holds information about the available fallback options.
- + LoadErrorHandlingPolicy.FallbackSelection
A selected fallback option.
- + LoadErrorHandlingPolicy.FallbackType
Fallback type.
- + LoadErrorHandlingPolicy.LoadErrorInfo
Holds information about a load task error.
- + LoadEventInfo
MediaSource load event information.
- + LocalMediaDrmCallback
A MediaDrmCallback that provides a fixed response to key requests.
- + Log
Wrapper around Log which allows to set the log level.
- + Log.LogLevel
Log level for ExoPlayer logcat logging.
- + LongArray
An append-only, auto-growing long[].
- + LoopingMediaSource Deprecated.
To loop a MediaSource indefinitely, use Player.setRepeatMode(int) instead of this class.
- + MappingTrackSelector
Base class for TrackSelectors that first establish a mapping between TrackGroups @@ -4299,1751 +4347,1801 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); renderer.
- + MappingTrackSelector.MappedTrackInfo
Provides mapped track information for each renderer.
- + MappingTrackSelector.MappedTrackInfo.RendererSupport
Levels of renderer support.
- + MaskingMediaPeriod
Media period that defers calling MediaSource.createPeriod(MediaPeriodId, Allocator, long) on a given source until MaskingMediaPeriod.createPeriod(MediaPeriodId) has been called.
- + MaskingMediaPeriod.PrepareListener
Listener for preparation events.
- + MaskingMediaSource
A MediaSource that masks the Timeline with a placeholder until the actual media structure is known.
- + MaskingMediaSource.PlaceholderTimeline
A timeline with one dynamic window with a period of indeterminate duration.
- + +MatrixTransformation + +
Specifies a 3x3 transformation Matrix to apply in the vertex shader for each frame.
+ + + MatroskaExtractor
Extracts data from the Matroska and WebM container formats.
- + MatroskaExtractor.Flags
Flags controlling the behavior of the extractor.
- + MatroskaExtractor.Track
Holds data corresponding to a single track.
- + MdtaMetadataEntry
Stores extensible metadata with handler type 'mdta'.
- + MediaChunk
An abstract base class for Chunks that contain media samples.
- + MediaChunkIterator
Iterator for media chunk sequences.
- + MediaClock
Tracks the progression of media time.
- + MediaCodecAdapter
Abstracts MediaCodec operations.
- + MediaCodecAdapter.Configuration
Configuration parameters for a MediaCodecAdapter.
- + MediaCodecAdapter.Factory
A factory for MediaCodecAdapter instances.
- + MediaCodecAdapter.OnFrameRenderedListener
Listener to be called when an output frame has rendered on the output surface.
- + MediaCodecAudioRenderer
Decodes and renders audio using MediaCodec and an AudioSink.
- + MediaCodecDecoderException
Thrown when a failure occurs in a MediaCodec decoder.
- + MediaCodecInfo
Information about a MediaCodec for a given mime type.
- + MediaCodecRenderer
An abstract renderer that uses MediaCodec to decode samples for rendering.
- + MediaCodecRenderer.DecoderInitializationException
Thrown when a failure occurs instantiating a decoder.
- + MediaCodecSelector
Selector of MediaCodec instances.
- + MediaCodecUtil
A utility class for querying the available codecs.
- + MediaCodecUtil.DecoderQueryException
Thrown when an error occurs querying the device for its underlying media capabilities.
- + MediaCodecVideoDecoderException
Thrown when a failure occurs in a MediaCodec video decoder.
- + MediaCodecVideoRenderer
Decodes and renders video using MediaCodec.
- + MediaCodecVideoRenderer.CodecMaxValues   - + MediaDrmCallback
Performs ExoMediaDrm key and provisioning requests.
- + MediaDrmCallbackException
Thrown when an error occurs while executing a DRM key or provisioning request.
- + MediaFormatUtil
Helper class containing utility methods for managing MediaFormat instances.
- + MediaItem
Representation of a media item.
- + MediaItem.AdsConfiguration
Configuration for playing back linear ads with a media item.
- + MediaItem.AdsConfiguration.Builder
Builder for MediaItem.AdsConfiguration instances.
- + MediaItem.Builder
A builder for MediaItem instances.
- + MediaItem.ClippingConfiguration
Optionally clips the media item to a custom start and end position.
- + MediaItem.ClippingConfiguration.Builder
Builder for MediaItem.ClippingConfiguration instances.
- + MediaItem.ClippingProperties Deprecated.
Use MediaItem.ClippingConfiguration instead.
- + MediaItem.DrmConfiguration
DRM configuration for a media item.
- + MediaItem.DrmConfiguration.Builder
Builder for MediaItem.DrmConfiguration.
- + MediaItem.LiveConfiguration
Live playback configuration.
- + MediaItem.LiveConfiguration.Builder
Builder for MediaItem.LiveConfiguration instances.
- + MediaItem.LocalConfiguration
Properties for local playback.
- + MediaItem.PlaybackProperties Deprecated.
Use MediaItem.LocalConfiguration.
- + +MediaItem.RequestMetadata + +
Metadata that helps the player to understand a playback request represented by a MediaItem.
+ + + +MediaItem.RequestMetadata.Builder + +
Builder for MediaItem.RequestMetadata instances.
+ + + MediaItem.Subtitle Deprecated.
Use MediaItem.SubtitleConfiguration instead
- + MediaItem.SubtitleConfiguration
Properties for a text track.
- + MediaItem.SubtitleConfiguration.Builder
Builder for MediaItem.SubtitleConfiguration instances.
- + MediaItemConverter
Converts between MediaItem and the Cast SDK's MediaQueueItem.
- + MediaItemConverter
Converts between Media2 MediaItem and ExoPlayer MediaItem.
- + MediaLoadData
Descriptor for data being loaded or selected by a MediaSource.
- + MediaMetadata
Metadata of a MediaItem, playlist, or a combination of multiple sources of Metadata.
- + MediaMetadata.Builder
A builder for MediaMetadata instances.
- + MediaMetadata.FolderType
The folder type of the media item.
- + MediaMetadata.PictureType
The picture type of the artwork.
- + MediaMetricsListener
An AnalyticsListener that interacts with the Android MediaMetricsManager.
- + MediaParserChunkExtractor
ChunkExtractor implemented on top of the platform's MediaParser.
- + MediaParserExtractorAdapter
ProgressiveMediaExtractor implemented on top of the platform's MediaParser.
- + MediaParserHlsMediaChunkExtractor
HlsMediaChunkExtractor implemented on top of the platform's MediaParser.
- + MediaParserUtil
Miscellaneous constants and utility methods related to the MediaParser integration.
- + MediaPeriod
Loads media corresponding to a Timeline.Period, and allows that media to be read.
- + MediaPeriod.Callback
A callback to be notified of MediaPeriod events.
- + MediaPeriodAsserts
Assertion methods for MediaPeriod.
- + MediaPeriodAsserts.FilterableManifestMediaPeriodFactory<T extends FilterableManifest<T>>
Interface to create media periods for testing based on a FilterableManifest.
- + MediaPeriodId
Identifies a specific playback of a Timeline.Period.
- + MediaSessionConnector
Connects a MediaSessionCompat to a Player.
- + MediaSessionConnector.CaptionCallback
Handles requests for enabling or disabling captions.
- + MediaSessionConnector.CommandReceiver
Receiver of media commands sent by a media controller.
- + MediaSessionConnector.CustomActionProvider
Provides a PlaybackStateCompat.CustomAction to be published and handles the action when sent by a media controller.
- + MediaSessionConnector.DefaultMediaMetadataProvider
Provides a default MediaMetadataCompat with properties and extras taken from the MediaDescriptionCompat of the MediaSessionCompat.QueueItem of the active queue item.
- + MediaSessionConnector.MediaButtonEventHandler
Handles a media button event.
- + MediaSessionConnector.MediaMetadataProvider
Provides a MediaMetadataCompat for a given player state.
- + MediaSessionConnector.PlaybackActions
Playback actions supported by the connector.
- + MediaSessionConnector.PlaybackPreparer
Interface to which playback preparation and play actions are delegated.
- + MediaSessionConnector.QueueEditor
Handles media session queue edits.
- + MediaSessionConnector.QueueNavigator
Handles queue navigation actions, and updates the media session queue by calling MediaSessionCompat.setQueue().
- + MediaSessionConnector.RatingCallback
Callback receiving a user rating for the active media item.
- + MediaSource
Defines and provides media to be played by an ExoPlayer.
- + MediaSource.Factory
Factory for creating MediaSources from MediaItems.
- + MediaSource.MediaPeriodId
Identifier for a MediaPeriod.
- + MediaSource.MediaSourceCaller
A caller of media sources, which will be notified of source events.
- + MediaSourceEventListener
Interface for callbacks to be notified of MediaSource events.
- + MediaSourceEventListener.EventDispatcher
Dispatches events to MediaSourceEventListeners.
- + MediaSourceFactory Deprecated.
Use MediaSource.Factory.
- + MediaSourceTestRunner
A runner for MediaSource tests.
- + MergingMediaSource
Merges multiple MediaSources.
- + MergingMediaSource.IllegalMergeException
Thrown when a MergingMediaSource cannot merge its sources.
- + MergingMediaSource.IllegalMergeException.Reason
The reason the merge failed.
- + Metadata
A collection of metadata entries.
- + Metadata.Entry
A metadata entry.
- + MetadataDecoder
Decodes metadata from binary data.
- + MetadataDecoderFactory
A factory for MetadataDecoder instances.
- + MetadataInputBuffer
A DecoderInputBuffer for a MetadataDecoder.
- + MetadataOutput
Receives metadata output.
- + MetadataRenderer
A renderer for metadata.
- + MetadataRetriever
Retrieves the static metadata of MediaItems.
- + MimeTypes
Defines common MIME types and helper methods.
- + MlltFrame
MPEG location lookup table frame.
- + MotionPhotoMetadata
Metadata of a motion photo file.
- + Mp3Extractor
Extracts data from the MP3 container format.
- + Mp3Extractor.Flags
Flags controlling the behavior of the extractor.
- + Mp4Extractor
Extracts data from the MP4 container format.
- + Mp4Extractor.Flags
Flags controlling the behavior of the extractor.
- + Mp4WebvttDecoder
A SimpleSubtitleDecoder for Webvtt embedded in a Mp4 container file.
- + MpegAudioReader
Parses a continuous MPEG Audio byte stream and extracts individual frames.
- + MpegAudioUtil
Utility methods for handling MPEG audio streams.
- + MpegAudioUtil.Header
Stores the metadata for an MPEG audio frame.
- + NalUnitUtil
Utility methods for handling H.264/AVC and H.265/HEVC NAL units.
- + NalUnitUtil.H265SpsData
Holds data parsed from a H.265 sequence parameter set NAL unit.
- + NalUnitUtil.PpsData
Holds data parsed from a picture parameter set NAL unit.
- + NalUnitUtil.SpsData
Holds data parsed from a H.264 sequence parameter set NAL unit.
- + NetworkTypeObserver
Observer for network type changes.
- -NetworkTypeObserver.Config - -
Configuration for NetworkTypeObserver.
- - - + NetworkTypeObserver.Listener
A listener for network type changes.
- + NonNullApi
Annotation to declare all type usages in the annotated instance as Nonnull, unless explicitly marked with a nullable annotation.
- + NoOpCacheEvictor
Evictor that doesn't ever evict cache files.
- + NoSampleRenderer
A Renderer implementation whose track type is C.TRACK_TYPE_NONE and does not consume data from its SampleStream.
- + NotificationUtil
Utility methods for displaying Notifications.
- + NotificationUtil.Importance
Notification channel importance levels.
- + NoUidTimeline
A timeline which wraps another timeline and overrides all window and period uids to 0.
- + OfflineLicenseHelper
Helper class to download, renew and release offline licenses.
- + OggExtractor
Extracts data from the Ogg container format.
- + OkHttpDataSource
An HttpDataSource that delegates to Square's Call.Factory.
- + OkHttpDataSource.Factory
DataSource.Factory for OkHttpDataSource instances.
- + OkHttpDataSourceFactory Deprecated.
Use OkHttpDataSource.Factory instead.
- + OpusDecoder
Opus decoder.
- + OpusDecoderException
Thrown when an Opus decoder error occurs.
- + OpusLibrary
Configures and queries the underlying native library.
- + OpusUtil
Utility methods for handling Opus audio streams.
- + OutputConsumerAdapterV30
MediaParser.OutputConsumer implementation that redirects output to an ExtractorOutput.
- + ParsableBitArray
Wraps a byte array, providing methods that allow it to be read as a bitstream.
- + ParsableByteArray
Wraps a byte array, providing a set of methods for parsing data from it.
- + ParsableNalUnitBitArray
Wraps a byte array, providing methods that allow it to be read as a NAL unit bitstream.
- + ParserException
Thrown when an error occurs parsing media data and metadata.
- + ParsingLoadable<T>
A Loader.Loadable for objects that can be parsed from binary data using a ParsingLoadable.Parser.
- + ParsingLoadable.Parser<T>
Parses an object from loaded data.
- + PassthroughSectionPayloadReader
A SectionPayloadReader that directly outputs the section bytes as sample data.
- + PercentageRating
A rating expressed as a percentage.
- + Period
Encapsulates media content components over a contiguous period of time.
- + PesReader
Parses PES packet data and extracts samples.
- + PgsDecoder
A SimpleSubtitleDecoder for PGS subtitles.
- + PictureFrame
A picture parsed from a Vorbis Comment or a FLAC picture block.
- + +PlaceholderDataSource + +
A DataSource which provides no data.
+ + + +PlaceholderSurface + +
A placeholder Surface.
+ + + PlatformScheduler
A Scheduler that uses JobScheduler.
- + PlatformScheduler.PlatformSchedulerService
A JobService that starts the target service if the requirements are met.
- + PlaybackException
Thrown when a non locally recoverable playback failure occurs.
- + PlaybackException.ErrorCode
Codes that identify causes of player errors.
- -PlaybackException.FieldNumber - -
Identifiers for fields in a Bundle which represents a playback exception.
- - - + PlaybackOutput
Class to capture output from a playback test.
- + PlaybackParameters
Parameters that apply to playback, including speed setting.
- + PlaybackSessionManager
Manager for active playback sessions.
- + PlaybackSessionManager.Listener
A listener for session updates.
- + PlaybackStats
Statistics about playbacks.
- + PlaybackStats.EventTimeAndException
Stores an exception with the event time at which it occurred.
- + PlaybackStats.EventTimeAndFormat
Stores a format with the event time at which it started being used, or null to indicate that no format was used.
- + PlaybackStats.EventTimeAndPlaybackState
Stores a playback state with the event time at which it became active.
- + PlaybackStatsListener
AnalyticsListener to gather PlaybackStats from the player.
- + PlaybackStatsListener.Callback
A listener for PlaybackStats updates.
- + Player
A media player interface defining traditional high-level functionality, such as the ability to play, pause, seek and query properties of the currently playing media.
- + Player.Command
Commands that can be executed on a Player.
- + Player.Commands
A set of commands.
- + Player.Commands.Builder
A builder for Player.Commands instances.
- + Player.DiscontinuityReason
Reasons for position discontinuities.
- + Player.Event
Events that can be reported via Player.Listener.onEvents(Player, Events).
- + Player.Events
A set of events.
- + Player.Listener
Listener of all changes in the Player.
- + Player.MediaItemTransitionReason
Reasons for media item transitions.
- + Player.PlaybackSuppressionReason
Reason why playback is suppressed even though Player.getPlayWhenReady() is true.
- + Player.PlayWhenReadyChangeReason
Reasons for playWhenReady changes.
- + Player.PositionInfo
Position info describing a playback position involved in a discontinuity.
- + Player.RepeatMode
Repeat modes for playback.
- + Player.State
Playback state.
- + Player.TimelineChangeReason
Reasons for timeline changes.
- + PlayerControlView
A view for controlling Player instances.
- + PlayerControlView.ProgressUpdateListener
Listener to be notified when progress has been updated.
- + PlayerControlView.VisibilityListener
Listener to be notified about changes of the visibility of the UI control.
- + PlayerEmsgHandler
Handles all emsg messages from all media tracks for the player.
- + PlayerEmsgHandler.PlayerEmsgCallback
Callbacks for player emsg events encountered during DASH live stream.
- + PlayerId
Identifier for a player instance.
- + PlayerMessage
Defines a player message which can be sent with a PlayerMessage.Sender and received by a PlayerMessage.Target.
- + PlayerMessage.Sender
A sender for messages.
- + PlayerMessage.Target
A target for messages.
- + PlayerNotificationManager
Starts, updates and cancels a media style notification reflecting the player state.
- + PlayerNotificationManager.Builder
A builder for PlayerNotificationManager instances.
- + PlayerNotificationManager.CustomActionReceiver
Defines and handles custom actions.
- + PlayerNotificationManager.MediaDescriptionAdapter
An adapter to provide content assets of the media currently playing.
- + PlayerNotificationManager.NotificationListener
A listener for changes to the notification.
- + PlayerNotificationManager.Priority
Priority of the notification (required for API 25 and lower).
- + PlayerNotificationManager.Visibility
Visibility of notification on the lock screen.
- + PlayerView Deprecated.
Use StyledPlayerView instead.
- + PlayerView.ShowBuffering
Determines when the buffering view is shown.
- + PositionHolder
Holds a position in the stream.
- + +Presentation + +
Controls how a frame is presented with options to set the output resolution, crop the input, and + choose how to map the input pixels onto the output frame geometry (for example, by stretching the + input frame to match the specified output frame, or fitting the input frame using letterboxing).
+ + + +Presentation.Builder + +
A builder for Presentation instances.
+ + + +Presentation.Layout + +
Strategies controlling the layout of input pixels in the output frame.
+ + + PriorityDataSource
A DataSource that can be used as part of a task registered with a PriorityTaskManager.
- + PriorityDataSource.Factory
DataSource.Factory for PriorityDataSource instances.
- + PriorityDataSourceFactory Deprecated.
Use PriorityDataSource.Factory.
- + PriorityTaskManager
Allows tasks with associated priorities to control how they proceed relative to one another.
- + PriorityTaskManager.PriorityTooLowException
Thrown when task attempts to proceed when another registered task has a higher priority.
- + PrivateCommand
Represents a private command as defined in SCTE35, Section 9.3.6.
- + PrivFrame
PRIV (Private) ID3 frame.
- + ProgramInformation
A parsed program information element.
- + ProgressHolder
Holds a progress percentage.
- + ProgressiveDownloader
A downloader for progressive media streams.
- + ProgressiveMediaExtractor
Extracts the contents of a container file from a progressive media stream.
- + ProgressiveMediaExtractor.Factory
Creates ProgressiveMediaExtractor instances.
- + ProgressiveMediaSource
Provides one period that loads data from a Uri and extracted using an Extractor.
- + ProgressiveMediaSource.Factory
Factory for ProgressiveMediaSources.
- + PsExtractor
Extracts data from the MPEG-2 PS container format.
- + PsshAtomUtil
Utility methods for handling PSSH atoms.
- + RandomizedMp3Decoder
Generates randomized, but correct amount of data on MP3 audio input.
- + RandomTrackSelection
An ExoTrackSelection whose selected track is updated randomly.
- + RandomTrackSelection.Factory
Factory for RandomTrackSelection instances.
- + RangedUri
Defines a range of data located at a reference uri.
- + Rating
A rating for media content.
- -RawCcExtractor - -
Extracts data from the RawCC container format.
- - - + RawResourceDataSource
A DataSource for reading a raw resource inside the APK.
- + RawResourceDataSource.RawResourceDataSourceException
Thrown when an IOException is encountered reading from a raw resource.
- + Renderer
Renders media read from a SampleStream.
- + Renderer.MessageType
Represents a type of message that can be passed to a renderer.
- + Renderer.State
The renderer states.
- + Renderer.WakeupListener
Some renderers can signal when Renderer.render(long, long) should be called.
- + RendererCapabilities
Defines the capabilities of a Renderer.
- + RendererCapabilities.AdaptiveSupport
Level of renderer support for adaptive format switches.
- + RendererCapabilities.Capabilities
Combined renderer capabilities.
- + RendererCapabilities.DecoderSupport
Level of decoder support.
- + RendererCapabilities.FormatSupport Deprecated.
Use C.FormatSupport instead.
- + RendererCapabilities.HardwareAccelerationSupport
Level of renderer support for hardware acceleration.
- + RendererCapabilities.TunnelingSupport
Level of renderer support for tunneling.
- + RendererConfiguration
The configuration of a Renderer.
- + RenderersFactory
Builds Renderer instances for use by an ExoPlayer.
- + RepeatModeActionProvider
Provides a custom action for toggling repeat modes.
- + RepeatModeUtil
Util class for repeat mode handling.
- + RepeatModeUtil.RepeatToggleModes
Set of repeat toggle modes.
- + Representation
A DASH representation.
- + Representation.MultiSegmentRepresentation
A DASH representation consisting of multiple segments.
- + Representation.SingleSegmentRepresentation
A DASH representation consisting of a single segment.
- + Requirements
Defines a set of device state requirements.
- + Requirements.RequirementFlags
Requirement flags.
- + RequirementsWatcher
Watches whether the Requirements are met and notifies the RequirementsWatcher.Listener on changes.
- + RequirementsWatcher.Listener
Notified when RequirementsWatcher instance first created and on changes whether the Requirements are met.
- + ResolvingDataSource
DataSource wrapper allowing just-in-time resolution of DataSpecs.
- + ResolvingDataSource.Factory
DataSource.Factory for ResolvingDataSource instances.
- + ResolvingDataSource.Resolver
Resolves DataSpecs.
- + RobolectricUtil
Utility methods for Robolectric-based tests.
- + RtmpDataSource
A Real-Time Messaging Protocol (RTMP) DataSource.
- + RtmpDataSource.Factory
DataSource.Factory for RtmpDataSource instances.
- + RtmpDataSourceFactory Deprecated.
Use RtmpDataSource.Factory instead.
- + RtpAc3Reader
Parses an AC3 byte stream carried on RTP packets, and extracts AC3 frames.
- + RtpPacket
Represents the header and the payload of an RTP packet.
- + RtpPacket.Builder
Builder class for an RtpPacket
- + RtpPayloadFormat
Represents the payload format used in RTP.
- + RtpPayloadReader
Extracts media samples from the payload of received RTP packets.
- + RtpPayloadReader.Factory
Factory of RtpPayloadReader instances.
- + +RtpPcmReader + +
Parses byte stream carried on RTP packets, and extracts PCM frames.
+ + + RtpUtils
Utility methods for RTP.
- + RtspMediaSource
An Rtsp MediaSource
- + RtspMediaSource.Factory
Factory for RtspMediaSource
- + RtspMediaSource.RtspPlaybackException
Thrown when an exception or error is encountered during loading an RTSP stream.
- + RubySpan
A styling span for ruby text.
- + RunnableFutureTask<R,​E extends Exception>
A RunnableFuture that supports additional uninterruptible operations to query whether execution has started and finished.
- + SampleQueue
A queue of media samples.
- + SampleQueue.UpstreamFormatChangedListener
A listener for changes to the upstream format.
- + SampleQueueMappingException
Thrown when it is not possible to map a TrackGroup to a SampleQueue.
- + SampleStream
A stream of media samples (and associated format information).
- + SampleStream.ReadDataResult
Return values of SampleStream.readData(com.google.android.exoplayer2.FormatHolder, com.google.android.exoplayer2.decoder.DecoderInputBuffer, @com.google.android.exoplayer2.source.SampleStream.ReadFlags int).
- + SampleStream.ReadFlags
Flags that can be specified when calling SampleStream.readData(com.google.android.exoplayer2.FormatHolder, com.google.android.exoplayer2.decoder.DecoderInputBuffer, @com.google.android.exoplayer2.source.SampleStream.ReadFlags int).
- + +ScaleToFitTransformation + +
Specifies a simple rotation and/or scale to apply in the vertex shader.
+ + + +ScaleToFitTransformation.Builder + +
A builder for ScaleToFitTransformation instances.
+ + + Scheduler
Schedules a service to be started in the foreground when some Requirements are met.
- + SectionPayloadReader
Reads section data.
- + SectionReader
Reads section data packets and feeds the whole sections to a given SectionPayloadReader.
- + SeekMap
Maps seek positions (in microseconds) to corresponding positions (byte offsets) in the stream.
- + SeekMap.SeekPoints
Contains one or two SeekPoints.
- + SeekMap.Unseekable
A SeekMap that does not support seeking.
- + SeekParameters
Parameters that apply to seeking.
- + SeekPoint
Defines a seek point in a media stream.
- + SegmentBase
An approximate representation of a SegmentBase manifest element.
- + SegmentBase.MultiSegmentBase
A SegmentBase that consists of multiple segments.
- + SegmentBase.SegmentList
A SegmentBase.MultiSegmentBase that uses a SegmentList to define its segments.
- + SegmentBase.SegmentTemplate
A SegmentBase.MultiSegmentBase that uses a SegmentTemplate to define its segments.
- + SegmentBase.SegmentTimelineElement
Represents a timeline segment from the MPD's SegmentTimeline list.
- + SegmentBase.SingleSegmentBase
A SegmentBase that defines a single segment.
- + SegmentDownloader<M extends FilterableManifest<M>>
Base class for multi segment stream downloaders.
- + SegmentDownloader.Segment
Smallest unit of content to be downloaded.
- + SeiReader
Consumes SEI buffers, outputting contained CEA-608/708 messages to a TrackOutput.
- + SequenceableLoader
A loader that can proceed in approximate synchronization with other loaders.
- + SequenceableLoader.Callback<T extends SequenceableLoader>
A callback to be notified of SequenceableLoader events.
- + ServerSideAdInsertionMediaSource
A MediaSource for server-side inserted ad breaks.
- + ServerSideAdInsertionMediaSource.AdPlaybackStateUpdater
Receives ad playback state update requests when the Timeline of the content media source has changed.
- + ServerSideAdInsertionUtil
A static utility class with methods to work with server-side inserted ads.
- + ServiceDescriptionElement
Represents a service description element.
- + SessionAvailabilityListener
Listener of changes in the cast session availability.
- + SessionCallbackBuilder
Builds a MediaSession.SessionCallback with various collaborators.
- + SessionCallbackBuilder.AllowedCommandProvider
Provides allowed commands for MediaController.
- + SessionCallbackBuilder.CustomCommandProvider
Callbacks for querying what custom commands are supported, and for handling a custom command when a controller sends it.
- + SessionCallbackBuilder.DefaultAllowedCommandProvider
Default implementation of SessionCallbackBuilder.AllowedCommandProvider that behaves as follows: @@ -6054,1369 +6152,1411 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); Controller is in the same package as the session.
- + SessionCallbackBuilder.DisconnectedCallback
Callback for handling controller disconnection.
- + SessionCallbackBuilder.MediaIdMediaItemProvider
A SessionCallbackBuilder.MediaItemProvider that creates media items containing only a media ID.
- + SessionCallbackBuilder.MediaItemProvider
Provides the MediaItem.
- + SessionCallbackBuilder.PostConnectCallback
Callback for handling extra initialization after the connection.
- + SessionCallbackBuilder.RatingCallback
Callback receiving a user rating for a specified media id.
- + SessionCallbackBuilder.SkipCallback
Callback receiving skip backward and skip forward.
- + SessionPlayerConnector
An implementation of SessionPlayer that wraps a given ExoPlayer Player instance.
- + ShadowMediaCodecConfig
A JUnit @Rule to configure Roboelectric's ShadowMediaCodec.
- + ShuffleOrder
Shuffled order of indices.
- + ShuffleOrder.DefaultShuffleOrder
The default ShuffleOrder implementation for random shuffle order.
- + ShuffleOrder.UnshuffledShuffleOrder
A ShuffleOrder implementation which does not shuffle.
- + SilenceMediaSource
Media source with a single period consisting of silent raw audio of a given duration.
- + SilenceMediaSource.Factory
Factory for SilenceMediaSources.
- + SilenceSkippingAudioProcessor
An AudioProcessor that skips silence in the input stream.
- + SimpleCache
A Cache implementation that maintains an in-memory representation.
- + SimpleDecoder<I extends DecoderInputBuffer,​O extends DecoderOutputBuffer,​E extends DecoderException>
Base class for Decoders that use their own decode thread and decode each input buffer immediately into a corresponding output buffer.
- + SimpleDecoderOutputBuffer
Buffer for SimpleDecoder output.
- + SimpleExoPlayer Deprecated.
Use ExoPlayer instead.
- + SimpleExoPlayer.Builder Deprecated.
Use ExoPlayer.Builder instead.
- + SimpleMetadataDecoder
A MetadataDecoder base class that validates input buffers and discards any for which Buffer.isDecodeOnly() is true.
- + SimpleSubtitleDecoder
Base class for subtitle parsers that use their own decode thread.
- + +SingleFrameGlTextureProcessor + +
Manages a GLSL shader program for processing a frame.
+ + + SinglePeriodAdTimeline
A Timeline for sources that have ads.
- + SinglePeriodTimeline
A Timeline consisting of a single period and static window.
- + SingleSampleMediaChunk
A BaseMediaChunk for chunks consisting of a single raw sample.
- + SingleSampleMediaSource
Loads data at a given Uri as a single sample belonging to a single MediaPeriod.
- + SingleSampleMediaSource.Factory
Factory for SingleSampleMediaSource.
- + SlidingPercentile
Calculate any percentile over a sliding window of weighted values.
- + SlowMotionData
Holds information about the segments of slow motion playback within a track.
- + SlowMotionData.Segment
Holds information about a single segment of slow motion playback within a track.
- + SmtaMetadataEntry
Stores metadata from the Samsung smta box.
- + SntpClient
Static utility to retrieve the device time offset using SNTP.
- + SntpClient.InitializationCallback
Callback for calls to SntpClient.initialize(Loader, InitializationCallback).
- + SonicAudioProcessor
An AudioProcessor that uses the Sonic library to modify audio speed/pitch/sample rate.
- + SpannedSubject
A Truth Subject for assertions on Spanned instances containing text styling.
- + SpannedSubject.AbsoluteSized
Allows assertions about the absolute size of a span.
- + SpannedSubject.Aligned
Allows assertions about the alignment of a span.
- + SpannedSubject.AndSpanFlags
Allows additional assertions to be made on the flags of matching spans.
- + SpannedSubject.Colored
Allows assertions about the color of a span.
- + SpannedSubject.EmphasizedText
Allows assertions about a span's text emphasis mark and its position.
- + SpannedSubject.RelativeSized
Allows assertions about the relative size of a span.
- + SpannedSubject.RubyText
Allows assertions about a span's ruby text and its position.
- + SpannedSubject.Typefaced
Allows assertions about the typeface of a span.
- + SpannedSubject.WithSpanFlags
Allows additional assertions to be made on the flags of matching spans.
- + SpanUtil
Utility methods for Android span styling.
- + SphericalGLSurfaceView
Renders a GL scene in a non-VR Activity that is affected by phone orientation and touch input.
- + SphericalGLSurfaceView.VideoSurfaceListener
Listener for the Surface to which video frames should be rendered.
- + SpliceCommand
Superclass for SCTE35 splice commands.
- + SpliceInfoDecoder
Decodes splice info sections and produces splice commands.
- + SpliceInsertCommand
Represents a splice insert command defined in SCTE35, Section 9.3.3.
- + SpliceInsertCommand.ComponentSplice
Holds splicing information for specific splice insert command components.
- + SpliceNullCommand
Represents a splice null command as defined in SCTE35, Section 9.3.1.
- + SpliceScheduleCommand
Represents a splice schedule command as defined in SCTE35, Section 9.3.2.
- + SpliceScheduleCommand.ComponentSplice
Holds splicing information for specific splice schedule command components.
- + SpliceScheduleCommand.Event
Represents a splice event as contained in a SpliceScheduleCommand.
- + SsaDecoder
A SimpleSubtitleDecoder for SSA/ASS.
- + SsChunkSource
A ChunkSource for SmoothStreaming.
- + SsChunkSource.Factory
Factory for SsChunkSources.
- + SsDownloader
A downloader for SmoothStreaming streams.
- + SsManifest
Represents a SmoothStreaming manifest.
- + SsManifest.ProtectionElement
Represents a protection element containing a single header.
- + SsManifest.StreamElement
Represents a StreamIndex element.
- + SsManifestParser
Parses SmoothStreaming client manifests.
- + SsManifestParser.MissingFieldException
Thrown if a required field is missing.
- + SsMediaSource
A SmoothStreaming MediaSource.
- + SsMediaSource.Factory
Factory for SsMediaSource.
- + StandaloneDatabaseProvider
An SQLiteOpenHelper that provides instances of a standalone database.
- + StandaloneMediaClock
A MediaClock whose position advances with real time based on the playback parameters when started.
- + StarRating
A rating expressed as a fractional number of stars.
- + StartOffsetExtractorOutput
An extractor output that wraps another extractor output and applies a give start byte offset to seek positions.
- + StatsDataSource
DataSource wrapper which keeps track of bytes transferred, redirected uris, and response headers.
- + StreamKey
A key for a subset of media that can be separately loaded (a "stream").
- + StubExoPlayer
An abstract ExoPlayer implementation that throws UnsupportedOperationException from every method.
- + StubPlayer
An abstract Player implementation that throws UnsupportedOperationException from every method.
- + StyledPlayerControlView
A view for controlling Player instances.
- + StyledPlayerControlView.OnFullScreenModeChangedListener - -
Listener to be invoked to inform the fullscreen mode is changed.
+Deprecated. +
Register a StyledPlayerView.FullscreenButtonClickListener via StyledPlayerView.setFullscreenButtonClickListener(StyledPlayerView.FullscreenButtonClickListener) + instead.
- + StyledPlayerControlView.ProgressUpdateListener
Listener to be notified when progress has been updated.
- + StyledPlayerControlView.VisibilityListener - -
Listener to be notified about changes of the visibility of the UI control.
+Deprecated. +
Register a StyledPlayerView.ControllerVisibilityListener via StyledPlayerView.setControllerVisibilityListener(StyledPlayerView.ControllerVisibilityListener) + instead.
- + StyledPlayerView
A high level view for Player media playbacks.
- + +StyledPlayerView.ControllerVisibilityListener + +
Listener to be notified about changes of the visibility of the UI controls.
+ + + +StyledPlayerView.FullscreenButtonClickListener + +
Listener invoked when the fullscreen button is clicked.
+ + + StyledPlayerView.ShowBuffering
Determines when the buffering view is shown.
- + SubripDecoder
A SimpleSubtitleDecoder for SubRip.
- + Subtitle
A subtitle consisting of timed Cues.
- + SubtitleDecoder
Decodes Subtitles from SubtitleInputBuffers.
- + SubtitleDecoderException
Thrown when an error occurs decoding subtitle data.
- + SubtitleDecoderFactory
A factory for SubtitleDecoder instances.
- + SubtitleExtractor
Generic extractor for extracting subtitles from various subtitle formats.
- + SubtitleInputBuffer
A DecoderInputBuffer for a SubtitleDecoder.
- + SubtitleOutputBuffer
Base class for SubtitleDecoder output buffers.
- + SubtitleView
A view for displaying subtitle Cues.
- + SubtitleView.ViewType
The type of View to use to display subtitles.
- + SynchronousMediaCodecAdapter
A MediaCodecAdapter that operates the underlying MediaCodec in synchronous mode.
- + SynchronousMediaCodecAdapter.Factory
A factory for SynchronousMediaCodecAdapter instances.
- + SystemClock
The standard implementation of Clock, an instance of which is available via Clock.DEFAULT.
- + TeeAudioProcessor
Audio processor that outputs its input unmodified and also outputs its input to a given sink.
- + TeeAudioProcessor.AudioBufferSink
A sink for audio buffers handled by the audio processor.
- + TeeAudioProcessor.WavFileAudioBufferSink
A sink for audio buffers that writes output audio as .wav files with a given path prefix.
- + TeeDataSource
Tees data into a DataSink as the data is read.
- + TestDownloadManagerListener
Allows tests to block for, and assert properties of, calls from a DownloadManager to its DownloadManager.Listener.
- + TestExoPlayerBuilder
A builder of ExoPlayer instances for testing.
- + TestPlayerRunHelper
Helper methods to block the calling thread until the provided ExoPlayer instance reaches a particular state.
- + TestUtil
Utility methods for tests.
- + TextAnnotation
Properties of a text annotation (i.e.
- + TextAnnotation.Position
The possible positions of the annotation text relative to the base text.
- + TextEmphasisSpan
A styling span for text emphasis marks.
- + TextEmphasisSpan.MarkFill
The possible mark fills that can be used.
- + TextEmphasisSpan.MarkShape
The possible mark shapes that can be used.
- + TextInformationFrame
Text information ID3 frame.
- + TextOutput
Receives text output.
- + TextRenderer
A renderer for text.
- + ThumbRating
A rating expressed as "thumbs up" or "thumbs down".
- + TimeBar
Interface for time bar views that can display a playback position, buffered position, duration and ad markers, and that have a listener for scrubbing (seeking) events.
- + TimeBar.OnScrubListener
Listener for scrubbing events.
- + TimedValueQueue<V>
A utility class to keep a queue of values with timestamps.
- + Timeline
A flexible representation of the structure of media.
- + Timeline.Period
Holds information about a period in a Timeline.
- + Timeline.RemotableTimeline
A concrete class of Timeline to restore a Timeline instance from a Bundle sent by another process via IBinder.
- + Timeline.Window
Holds information about a window in a Timeline.
- + TimelineAsserts
Assertion methods for Timeline.
- + TimelineQueueEditor
A MediaSessionConnector.QueueEditor implementation.
- + TimelineQueueEditor.MediaDescriptionConverter
Converts a MediaDescriptionCompat to a MediaItem.
- + TimelineQueueEditor.MediaIdEqualityChecker
Media description comparator comparing the media IDs.
- + TimelineQueueEditor.QueueDataAdapter
Adapter to get MediaDescriptionCompat of items in the queue and to notify the application about changes in the queue to sync the data structure backing the MediaSessionConnector.
- + TimelineQueueNavigator
An abstract implementation of the MediaSessionConnector.QueueNavigator that maps the windows of a Player's Timeline to the media session queue.
- + TimeSignalCommand
Represents a time signal command as defined in SCTE35, Section 9.3.4.
- + TimestampAdjuster
Adjusts and offsets sample timestamps.
- + TimestampAdjusterProvider
Provides TimestampAdjuster instances for use during HLS playbacks.
- + TimeToFirstByteEstimator
Provides an estimate of the time to first byte of a transfer.
- + TraceUtil
Calls through to Trace methods on supported API levels.
- + Track
Encapsulates information describing an MP4 track.
- + Track.Transformation
The transformation to apply to samples in the track, if any.
- + TrackEncryptionBox
Encapsulates information parsed from a track encryption (tenc) box or sample group description (sgpd) box in an MP4 stream.
- + TrackGroup -
Defines an immutable group of tracks identified by their format identity.
+
An immutable group of tracks available within a media stream.
- + TrackGroupArray
An immutable array of TrackGroups.
- + TrackNameProvider
Converts Formats to user readable track names.
- + TrackOutput
Receives track level data extracted by an Extractor.
- + TrackOutput.CryptoData
Holds data required to decrypt a sample.
- + TrackOutput.SampleDataPart
Defines the part of the sample data to which a call to TrackOutput.sampleData(com.google.android.exoplayer2.upstream.DataReader, int, boolean) corresponds.
- + +Tracks + +
Information about groups of tracks.
+ + + +Tracks.Group + +
Information about a single group of tracks, including the underlying TrackGroup, the + level to which each track is supported by the player, and whether any of the tracks are + selected.
+ + + TrackSelection
A track selection consisting of a static subset of selected tracks belonging to a TrackGroup.
- + TrackSelection.Type
Represents a type track selection.
- + TrackSelectionArray
An array of TrackSelections.
- + TrackSelectionDialogBuilder
Builder for a dialog with a TrackSelectionView.
- + TrackSelectionDialogBuilder.DialogCallback
Callback which is invoked when a track selection has been made.
- -TrackSelectionOverrides + +TrackSelectionOverride -
Forces the selection of the specified tracks in TrackGroups.
+
A track selection override, consisting of a TrackGroup and the indices of the tracks + within the group that should be selected.
- -TrackSelectionOverrides.Builder - -
Builder for TrackSelectionOverrides.
- - - -TrackSelectionOverrides.TrackSelectionOverride - -
Forces the selection of TrackSelectionOverrides.TrackSelectionOverride.trackIndices for a TrackGroup.
- - - + TrackSelectionParameters -
Constraint parameters for track selection.
+
Parameters for controlling track selection.
- + TrackSelectionParameters.Builder
A builder for TrackSelectionParameters.
- + TrackSelectionUtil
Track selection related utility methods.
- + TrackSelectionUtil.AdaptiveTrackSelectionFactory
Functional interface to create a single adaptive track selection.
- + TrackSelectionView
A view for making track selections.
- + TrackSelectionView.TrackSelectionListener
Listener for changes to the selected tracks.
- + TrackSelector
The component of an ExoPlayer responsible for selecting tracks to be consumed by each of the player's Renderers.
- + TrackSelector.InvalidationListener
Notified when selections previously made by a TrackSelector are no longer valid.
- + TrackSelectorResult
The result of a TrackSelector operation.
- -TracksInfo - -
Information about groups of tracks.
- - - -TracksInfo.TrackGroupInfo - -
Information about a single group of tracks, including the underlying TrackGroup, the - type of tracks it contains, and the level to which each track is supported - by the player.
- - - + TransferListener
A listener of data transfer events.
- + TransformationException
Thrown when a non-locally recoverable transformation failure occurs.
- + TransformationException.ErrorCode
Codes that identify causes of Transformer errors.
- + TransformationRequest
A media transformation request.
- + TransformationRequest.Builder
A builder for TransformationRequest instances.
- + +TransformationResult + +
Information about the result of a successful transformation.
+ + + +TransformationResult.Builder + +
A builder for TransformationResult instances.
+ + + Transformer
A transformer to transform media inputs.
- + Transformer.Builder
A builder for Transformer instances.
- + Transformer.DebugViewProvider
Provider for views to show diagnostic information during transformation, for debugging.
- + Transformer.Listener
A listener for the transformation events.
- + Transformer.ProgressState
Progress state.
- + TrueHdSampleRechunker
Rechunks TrueHD sample data into groups of Ac3Util.TRUEHD_RECHUNK_SAMPLE_COUNT samples.
- + TsExtractor
Extracts data from the MPEG-2 TS container format.
- + TsExtractor.Mode
Modes for the extractor.
- + TsPayloadReader
Parses TS packet payload data.
- + TsPayloadReader.DvbSubtitleInfo
Holds information about a DVB subtitle, as defined in ETSI EN 300 468 V1.11.1 section 6.2.41.
- + TsPayloadReader.EsInfo
Holds information associated with a PMT entry.
- + TsPayloadReader.Factory
Factory of TsPayloadReader instances.
- + TsPayloadReader.Flags
Contextual flags indicating the presence of indicators in the TS packet or PES packet headers.
- + TsPayloadReader.TrackIdGenerator
Generates track ids for initializing TsPayloadReaders' TrackOutputs.
- + TsUtil
Utilities method for extracting MPEG-TS streams.
- + TtmlDecoder
A SimpleSubtitleDecoder for TTML supporting the DFXP presentation profile.
- + Tx3gDecoder
A SimpleSubtitleDecoder for tx3g.
- + UdpDataSource
A UDP DataSource.
- + UdpDataSource.UdpDataSourceException
Thrown when an error is encountered when trying to read from a UdpDataSource.
- + UnknownNull
Annotation for specifying unknown nullness.
- + UnrecognizedInputFormatException
Thrown if the input format was not recognized.
- + UnsupportedDrmException
Thrown when the requested DRM scheme is not supported.
- + UnsupportedDrmException.Reason
The reason for the exception.
- + UriUtil
Utility methods for manipulating URIs.
- + UrlLinkFrame
Url link ID3 frame.
- + UrlTemplate
A template from which URLs can be built.
- + UtcTimingElement
Represents a UTCTiming element.
- + Util
Miscellaneous utility methods.
- + VersionTable
Utility methods for accessing versions of media library database components.
- + VideoDecoderGLSurfaceView
GLSurfaceView implementing VideoDecoderOutputBufferRenderer for rendering VideoDecoderOutputBuffers.
- + VideoDecoderOutputBuffer
Video decoder output buffer containing video frame data.
- + VideoDecoderOutputBufferRenderer
Renders the VideoDecoderOutputBuffer.
- + +VideoEncoderSettings + +
Represents the video encoder settings.
+ + + +VideoEncoderSettings.BitrateMode + +
The allowed values for bitrateMode, one of + + + Constant quality: MediaCodecInfo.EncoderCapabilities.BITRATE_MODE_CQ.
+ + + +VideoEncoderSettings.Builder + +
Builds VideoEncoderSettings instances.
+ + + VideoFrameMetadataListener
A listener for metadata corresponding to video frames being rendered.
- + VideoFrameReleaseHelper
Helps a video Renderer release frames to a Surface.
- + VideoRendererEventListener
Listener of video Renderer events.
- + VideoRendererEventListener.EventDispatcher
Dispatches events to a VideoRendererEventListener.
- + VideoSize
Represents the video size.
- + VorbisBitArray
Wraps a byte array, providing methods that allow it to be read as a Vorbis bitstream.
- + VorbisComment Deprecated.
Use VorbisComment instead.
- + VorbisComment
A vorbis comment, extracted from a FLAC or Ogg file.
- + VorbisUtil
Utility methods for parsing Vorbis streams.
- + VorbisUtil.CommentHeader
Vorbis comment header.
- + VorbisUtil.Mode
Vorbis setup header modes.
- + VorbisUtil.VorbisIdHeader
Vorbis identification header.
- + VpxDecoder
Vpx decoder.
- + VpxDecoderException
Thrown when a libvpx decoder error occurs.
- + VpxLibrary
Configures and queries the underlying native library.
- + WavExtractor
Extracts data from WAV byte streams.
- + WavUtil
Utilities for handling WAVE files.
- + WebServerDispatcher
A Dispatcher for MockWebServer that allows per-path customisation of the static data served.
- + WebServerDispatcher.Resource
A resource served by WebServerDispatcher.
- + WebServerDispatcher.Resource.Builder
Builder for WebServerDispatcher.Resource.
- + WebvttCssStyle
Style object of a Css style block in a Webvtt file.
- + WebvttCssStyle.FontSizeUnit
Font size unit enum.
- + WebvttCssStyle.StyleFlags
Style flag enum.
- + WebvttCueInfo
A representation of a WebVTT cue.
- + WebvttCueParser
Parser for WebVTT cues.
- + WebvttDecoder
A SimpleSubtitleDecoder for WebVTT.
- + WebvttExtractor
A special purpose extractor for WebVTT content in HLS.
- + WebvttParserUtil
Utility methods for parsing WebVTT data.
- + WidevineUtil
Utility methods for Widevine.
- + WorkManagerScheduler
A Scheduler that uses WorkManager.
- + WorkManagerScheduler.SchedulerWorker
A Worker that starts the target service if the requirements are met.
- + WritableDownloadIndex
A writable index of Downloads.
- + XmlPullParserUtil
XmlPullParser utility methods.
diff --git a/docs/doc/reference/allclasses.html b/docs/doc/reference/allclasses.html index a7db5bc75c..2d3a9c02e0 100644 --- a/docs/doc/reference/allclasses.html +++ b/docs/doc/reference/allclasses.html @@ -115,6 +115,7 @@
  • AssetDataSource.AssetDataSourceException
  • AtomicFile
  • AudioAttributes
  • +
  • AudioAttributes.AudioAttributesV21
  • AudioAttributes.Builder
  • AudioCapabilities
  • AudioCapabilitiesReceiver
  • @@ -133,6 +134,7 @@
  • AudioSink.WriteException
  • AuxEffectInfo
  • AvcConfig
  • +
  • AviExtractor
  • BandwidthMeter
  • BandwidthMeter.EventListener
  • BandwidthMeter.EventListener.EventDispatcher
  • @@ -241,7 +243,7 @@
  • ClippingMediaSource.IllegalClippingException
  • ClippingMediaSource.IllegalClippingException.Reason
  • Clock
  • -
  • Codec
  • +
  • Codec
  • Codec.DecoderFactory
  • Codec.EncoderFactory
  • CodecSpecificDataUtil
  • @@ -278,6 +280,7 @@
  • Cue.VerticalType
  • CueDecoder
  • CueEncoder
  • +
  • CueGroup
  • DashChunkSource
  • DashChunkSource.Factory
  • DashDownloader
  • @@ -339,6 +342,7 @@
  • DefaultBandwidthMeter
  • DefaultBandwidthMeter.Builder
  • DefaultCastOptionsProvider
  • +
  • DefaultCodec
  • DefaultCompositeSequenceableLoaderFactory
  • DefaultContentMetadata
  • DefaultDashChunkSource
  • @@ -356,6 +360,7 @@
  • DefaultDrmSessionManager.MissingSchemeDataException
  • DefaultDrmSessionManager.Mode
  • DefaultDrmSessionManagerProvider
  • +
  • DefaultEncoderFactory
  • DefaultExtractorInput
  • DefaultExtractorsFactory
  • DefaultHlsDataSourceFactory
  • @@ -386,6 +391,7 @@
  • DefaultTrackNameProvider
  • DefaultTrackSelector
  • DefaultTrackSelector.Parameters
  • +
  • DefaultTrackSelector.Parameters.Builder
  • DefaultTrackSelector.ParametersBuilder
  • DefaultTrackSelector.SelectionEligibility
  • DefaultTrackSelector.SelectionOverride
  • @@ -430,12 +436,10 @@
  • DrmUtil.ErrorSource
  • DtsReader
  • DtsUtil
  • -
  • DummyDataSource
  • DummyExoMediaDrm
  • DummyExtractorOutput
  • DummyMainThread
  • DummyMainThread.TestRunnable
  • -
  • DummySurface
  • DummyTrackOutput
  • DumpableFormat
  • Dumper
  • @@ -451,6 +455,7 @@
  • EGLSurfaceTexture.TextureImageListener
  • ElementaryStreamReader
  • EmptySampleStream
  • +
  • EncoderSelector
  • EncoderUtil
  • ErrorMessageProvider
  • ErrorStateDrmSession
  • @@ -583,6 +588,7 @@
  • ForwardingTimeline
  • FragmentedMp4Extractor
  • FragmentedMp4Extractor.Flags
  • +
  • FrameProcessingException
  • FrameworkCryptoConfig
  • FrameworkMediaDrm
  • GaplessInfoHolder
  • @@ -590,9 +596,11 @@
  • Gav1DecoderException
  • Gav1Library
  • GeobFrame
  • +
  • GlEffect
  • +
  • GlMatrixTransformation
  • +
  • GlProgram
  • GlUtil
  • GlUtil.GlException
  • -
  • GlUtil.Program
  • H262Reader
  • H263Reader
  • H264Reader
  • @@ -711,6 +719,7 @@
  • MaskingMediaPeriod.PrepareListener
  • MaskingMediaSource
  • MaskingMediaSource.PlaceholderTimeline
  • +
  • MatrixTransformation
  • MatroskaExtractor
  • MatroskaExtractor.Flags
  • MatroskaExtractor.Track
  • @@ -749,6 +758,8 @@
  • MediaItem.LiveConfiguration.Builder
  • MediaItem.LocalConfiguration
  • MediaItem.PlaybackProperties
  • +
  • MediaItem.RequestMetadata
  • +
  • MediaItem.RequestMetadata.Builder
  • MediaItem.Subtitle
  • MediaItem.SubtitleConfiguration
  • MediaItem.SubtitleConfiguration.Builder
  • @@ -816,7 +827,6 @@
  • NalUnitUtil.PpsData
  • NalUnitUtil.SpsData
  • NetworkTypeObserver
  • -
  • NetworkTypeObserver.Config
  • NetworkTypeObserver.Listener
  • NonNullApi
  • NoOpCacheEvictor
  • @@ -846,11 +856,12 @@
  • PesReader
  • PgsDecoder
  • PictureFrame
  • +
  • PlaceholderDataSource
  • +
  • PlaceholderSurface
  • PlatformScheduler
  • PlatformScheduler.PlatformSchedulerService
  • PlaybackException
  • PlaybackException.ErrorCode
  • -
  • PlaybackException.FieldNumber
  • PlaybackOutput
  • PlaybackParameters
  • PlaybackSessionManager
  • @@ -895,6 +906,9 @@
  • PlayerView
  • PlayerView.ShowBuffering
  • PositionHolder
  • +
  • Presentation
  • +
  • Presentation.Builder
  • +
  • Presentation.Layout
  • PriorityDataSource
  • PriorityDataSource.Factory
  • PriorityDataSourceFactory
  • @@ -916,7 +930,6 @@
  • RandomTrackSelection.Factory
  • RangedUri
  • Rating
  • -
  • RawCcExtractor
  • RawResourceDataSource
  • RawResourceDataSource.RawResourceDataSourceException
  • Renderer
  • @@ -955,6 +968,7 @@
  • RtpPayloadFormat
  • RtpPayloadReader
  • RtpPayloadReader.Factory
  • +
  • RtpPcmReader
  • RtpUtils
  • RtspMediaSource
  • RtspMediaSource.Factory
  • @@ -967,6 +981,8 @@
  • SampleStream
  • SampleStream.ReadDataResult
  • SampleStream.ReadFlags
  • +
  • ScaleToFitTransformation
  • +
  • ScaleToFitTransformation.Builder
  • Scheduler
  • SectionPayloadReader
  • SectionReader
  • @@ -1016,6 +1032,7 @@
  • SimpleExoPlayer.Builder
  • SimpleMetadataDecoder
  • SimpleSubtitleDecoder
  • +
  • SingleFrameGlTextureProcessor
  • SinglePeriodAdTimeline
  • SinglePeriodTimeline
  • SingleSampleMediaChunk
  • @@ -1073,6 +1090,8 @@
  • StyledPlayerControlView.ProgressUpdateListener
  • StyledPlayerControlView.VisibilityListener
  • StyledPlayerView
  • +
  • StyledPlayerView.ControllerVisibilityListener
  • +
  • StyledPlayerView.FullscreenButtonClickListener
  • StyledPlayerView.ShowBuffering
  • SubripDecoder
  • Subtitle
  • @@ -1131,14 +1150,14 @@
  • TrackOutput
  • TrackOutput.CryptoData
  • TrackOutput.SampleDataPart
  • +
  • Tracks
  • +
  • Tracks.Group
  • TrackSelection
  • TrackSelection.Type
  • TrackSelectionArray
  • TrackSelectionDialogBuilder
  • TrackSelectionDialogBuilder.DialogCallback
  • -
  • TrackSelectionOverrides
  • -
  • TrackSelectionOverrides.Builder
  • -
  • TrackSelectionOverrides.TrackSelectionOverride
  • +
  • TrackSelectionOverride
  • TrackSelectionParameters
  • TrackSelectionParameters.Builder
  • TrackSelectionUtil
  • @@ -1148,13 +1167,13 @@
  • TrackSelector
  • TrackSelector.InvalidationListener
  • TrackSelectorResult
  • -
  • TracksInfo
  • -
  • TracksInfo.TrackGroupInfo
  • TransferListener
  • TransformationException
  • TransformationException.ErrorCode
  • TransformationRequest
  • TransformationRequest.Builder
  • +
  • TransformationResult
  • +
  • TransformationResult.Builder
  • Transformer
  • Transformer.Builder
  • Transformer.DebugViewProvider
  • @@ -1187,6 +1206,9 @@
  • VideoDecoderGLSurfaceView
  • VideoDecoderOutputBuffer
  • VideoDecoderOutputBufferRenderer
  • +
  • VideoEncoderSettings
  • +
  • VideoEncoderSettings.BitrateMode
  • +
  • VideoEncoderSettings.Builder
  • VideoFrameMetadataListener
  • VideoFrameReleaseHelper
  • VideoRendererEventListener
  • diff --git a/docs/doc/reference/allpackages-index.html b/docs/doc/reference/allpackages-index.html index 8e0f17379b..4dd05fd376 100644 --- a/docs/doc/reference/allpackages-index.html +++ b/docs/doc/reference/allpackages-index.html @@ -192,35 +192,35 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));   +com.google.android.exoplayer2.extractor.avi +  + + com.google.android.exoplayer2.extractor.flac   - + com.google.android.exoplayer2.extractor.flv   - + com.google.android.exoplayer2.extractor.jpeg   - + com.google.android.exoplayer2.extractor.mkv   - + com.google.android.exoplayer2.extractor.mp3   - + com.google.android.exoplayer2.extractor.mp4   - -com.google.android.exoplayer2.extractor.ogg -  - -com.google.android.exoplayer2.extractor.rawcc +com.google.android.exoplayer2.extractor.ogg   diff --git a/docs/doc/reference/com/google/android/exoplayer2/BasePlayer.html b/docs/doc/reference/com/google/android/exoplayer2/BasePlayer.html index 21279d2248..4fdcfe8466 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/BasePlayer.html +++ b/docs/doc/reference/com/google/android/exoplayer2/BasePlayer.html @@ -189,7 +189,7 @@ implements Player -COMMAND_ADJUST_DEVICE_VOLUME, COMMAND_CHANGE_MEDIA_ITEMS, COMMAND_GET_AUDIO_ATTRIBUTES, COMMAND_GET_CURRENT_MEDIA_ITEM, COMMAND_GET_DEVICE_VOLUME, COMMAND_GET_MEDIA_ITEMS_METADATA, COMMAND_GET_TEXT, COMMAND_GET_TIMELINE, COMMAND_GET_TRACK_INFOS, COMMAND_GET_VOLUME, COMMAND_INVALID, COMMAND_PLAY_PAUSE, COMMAND_PREPARE, COMMAND_SEEK_BACK, COMMAND_SEEK_FORWARD, COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM, COMMAND_SEEK_IN_CURRENT_WINDOW, COMMAND_SEEK_TO_DEFAULT_POSITION, COMMAND_SEEK_TO_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT, COMMAND_SEEK_TO_NEXT_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT_WINDOW, COMMAND_SEEK_TO_PREVIOUS, COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM, COMMAND_SEEK_TO_PREVIOUS_WINDOW, COMMAND_SEEK_TO_WINDOW, COMMAND_SET_DEVICE_VOLUME, COMMAND_SET_MEDIA_ITEMS_METADATA, COMMAND_SET_REPEAT_MODE, COMMAND_SET_SHUFFLE_MODE, COMMAND_SET_SPEED_AND_PITCH, COMMAND_SET_TRACK_SELECTION_PARAMETERS, COMMAND_SET_VIDEO_SURFACE, COMMAND_SET_VOLUME, COMMAND_STOP, DISCONTINUITY_REASON_AUTO_TRANSITION, DISCONTINUITY_REASON_INTERNAL, DISCONTINUITY_REASON_REMOVE, DISCONTINUITY_REASON_SEEK, DISCONTINUITY_REASON_SEEK_ADJUSTMENT, DISCONTINUITY_REASON_SKIP, EVENT_AUDIO_ATTRIBUTES_CHANGED, EVENT_AUDIO_SESSION_ID, EVENT_AVAILABLE_COMMANDS_CHANGED, EVENT_CUES, EVENT_DEVICE_INFO_CHANGED, EVENT_DEVICE_VOLUME_CHANGED, EVENT_IS_LOADING_CHANGED, EVENT_IS_PLAYING_CHANGED, EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED, EVENT_MEDIA_ITEM_TRANSITION, EVENT_MEDIA_METADATA_CHANGED, EVENT_METADATA, EVENT_PLAY_WHEN_READY_CHANGED, EVENT_PLAYBACK_PARAMETERS_CHANGED, EVENT_PLAYBACK_STATE_CHANGED, EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED, EVENT_PLAYER_ERROR, EVENT_PLAYLIST_METADATA_CHANGED, EVENT_POSITION_DISCONTINUITY, EVENT_RENDERED_FIRST_FRAME, EVENT_REPEAT_MODE_CHANGED, EVENT_SEEK_BACK_INCREMENT_CHANGED, EVENT_SEEK_FORWARD_INCREMENT_CHANGED, EVENT_SHUFFLE_MODE_ENABLED_CHANGED, EVENT_SKIP_SILENCE_ENABLED_CHANGED, EVENT_SURFACE_SIZE_CHANGED, EVENT_TIMELINE_CHANGED, EVENT_TRACK_SELECTION_PARAMETERS_CHANGED, EVENT_TRACKS_CHANGED, EVENT_VIDEO_SIZE_CHANGED, EVENT_VOLUME_CHANGED, MEDIA_ITEM_TRANSITION_REASON_AUTO, MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED, MEDIA_ITEM_TRANSITION_REASON_REPEAT, MEDIA_ITEM_TRANSITION_REASON_SEEK, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS, PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM, PLAY_WHEN_READY_CHANGE_REASON_REMOTE, PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST, PLAYBACK_SUPPRESSION_REASON_NONE, PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS, REPEAT_MODE_ALL, REPEAT_MODE_OFF, REPEAT_MODE_ONE, STATE_BUFFERING, STATE_ENDED, STATE_IDLE, STATE_READY, TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED, TIMELINE_CHANGE_REASON_SOURCE_UPDATE +COMMAND_ADJUST_DEVICE_VOLUME, COMMAND_CHANGE_MEDIA_ITEMS, COMMAND_GET_AUDIO_ATTRIBUTES, COMMAND_GET_CURRENT_MEDIA_ITEM, COMMAND_GET_DEVICE_VOLUME, COMMAND_GET_MEDIA_ITEMS_METADATA, COMMAND_GET_TEXT, COMMAND_GET_TIMELINE, COMMAND_GET_TRACKS, COMMAND_GET_VOLUME, COMMAND_INVALID, COMMAND_PLAY_PAUSE, COMMAND_PREPARE, COMMAND_SEEK_BACK, COMMAND_SEEK_FORWARD, COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM, COMMAND_SEEK_IN_CURRENT_WINDOW, COMMAND_SEEK_TO_DEFAULT_POSITION, COMMAND_SEEK_TO_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT, COMMAND_SEEK_TO_NEXT_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT_WINDOW, COMMAND_SEEK_TO_PREVIOUS, COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM, COMMAND_SEEK_TO_PREVIOUS_WINDOW, COMMAND_SEEK_TO_WINDOW, COMMAND_SET_DEVICE_VOLUME, COMMAND_SET_MEDIA_ITEM, COMMAND_SET_MEDIA_ITEMS_METADATA, COMMAND_SET_REPEAT_MODE, COMMAND_SET_SHUFFLE_MODE, COMMAND_SET_SPEED_AND_PITCH, COMMAND_SET_TRACK_SELECTION_PARAMETERS, COMMAND_SET_VIDEO_SURFACE, COMMAND_SET_VOLUME, COMMAND_STOP, DISCONTINUITY_REASON_AUTO_TRANSITION, DISCONTINUITY_REASON_INTERNAL, DISCONTINUITY_REASON_REMOVE, DISCONTINUITY_REASON_SEEK, DISCONTINUITY_REASON_SEEK_ADJUSTMENT, DISCONTINUITY_REASON_SKIP, EVENT_AUDIO_ATTRIBUTES_CHANGED, EVENT_AUDIO_SESSION_ID, EVENT_AVAILABLE_COMMANDS_CHANGED, EVENT_CUES, EVENT_DEVICE_INFO_CHANGED, EVENT_DEVICE_VOLUME_CHANGED, EVENT_IS_LOADING_CHANGED, EVENT_IS_PLAYING_CHANGED, EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED, EVENT_MEDIA_ITEM_TRANSITION, EVENT_MEDIA_METADATA_CHANGED, EVENT_METADATA, EVENT_PLAY_WHEN_READY_CHANGED, EVENT_PLAYBACK_PARAMETERS_CHANGED, EVENT_PLAYBACK_STATE_CHANGED, EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED, EVENT_PLAYER_ERROR, EVENT_PLAYLIST_METADATA_CHANGED, EVENT_POSITION_DISCONTINUITY, EVENT_RENDERED_FIRST_FRAME, EVENT_REPEAT_MODE_CHANGED, EVENT_SEEK_BACK_INCREMENT_CHANGED, EVENT_SEEK_FORWARD_INCREMENT_CHANGED, EVENT_SHUFFLE_MODE_ENABLED_CHANGED, EVENT_SKIP_SILENCE_ENABLED_CHANGED, EVENT_SURFACE_SIZE_CHANGED, EVENT_TIMELINE_CHANGED, EVENT_TRACK_SELECTION_PARAMETERS_CHANGED, EVENT_TRACKS_CHANGED, EVENT_VIDEO_SIZE_CHANGED, EVENT_VOLUME_CHANGED, MEDIA_ITEM_TRANSITION_REASON_AUTO, MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED, MEDIA_ITEM_TRANSITION_REASON_REPEAT, MEDIA_ITEM_TRANSITION_REASON_SEEK, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS, PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM, PLAY_WHEN_READY_CHANGE_REASON_REMOTE, PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST, PLAYBACK_SUPPRESSION_REASON_NONE, PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS, REPEAT_MODE_ALL, REPEAT_MODE_OFF, REPEAT_MODE_ONE, STATE_BUFFERING, STATE_ENDED, STATE_IDLE, STATE_READY, TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED, TIMELINE_CHANGE_REASON_SOURCE_UPDATE @@ -310,7 +310,9 @@ implements int getCurrentWindowIndex() -
    Deprecated.
    +
    Deprecated. + +
    @@ -339,7 +341,9 @@ implements int getNextWindowIndex() -
    Deprecated.
    +
    Deprecated. + +
    @@ -354,14 +358,18 @@ implements int getPreviousWindowIndex() -
    Deprecated.
    +
    Deprecated. + +
    boolean hasNext() -
    Deprecated.
    +
    Deprecated. +
    Use hasNextMediaItem() instead.
    +
    @@ -376,14 +384,18 @@ implements boolean hasNextWindow() -
    Deprecated.
    +
    Deprecated. +
    Use hasNextMediaItem() instead.
    +
    boolean hasPrevious() -
    Deprecated.
    +
    Deprecated. + +
    @@ -398,7 +410,9 @@ implements boolean hasPreviousWindow() -
    Deprecated.
    +
    Deprecated. + +
    @@ -435,21 +449,27 @@ implements boolean isCurrentWindowDynamic() -
    Deprecated.
    +
    Deprecated. + +
    boolean isCurrentWindowLive() -
    Deprecated.
    +
    Deprecated. + +
    boolean isCurrentWindowSeekable() -
    Deprecated.
    +
    Deprecated. + +
    @@ -471,7 +491,9 @@ implements void next() -
    Deprecated.
    +
    Deprecated. + +
    @@ -492,7 +514,9 @@ implements void previous() -
    Deprecated.
    +
    Deprecated. + +
    @@ -557,7 +581,9 @@ implements void seekToNextWindow() -
    Deprecated.
    +
    Deprecated. + +
    @@ -579,7 +605,9 @@ implements void seekToPreviousWindow() -
    Deprecated.
    +
    Deprecated. + +
    @@ -634,7 +662,7 @@ implements Player -addListener, addMediaItems, clearVideoSurface, clearVideoSurface, clearVideoSurfaceHolder, clearVideoSurfaceView, clearVideoTextureView, decreaseDeviceVolume, getApplicationLooper, getAudioAttributes, getAvailableCommands, getBufferedPosition, getContentBufferedPosition, getContentPosition, getCurrentAdGroupIndex, getCurrentAdIndexInAdGroup, getCurrentCues, getCurrentMediaItemIndex, getCurrentPeriodIndex, getCurrentPosition, getCurrentTimeline, getCurrentTrackGroups, getCurrentTrackSelections, getCurrentTracksInfo, getDeviceInfo, getDeviceVolume, getDuration, getMaxSeekToPreviousPosition, getMediaMetadata, getPlaybackParameters, getPlaybackState, getPlaybackSuppressionReason, getPlayerError, getPlaylistMetadata, getPlayWhenReady, getRepeatMode, getSeekBackIncrement, getSeekForwardIncrement, getShuffleModeEnabled, getTotalBufferedDuration, getTrackSelectionParameters, getVideoSize, getVolume, increaseDeviceVolume, isDeviceMuted, isLoading, isPlayingAd, moveMediaItems, prepare, release, removeListener, removeMediaItems, seekTo, setDeviceMuted, setDeviceVolume, setMediaItems, setMediaItems, setPlaybackParameters, setPlaylistMetadata, setPlayWhenReady, setRepeatMode, setShuffleModeEnabled, setTrackSelectionParameters, setVideoSurface, setVideoSurfaceHolder, setVideoSurfaceView, setVideoTextureView, setVolume, stop, stop +addListener, addMediaItems, clearVideoSurface, clearVideoSurface, clearVideoSurfaceHolder, clearVideoSurfaceView, clearVideoTextureView, decreaseDeviceVolume, getApplicationLooper, getAudioAttributes, getAvailableCommands, getBufferedPosition, getContentBufferedPosition, getContentPosition, getCurrentAdGroupIndex, getCurrentAdIndexInAdGroup, getCurrentCues, getCurrentMediaItemIndex, getCurrentPeriodIndex, getCurrentPosition, getCurrentTimeline, getCurrentTracks, getDeviceInfo, getDeviceVolume, getDuration, getMaxSeekToPreviousPosition, getMediaMetadata, getPlaybackParameters, getPlaybackState, getPlaybackSuppressionReason, getPlayerError, getPlaylistMetadata, getPlayWhenReady, getRepeatMode, getSeekBackIncrement, getSeekForwardIncrement, getShuffleModeEnabled, getTotalBufferedDuration, getTrackSelectionParameters, getVideoSize, getVolume, increaseDeviceVolume, isDeviceMuted, isLoading, isPlayingAd, moveMediaItems, prepare, release, removeListener, removeMediaItems, seekTo, setDeviceMuted, setDeviceVolume, setMediaItems, setMediaItems, setPlaybackParameters, setPlaylistMetadata, setPlayWhenReady, setRepeatMode, setShuffleModeEnabled, setTrackSelectionParameters, setVideoSurface, setVideoSurfaceHolder, setVideoSurfaceView, setVideoTextureView, setVolume, stop, stop @@ -911,7 +939,7 @@ implements public final boolean canAdvertiseSession()
    Returns whether the player can be used to advertise a media session. -

    BasePlayer and its descendents will return true.

    +

    BasePlayer and its descendants will return true.

    Specified by:
    canAdvertiseSession in interface Player
    @@ -1070,7 +1098,9 @@ implements @Deprecated public final boolean hasPrevious() -
    Deprecated.
    +
    Deprecated. + +
    Specified by:
    hasPrevious in interface Player
    @@ -1085,7 +1115,9 @@ public final boolean hasPrevious()

    hasPreviousWindow

    @Deprecated
     public final boolean hasPreviousWindow()
    -
    Deprecated.
    +
    Deprecated. + +
    Specified by:
    hasPreviousWindow in interface Player
    @@ -1120,7 +1152,9 @@ public final boolean hasPreviousWindow()

    previous

    @Deprecated
     public final void previous()
    -
    Deprecated.
    +
    Deprecated. + +
    Specified by:
    previous in interface Player
    @@ -1135,7 +1169,9 @@ public final void previous()

    seekToPreviousWindow

    @Deprecated
     public final void seekToPreviousWindow()
    -
    Deprecated.
    +
    Deprecated. + +
    Specified by:
    seekToPreviousWindow in interface Player
    @@ -1199,7 +1235,9 @@ public final void seekToPreviousWindow()

    hasNext

    @Deprecated
     public final boolean hasNext()
    -
    Deprecated.
    +
    Deprecated. +
    Use hasNextMediaItem() instead.
    +
    Specified by:
    hasNext in interface Player
    @@ -1214,7 +1252,9 @@ public final boolean hasNext()

    hasNextWindow

    @Deprecated
     public final boolean hasNextWindow()
    -
    Deprecated.
    +
    Deprecated. +
    Use hasNextMediaItem() instead.
    +
    Specified by:
    hasNextWindow in interface Player
    @@ -1249,7 +1289,9 @@ public final boolean hasNextWindow()

    next

    @Deprecated
     public final void next()
    -
    Deprecated.
    +
    Deprecated. + +
    Specified by:
    next in interface Player
    @@ -1264,7 +1306,9 @@ public final void next()

    seekToNextWindow

    @Deprecated
     public final void seekToNextWindow()
    -
    Deprecated.
    +
    Deprecated. + +
    Specified by:
    seekToNextWindow in interface Player
    @@ -1346,7 +1390,9 @@ public final void seekToNextWindow()

    getCurrentWindowIndex

    @Deprecated
     public final int getCurrentWindowIndex()
    -
    Deprecated.
    +
    Deprecated. + +
    Specified by:
    getCurrentWindowIndex in interface Player
    @@ -1361,7 +1407,9 @@ public final int getCurrentWindowIndex()

    getNextWindowIndex

    @Deprecated
     public final int getNextWindowIndex()
    -
    Deprecated.
    +
    Deprecated. + +
    Specified by:
    getNextWindowIndex in interface Player
    @@ -1397,7 +1445,9 @@ public final int getNextWindowIndex()

    getPreviousWindowIndex

    @Deprecated
     public final int getPreviousWindowIndex()
    -
    Deprecated.
    +
    Deprecated. + +
    Specified by:
    getPreviousWindowIndex in interface Player
    @@ -1513,7 +1563,9 @@ public final @Deprecated public final boolean isCurrentWindowDynamic() -
    Deprecated.
    +
    Deprecated. + +
    Specified by:
    isCurrentWindowDynamic in interface Player
    @@ -1546,7 +1598,9 @@ public final boolean isCurrentWindowDynamic()

    isCurrentWindowLive

    @Deprecated
     public final boolean isCurrentWindowLive()
    -
    Deprecated.
    +
    Deprecated. + +
    Specified by:
    isCurrentWindowLive in interface Player
    @@ -1602,7 +1656,9 @@ public final boolean isCurrentWindowLive()

    isCurrentWindowSeekable

    @Deprecated
     public final boolean isCurrentWindowSeekable()
    -
    Deprecated.
    +
    Deprecated. + +
    Specified by:
    isCurrentWindowSeekable in interface Player
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/Bundleable.html b/docs/doc/reference/com/google/android/exoplayer2/Bundleable.html index 440eeea7b1..dc1d3ecba4 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/Bundleable.html +++ b/docs/doc/reference/com/google/android/exoplayer2/Bundleable.html @@ -122,7 +122,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
  • All Known Implementing Classes:
    -
    AbstractConcatenatedTimeline, AdPlaybackState, AdPlaybackState.AdGroup, AudioAttributes, ColorInfo, Cue, DefaultTrackSelector.Parameters, DefaultTrackSelector.SelectionOverride, DeviceInfo, ExoPlaybackException, FakeMediaSource.InitialTimeline, FakeTimeline, Format, ForwardingTimeline, HeartRating, ImaServerSideAdInsertionMediaSource.AdsLoader.State, MaskingMediaSource.PlaceholderTimeline, MediaItem, MediaItem.ClippingConfiguration, MediaItem.ClippingProperties, MediaItem.LiveConfiguration, MediaMetadata, NoUidTimeline, PercentageRating, PlaybackException, PlaybackParameters, Player.Commands, Player.PositionInfo, Rating, SinglePeriodAdTimeline, SinglePeriodTimeline, StarRating, ThumbRating, Timeline, Timeline.Period, Timeline.RemotableTimeline, Timeline.Window, TrackGroup, TrackGroupArray, TrackSelectionOverrides, TrackSelectionOverrides.TrackSelectionOverride, TrackSelectionParameters, TracksInfo, TracksInfo.TrackGroupInfo, VideoSize
    +
    AbstractConcatenatedTimeline, AdPlaybackState, AdPlaybackState.AdGroup, AudioAttributes, ColorInfo, Cue, CueGroup, DefaultTrackSelector.Parameters, DefaultTrackSelector.SelectionOverride, DeviceInfo, ExoPlaybackException, FakeMediaSource.InitialTimeline, FakeTimeline, Format, ForwardingTimeline, HeartRating, ImaServerSideAdInsertionMediaSource.AdsLoader.State, MaskingMediaSource.PlaceholderTimeline, MediaItem, MediaItem.ClippingConfiguration, MediaItem.ClippingProperties, MediaItem.LiveConfiguration, MediaItem.RequestMetadata, MediaMetadata, NoUidTimeline, PercentageRating, PlaybackException, PlaybackParameters, Player.Commands, Player.PositionInfo, Rating, SinglePeriodAdTimeline, SinglePeriodTimeline, StarRating, ThumbRating, Timeline, Timeline.Period, Timeline.RemotableTimeline, Timeline.Window, TrackGroup, TrackGroupArray, Tracks, Tracks.Group, TrackSelectionOverride, TrackSelectionParameters, VideoSize

    public interface Bundleable
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.AudioContentType.html b/docs/doc/reference/com/google/android/exoplayer2/C.AudioContentType.html index 74ddc994f4..d4ae9cf586 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/C.AudioContentType.html +++ b/docs/doc/reference/com/google/android/exoplayer2/C.AudioContentType.html @@ -117,8 +117,15 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); @Retention(SOURCE) @Target({FIELD,METHOD,PARAMETER,LOCAL_VARIABLE,TYPE_USE}) public static @interface C.AudioContentType - +
  • diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.BufferFlags.html b/docs/doc/reference/com/google/android/exoplayer2/C.BufferFlags.html index 7a88951e9c..fc3bd66d9d 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/C.BufferFlags.html +++ b/docs/doc/reference/com/google/android/exoplayer2/C.BufferFlags.html @@ -117,8 +117,8 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); @Retention(SOURCE) @Target(TYPE_USE) public static @interface C.BufferFlags -
    Flags which can apply to a buffer containing a media sample. Possible flag values are C.BUFFER_FLAG_KEY_FRAME, C.BUFFER_FLAG_END_OF_STREAM, C.BUFFER_FLAG_LAST_SAMPLE, - C.BUFFER_FLAG_ENCRYPTED and C.BUFFER_FLAG_DECODE_ONLY.
    +
    Flags which can apply to a buffer containing a media sample. Possible flag values are C.BUFFER_FLAG_KEY_FRAME, C.BUFFER_FLAG_END_OF_STREAM, C.BUFFER_FLAG_FIRST_SAMPLE, + C.BUFFER_FLAG_LAST_SAMPLE, C.BUFFER_FLAG_ENCRYPTED and C.BUFFER_FLAG_DECODE_ONLY.
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.ContentType.html b/docs/doc/reference/com/google/android/exoplayer2/C.ContentType.html index 2278c6de8c..c255ce753e 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/C.ContentType.html +++ b/docs/doc/reference/com/google/android/exoplayer2/C.ContentType.html @@ -117,7 +117,15 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); @Retention(SOURCE) @Target({FIELD,METHOD,PARAMETER,LOCAL_VARIABLE,TYPE_USE}) public static @interface C.ContentType -
    Represents a streaming or other media type. One of C.TYPE_DASH, C.TYPE_SS, C.TYPE_HLS, C.TYPE_RTSP or C.TYPE_OTHER.
    +
    Represents a streaming or other media type. One of: + +
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.html b/docs/doc/reference/com/google/android/exoplayer2/C.html index 729247c11c..0a0e38ae65 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/C.html +++ b/docs/doc/reference/com/google/android/exoplayer2/C.html @@ -398,39 +398,81 @@ extends static int +AUDIO_CONTENT_TYPE_MOVIE + + + + + +static int +AUDIO_CONTENT_TYPE_MUSIC + + + + + +static int +AUDIO_CONTENT_TYPE_SONIFICATION + + + + + +static int +AUDIO_CONTENT_TYPE_SPEECH + + + + + +static int +AUDIO_CONTENT_TYPE_UNKNOWN + + + + + +static int AUDIO_SESSION_ID_UNSET
    Represents an unset AudioTrack session identifier.
    - + static int BITS_PER_BYTE
    The number of bits per byte.
    - + static int BUFFER_FLAG_DECODE_ONLY
    Indicates that a buffer should be decoded but not rendered.
    - + static int BUFFER_FLAG_ENCRYPTED
    Indicates that a buffer is (at least partially) encrypted.
    - + static int BUFFER_FLAG_END_OF_STREAM
    Flag for empty buffers that signal that the end of the stream was reached.
    + +static int +BUFFER_FLAG_FIRST_SAMPLE + +
    Indicates that a buffer is known to contain the first media sample of the stream.
    + + static int BUFFER_FLAG_HAS_SUPPLEMENTAL_DATA @@ -544,45 +586,100 @@ extends static int +CONTENT_TYPE_DASH + +
    Value representing a DASH manifest.
    + + + +static int +CONTENT_TYPE_HLS + +
    Value representing an HLS manifest.
    + + + +static int CONTENT_TYPE_MOVIE -  + +
    Deprecated. + +
    + static int CONTENT_TYPE_MUSIC -  + +
    Deprecated. + +
    + + + +static int +CONTENT_TYPE_OTHER + +
    Value representing files other than DASH, HLS or Smooth Streaming manifests, or RTSP URIs.
    + + + +static int +CONTENT_TYPE_RTSP + +
    Value representing an RTSP stream.
    + static int CONTENT_TYPE_SONIFICATION -  + +
    Deprecated. + +
    + static int CONTENT_TYPE_SPEECH -  + +
    Deprecated. + +
    + static int -CONTENT_TYPE_UNKNOWN -  +CONTENT_TYPE_SS + +
    Value representing a Smooth Streaming manifest.
    + static int +CONTENT_TYPE_UNKNOWN + +
    Deprecated. + +
    + + + +static int CRYPTO_MODE_AES_CBC   - + static int CRYPTO_MODE_AES_CTR   - + static int CRYPTO_MODE_UNENCRYPTED   - + static int CRYPTO_TYPE_CUSTOM_BASE @@ -590,35 +687,35 @@ extends - + static int CRYPTO_TYPE_FRAMEWORK
    Framework crypto in which a MediaCodec is configured with a MediaCrypto.
    - + static int CRYPTO_TYPE_NONE
    No crypto.
    - + static int CRYPTO_TYPE_UNSUPPORTED
    An unsupported crypto type.
    - + static int DATA_TYPE_AD
    A data type constant for ads loader data.
    - + static int DATA_TYPE_CUSTOM_BASE @@ -626,63 +723,63 @@ extends - + static int DATA_TYPE_DRM
    A data type constant for drm or encryption data.
    - + static int DATA_TYPE_MANIFEST
    A data type constant for a manifest file.
    - + static int DATA_TYPE_MEDIA
    A data type constant for media, typically containing media samples.
    - + static int DATA_TYPE_MEDIA_INITIALIZATION
    A data type constant for media, typically containing only initialization data.
    - + static int DATA_TYPE_MEDIA_PROGRESSIVE_LIVE
    A data type constant for live progressive media streams, typically containing media samples.
    - + static int DATA_TYPE_TIME_SYNCHRONIZATION
    A data type constant for time synchronization data.
    - + static int DATA_TYPE_UNKNOWN
    A data type constant for data of unknown or unspecified type.
    - + static int DEFAULT_BUFFER_SEGMENT_SIZE
    A default size in bytes for an individual allocation that forms part of a larger buffer.
    - + static long DEFAULT_MAX_SEEK_TO_PREVIOUS_POSITION_MS @@ -690,139 +787,139 @@ extends - + static long DEFAULT_SEEK_BACK_INCREMENT_MS
    A default seek back increment, in milliseconds.
    - + static long DEFAULT_SEEK_FORWARD_INCREMENT_MS
    A default seek forward increment, in milliseconds.
    - + static int ENCODING_AAC_ELD   - + static int ENCODING_AAC_ER_BSAC
    AAC Error Resilient Bit-Sliced Arithmetic Coding.
    - + static int ENCODING_AAC_HE_V1   - + static int ENCODING_AAC_HE_V2   - + static int ENCODING_AAC_LC   - + static int ENCODING_AAC_XHE   - + static int ENCODING_AC3   - + static int ENCODING_AC4   - + static int ENCODING_DOLBY_TRUEHD   - + static int ENCODING_DTS   - + static int ENCODING_DTS_HD   - + static int ENCODING_E_AC3   - + static int ENCODING_E_AC3_JOC   - + static int ENCODING_INVALID   - + static int ENCODING_MP3   - + static int ENCODING_PCM_16BIT   - + static int ENCODING_PCM_16BIT_BIG_ENDIAN
    Like ENCODING_PCM_16BIT, but with the bytes in big endian order.
    - + static int ENCODING_PCM_24BIT
    PCM encoding with 24 bits per sample.
    - + static int ENCODING_PCM_32BIT
    PCM encoding with 32 bits per sample.
    - + static int ENCODING_PCM_8BIT   - + static int ENCODING_PCM_FLOAT   - + static int FLAG_AUDIBILITY_ENFORCED   - + static int FORMAT_EXCEEDS_CAPABILITIES @@ -830,14 +927,14 @@ extends - + static int FORMAT_HANDLED
    The Renderer is capable of rendering the format.
    - + static int FORMAT_UNSUPPORTED_DRM @@ -845,7 +942,7 @@ extends - + static int FORMAT_UNSUPPORTED_SUBTYPE @@ -854,7 +951,7 @@ extends - + static int FORMAT_UNSUPPORTED_TYPE @@ -862,14 +959,14 @@ extends - + static int INDEX_UNSET
    Represents an unset or unknown index.
    - + static String ISO88591_NAME @@ -878,188 +975,195 @@ extends - + static String LANGUAGE_UNDETERMINED
    Represents an undetermined language as an ISO 639-2 language code.
    - + static int LENGTH_UNSET
    Represents an unset or unknown length.
    - + static long MICROS_PER_SECOND
    The number of microseconds in one second.
    - + static long MILLIS_PER_SECOND
    The number of milliseconds in one second.
    - + static long NANOS_PER_SECOND
    The number of nanoseconds in one second.
    - + static int NETWORK_TYPE_2G
    Network type for a 2G cellular connection.
    - + static int NETWORK_TYPE_3G
    Network type for a 3G cellular connection.
    - + static int NETWORK_TYPE_4G
    Network type for a 4G cellular connection.
    - + static int NETWORK_TYPE_5G_NSA
    Network type for a 5G non-stand-alone (NSA) cellular connection.
    - + static int NETWORK_TYPE_5G_SA
    Network type for a 5G stand-alone (SA) cellular connection.
    - + static int NETWORK_TYPE_CELLULAR_UNKNOWN
    Network type for cellular connections which cannot be mapped to one of NETWORK_TYPE_2G, NETWORK_TYPE_3G, or NETWORK_TYPE_4G.
    - + static int NETWORK_TYPE_ETHERNET
    Network type for an Ethernet connection.
    - + static int NETWORK_TYPE_OFFLINE
    No network connection.
    - + static int NETWORK_TYPE_OTHER
    Network type for other connections which are not Wifi or cellular (e.g.
    - + static int NETWORK_TYPE_UNKNOWN
    Unknown network type.
    - + static int NETWORK_TYPE_WIFI
    Network type for a Wifi connection.
    - + static int PERCENTAGE_UNSET
    Represents an unset or unknown percentage.
    - + static UUID PLAYREADY_UUID
    UUID for the PlayReady DRM scheme.
    - + static int POSITION_UNSET
    Represents an unset or unknown position.
    - + static int PRIORITY_DOWNLOAD
    Priority for media downloading.
    - + static int PRIORITY_PLAYBACK
    Priority for media playback.
    - + static int PROJECTION_CUBEMAP
    Cube map projection.
    - + static int PROJECTION_EQUIRECTANGULAR
    Equirectangular spherical projection.
    - + static int PROJECTION_MESH
    3-D mesh projection.
    - + static int PROJECTION_RECTANGULAR
    Conventional rectangular projection.
    - + static float RATE_UNSET
    Represents an unset or unknown rate.
    + +static int +RATE_UNSET_INT + +
    Represents an unset or unknown integer rate.
    + + static int RESULT_BUFFER_READ @@ -1284,16 +1388,12 @@ extends static int SPATIALIZATION_BEHAVIOR_AUTO - -
    See AudioAttributes#SPATIALIZATION_BEHAVIOR_AUTO
    - +  static int SPATIALIZATION_BEHAVIOR_NEVER - -
    See AudioAttributes#SPATIALIZATION_BEHAVIOR_NEVER
    - +  static String @@ -1462,36 +1562,45 @@ extends static int TYPE_DASH -
    Value returned by Util.inferContentType(String) for DASH manifests.
    +
    Deprecated. +
    Use CONTENT_TYPE_DASH instead.
    +
    static int TYPE_HLS -
    Value returned by Util.inferContentType(String) for HLS manifests.
    +
    Deprecated. +
    Use CONTENT_TYPE_HLS instead.
    +
    static int TYPE_OTHER -
    Value returned by Util.inferContentType(String) for files other than DASH, HLS or - Smooth Streaming manifests, or RTSP URIs.
    +
    Deprecated. +
    Use CONTENT_TYPE_OTHER instead.
    +
    static int TYPE_RTSP -
    Value returned by Util.inferContentType(String) for RTSP.
    +
    Deprecated. +
    Use CONTENT_TYPE_RTSP instead.
    +
    static int TYPE_SS -
    Value returned by Util.inferContentType(String) for Smooth Streaming manifests.
    +
    Deprecated. +
    Use CONTENT_TYPE_SS instead.
    +
    @@ -1853,6 +1962,20 @@ extends + + + +
      +
    • +

      RATE_UNSET_INT

      +
      public static final int RATE_UNSET_INT
      +
      Represents an unset or unknown integer rate.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    @@ -2492,10 +2615,10 @@ public static final 

    SPATIALIZATION_BEHAVIOR_AUTO

    public static final int SPATIALIZATION_BEHAVIOR_AUTO
    -
    See AudioAttributes#SPATIALIZATION_BEHAVIOR_AUTO
    See Also:
    -
    Constant Field Values
    +
    AudioAttributes.SPATIALIZATION_BEHAVIOR_AUTO, +Constant Field Values
    @@ -2506,10 +2629,10 @@ public static final 

    SPATIALIZATION_BEHAVIOR_NEVER

    public static final int SPATIALIZATION_BEHAVIOR_NEVER
    -
    See AudioAttributes#SPATIALIZATION_BEHAVIOR_NEVER
    See Also:
    -
    Constant Field Values
    +
    AudioAttributes.SPATIALIZATION_BEHAVIOR_NEVER, +Constant Field Values
    @@ -2625,17 +2748,48 @@ public static final  + + + + + + + @@ -2645,11 +2799,28 @@ public static final 
  • CONTENT_TYPE_MUSIC

    -
    public static final int CONTENT_TYPE_MUSIC
    +
    @Deprecated
    +public static final int CONTENT_TYPE_MUSIC
    +
    Deprecated. + +
    See Also:
    -
    AudioAttributes.CONTENT_TYPE_MUSIC, -Constant Field Values
    +
    Constant Field Values
    +
    +
  • + + + + + @@ -2659,11 +2830,28 @@ public static final 
  • CONTENT_TYPE_SONIFICATION

    -
    public static final int CONTENT_TYPE_SONIFICATION
    +
    @Deprecated
    +public static final int CONTENT_TYPE_SONIFICATION
    +
    Deprecated. + +
    See Also:
    -
    AudioAttributes.CONTENT_TYPE_SONIFICATION, -Constant Field Values
    +
    Constant Field Values
    +
    +
  • + + + + + @@ -2673,11 +2861,28 @@ public static final 
  • CONTENT_TYPE_SPEECH

    -
    public static final int CONTENT_TYPE_SPEECH
    +
    @Deprecated
    +public static final int CONTENT_TYPE_SPEECH
    +
    Deprecated. + +
    See Also:
    -
    AudioAttributes.CONTENT_TYPE_SPEECH, -Constant Field Values
    +
    Constant Field Values
    +
    +
  • + + + + + @@ -2687,11 +2892,14 @@ public static final 
  • CONTENT_TYPE_UNKNOWN

    -
    public static final int CONTENT_TYPE_UNKNOWN
    +
    @Deprecated
    +public static final int CONTENT_TYPE_UNKNOWN
    +
    Deprecated. + +
    See Also:
    -
    AudioAttributes.CONTENT_TYPE_UNKNOWN, -Constant Field Values
    +
    Constant Field Values
  • @@ -3003,6 +3211,20 @@ public static final  + + +
      +
    • +

      BUFFER_FLAG_FIRST_SAMPLE

      +
      public static final int BUFFER_FLAG_FIRST_SAMPLE
      +
      Indicates that a buffer is known to contain the first media sample of the stream.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    @@ -3234,71 +3456,155 @@ public static final  + + +
      +
    • +

      CONTENT_TYPE_DASH

      +
      public static final int CONTENT_TYPE_DASH
      +
      Value representing a DASH manifest.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    + + + +
      +
    • +

      CONTENT_TYPE_SS

      +
      public static final int CONTENT_TYPE_SS
      +
      Value representing a Smooth Streaming manifest.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    + + + +
      +
    • +

      CONTENT_TYPE_HLS

      +
      public static final int CONTENT_TYPE_HLS
      +
      Value representing an HLS manifest.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    + + + +
      +
    • +

      CONTENT_TYPE_RTSP

      +
      public static final int CONTENT_TYPE_RTSP
      +
      Value representing an RTSP stream.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    + + + +
      +
    • +

      CONTENT_TYPE_OTHER

      +
      public static final int CONTENT_TYPE_OTHER
      +
      Value representing files other than DASH, HLS or Smooth Streaming manifests, or RTSP URIs.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    @@ -1035,6 +1043,31 @@ extends + + + +
      +
    • +

      setUsePlatformDiagnostics

      +
      public ExoPlayer.Builder setUsePlatformDiagnostics​(boolean usePlatformDiagnostics)
      +
      Sets whether the player reports diagnostics data to the Android platform. + +

      If enabled, the player will use the MediaMetricsManager to + create a PlaybackSession and forward playback events and + performance data to this session. This helps to provide system performance and debugging + information for media playback on the device. This data may also be collected by Google if sharing usage and diagnostics + data is enabled by the user of the device.

      +
      +
      Parameters:
      +
      usePlatformDiagnostics - Whether the player reports diagnostics data to the Android + platform.
      +
      Returns:
      +
      This builder.
      +
      Throws:
      +
      IllegalStateException - If build() has already been called.
      +
      +
    • +
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.TextComponent.html b/docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.TextComponent.html index d6a580a8c8..b20b2ba52e 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.TextComponent.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.TextComponent.html @@ -156,7 +156,7 @@ public static interface ExoPlayer.TextComponentDescription -List<Cue> +CueGroup getCurrentCues()
    Deprecated. @@ -188,7 +188,7 @@ public static interface ExoPlayer.TextComponent

    getCurrentCues

    @Deprecated
    -List<Cue> getCurrentCues()
    +CueGroup getCurrentCues()
    Deprecated.
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.html b/docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.html index 3c7c1f4336..b5928bb28e 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":38,"i14":6,"i15":6,"i16":6,"i17":6,"i18":38,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":38,"i28":6,"i29":6,"i30":38,"i31":6,"i32":6,"i33":6,"i34":38,"i35":38,"i36":6,"i37":6,"i38":38,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":38,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":6,"i52":6,"i53":6,"i54":6,"i55":6,"i56":6,"i57":6,"i58":6,"i59":6,"i60":6}; +var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":38,"i14":6,"i15":6,"i16":6,"i17":6,"i18":38,"i19":38,"i20":38,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":38,"i30":6,"i31":6,"i32":38,"i33":6,"i34":6,"i35":6,"i36":38,"i37":38,"i38":6,"i39":6,"i40":38,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":38,"i48":6,"i49":6,"i50":6,"i51":6,"i52":6,"i53":6,"i54":6,"i55":6,"i56":6,"i57":6,"i58":6,"i59":6,"i60":6,"i61":6,"i62":6}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -325,7 +325,7 @@ extends

    Fields inherited from interface com.google.android.exoplayer2.Player

    -COMMAND_ADJUST_DEVICE_VOLUME, COMMAND_CHANGE_MEDIA_ITEMS, COMMAND_GET_AUDIO_ATTRIBUTES, COMMAND_GET_CURRENT_MEDIA_ITEM, COMMAND_GET_DEVICE_VOLUME, COMMAND_GET_MEDIA_ITEMS_METADATA, COMMAND_GET_TEXT, COMMAND_GET_TIMELINE, COMMAND_GET_TRACK_INFOS, COMMAND_GET_VOLUME, COMMAND_INVALID, COMMAND_PLAY_PAUSE, COMMAND_PREPARE, COMMAND_SEEK_BACK, COMMAND_SEEK_FORWARD, COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM, COMMAND_SEEK_IN_CURRENT_WINDOW, COMMAND_SEEK_TO_DEFAULT_POSITION, COMMAND_SEEK_TO_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT, COMMAND_SEEK_TO_NEXT_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT_WINDOW, COMMAND_SEEK_TO_PREVIOUS, COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM, COMMAND_SEEK_TO_PREVIOUS_WINDOW, COMMAND_SEEK_TO_WINDOW, COMMAND_SET_DEVICE_VOLUME, COMMAND_SET_MEDIA_ITEMS_METADATA, COMMAND_SET_REPEAT_MODE, COMMAND_SET_SHUFFLE_MODE, COMMAND_SET_SPEED_AND_PITCH, COMMAND_SET_TRACK_SELECTION_PARAMETERS, COMMAND_SET_VIDEO_SURFACE, COMMAND_SET_VOLUME, COMMAND_STOP, DISCONTINUITY_REASON_AUTO_TRANSITION, DISCONTINUITY_REASON_INTERNAL, DISCONTINUITY_REASON_REMOVE, DISCONTINUITY_REASON_SEEK, DISCONTINUITY_REASON_SEEK_ADJUSTMENT, DISCONTINUITY_REASON_SKIP, EVENT_AUDIO_ATTRIBUTES_CHANGED, EVENT_AUDIO_SESSION_ID, EVENT_AVAILABLE_COMMANDS_CHANGED, EVENT_CUES, EVENT_DEVICE_INFO_CHANGED, EVENT_DEVICE_VOLUME_CHANGED, EVENT_IS_LOADING_CHANGED, EVENT_IS_PLAYING_CHANGED, EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED, EVENT_MEDIA_ITEM_TRANSITION, EVENT_MEDIA_METADATA_CHANGED, EVENT_METADATA, EVENT_PLAY_WHEN_READY_CHANGED, EVENT_PLAYBACK_PARAMETERS_CHANGED, EVENT_PLAYBACK_STATE_CHANGED, EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED, EVENT_PLAYER_ERROR, EVENT_PLAYLIST_METADATA_CHANGED, EVENT_POSITION_DISCONTINUITY, EVENT_RENDERED_FIRST_FRAME, EVENT_REPEAT_MODE_CHANGED, EVENT_SEEK_BACK_INCREMENT_CHANGED, EVENT_SEEK_FORWARD_INCREMENT_CHANGED, EVENT_SHUFFLE_MODE_ENABLED_CHANGED, EVENT_SKIP_SILENCE_ENABLED_CHANGED, EVENT_SURFACE_SIZE_CHANGED, EVENT_TIMELINE_CHANGED, EVENT_TRACK_SELECTION_PARAMETERS_CHANGED, EVENT_TRACKS_CHANGED, EVENT_VIDEO_SIZE_CHANGED, EVENT_VOLUME_CHANGED, MEDIA_ITEM_TRANSITION_REASON_AUTO, MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED, MEDIA_ITEM_TRANSITION_REASON_REPEAT, MEDIA_ITEM_TRANSITION_REASON_SEEK, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS, PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM, PLAY_WHEN_READY_CHANGE_REASON_REMOTE, PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST, PLAYBACK_SUPPRESSION_REASON_NONE, PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS, REPEAT_MODE_ALL, REPEAT_MODE_OFF, REPEAT_MODE_ONE, STATE_BUFFERING, STATE_ENDED, STATE_IDLE, STATE_READY, TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED, TIMELINE_CHANGE_REASON_SOURCE_UPDATE +COMMAND_ADJUST_DEVICE_VOLUME, COMMAND_CHANGE_MEDIA_ITEMS, COMMAND_GET_AUDIO_ATTRIBUTES, COMMAND_GET_CURRENT_MEDIA_ITEM, COMMAND_GET_DEVICE_VOLUME, COMMAND_GET_MEDIA_ITEMS_METADATA, COMMAND_GET_TEXT, COMMAND_GET_TIMELINE, COMMAND_GET_TRACKS, COMMAND_GET_VOLUME, COMMAND_INVALID, COMMAND_PLAY_PAUSE, COMMAND_PREPARE, COMMAND_SEEK_BACK, COMMAND_SEEK_FORWARD, COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM, COMMAND_SEEK_IN_CURRENT_WINDOW, COMMAND_SEEK_TO_DEFAULT_POSITION, COMMAND_SEEK_TO_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT, COMMAND_SEEK_TO_NEXT_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT_WINDOW, COMMAND_SEEK_TO_PREVIOUS, COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM, COMMAND_SEEK_TO_PREVIOUS_WINDOW, COMMAND_SEEK_TO_WINDOW, COMMAND_SET_DEVICE_VOLUME, COMMAND_SET_MEDIA_ITEM, COMMAND_SET_MEDIA_ITEMS_METADATA, COMMAND_SET_REPEAT_MODE, COMMAND_SET_SHUFFLE_MODE, COMMAND_SET_SPEED_AND_PITCH, COMMAND_SET_TRACK_SELECTION_PARAMETERS, COMMAND_SET_VIDEO_SURFACE, COMMAND_SET_VOLUME, COMMAND_STOP, DISCONTINUITY_REASON_AUTO_TRANSITION, DISCONTINUITY_REASON_INTERNAL, DISCONTINUITY_REASON_REMOVE, DISCONTINUITY_REASON_SEEK, DISCONTINUITY_REASON_SEEK_ADJUSTMENT, DISCONTINUITY_REASON_SKIP, EVENT_AUDIO_ATTRIBUTES_CHANGED, EVENT_AUDIO_SESSION_ID, EVENT_AVAILABLE_COMMANDS_CHANGED, EVENT_CUES, EVENT_DEVICE_INFO_CHANGED, EVENT_DEVICE_VOLUME_CHANGED, EVENT_IS_LOADING_CHANGED, EVENT_IS_PLAYING_CHANGED, EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED, EVENT_MEDIA_ITEM_TRANSITION, EVENT_MEDIA_METADATA_CHANGED, EVENT_METADATA, EVENT_PLAY_WHEN_READY_CHANGED, EVENT_PLAYBACK_PARAMETERS_CHANGED, EVENT_PLAYBACK_STATE_CHANGED, EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED, EVENT_PLAYER_ERROR, EVENT_PLAYLIST_METADATA_CHANGED, EVENT_POSITION_DISCONTINUITY, EVENT_RENDERED_FIRST_FRAME, EVENT_REPEAT_MODE_CHANGED, EVENT_SEEK_BACK_INCREMENT_CHANGED, EVENT_SEEK_FORWARD_INCREMENT_CHANGED, EVENT_SHUFFLE_MODE_ENABLED_CHANGED, EVENT_SKIP_SILENCE_ENABLED_CHANGED, EVENT_SURFACE_SIZE_CHANGED, EVENT_TIMELINE_CHANGED, EVENT_TRACK_SELECTION_PARAMETERS_CHANGED, EVENT_TRACKS_CHANGED, EVENT_VIDEO_SIZE_CHANGED, EVENT_VOLUME_CHANGED, MEDIA_ITEM_TRANSITION_REASON_AUTO, MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED, MEDIA_ITEM_TRANSITION_REASON_REPEAT, MEDIA_ITEM_TRANSITION_REASON_SEEK, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS, PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM, PLAY_WHEN_READY_CHANGE_REASON_REMOTE, PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST, PLAYBACK_SUPPRESSION_REASON_NONE, PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS, REPEAT_MODE_ALL, REPEAT_MODE_OFF, REPEAT_MODE_ONE, STATE_BUFFERING, STATE_ENDED, STATE_IDLE, STATE_READY, TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED, TIMELINE_CHANGE_REASON_SOURCE_UPDATE @@ -476,6 +476,24 @@ extends +TrackGroupArray +getCurrentTrackGroups() + +
    Deprecated. + +
    + + + +TrackSelectionArray +getCurrentTrackSelections() + +
    Deprecated. + +
    + + + ExoPlayer.DeviceComponent getDeviceComponent() @@ -485,21 +503,21 @@ extends - + boolean getPauseAtEndOfMediaItems
    ()
    Returns whether the player pauses playback at the end of each media item.
    - + Looper getPlaybackLooper()
    Returns the Looper associated with the playback thread.
    - + ExoPlaybackException getPlayerError() @@ -507,42 +525,42 @@ extends ExoPlaybackException.
    - + Renderer getRenderer​(int index)
    Returns the renderer at the given index.
    - + int getRendererCount()
    Returns the number of renderers.
    - + @com.google.android.exoplayer2.C.TrackType int getRendererType​(int index)
    Returns the track type that the renderer at a given index handles.
    - + SeekParameters getSeekParameters()
    Returns the currently active SeekParameters of the player.
    - + boolean getSkipSilenceEnabled()
    Returns whether skipping silences in the audio stream is enabled.
    - + ExoPlayer.TextComponent getTextComponent() @@ -552,21 +570,21 @@ extends - + TrackSelector getTrackSelector()
    Returns the track selector that this player uses, or null if track selection is not supported.
    - + @com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int getVideoChangeFrameRateStrategy() - + ExoPlayer.VideoComponent getVideoComponent() @@ -576,28 +594,28 @@ extends - + DecoderCounters getVideoDecoderCounters()
    Returns DecoderCounters for video, or null if no video is being played.
    - + Format getVideoFormat()
    Returns the video format currently being played, or null if no video is being played.
    - + @com.google.android.exoplayer2.C.VideoScalingMode int getVideoScalingMode()
    Returns the C.VideoScalingMode.
    - + void prepare​(MediaSource mediaSource) @@ -606,7 +624,7 @@ extends - + void prepare
    ​(MediaSource mediaSource, boolean resetPosition, @@ -617,21 +635,21 @@ extends - + void removeAnalyticsListener​(AnalyticsListener listener)
    Removes an AnalyticsListener.
    - + void removeAudioOffloadListener​(ExoPlayer.AudioOffloadListener listener)
    Removes a listener of audio offload events.
    - + void retry() @@ -640,7 +658,7 @@ extends - + void setAudioAttributes​(AudioAttributes audioAttributes, boolean handleAudioFocus) @@ -648,28 +666,28 @@ extends Sets the attributes for audio playback, used by the underlying audio track. - + void setAudioSessionId​(int audioSessionId)
    Sets the ID of the audio session to attach to the underlying AudioTrack.
    - + void setAuxEffectInfo​(AuxEffectInfo auxEffectInfo)
    Sets information on an auxiliary audio effect to attach to the underlying audio track.
    - + void setCameraMotionListener​(CameraMotionListener listener)
    Sets a listener of camera motion events.
    - + void setForegroundMode​(boolean foregroundMode) @@ -677,7 +695,7 @@ extends - + void setHandleAudioBecomingNoisy​(boolean handleAudioBecomingNoisy) @@ -685,7 +703,7 @@ extends - + void setHandleWakeLock​(boolean handleWakeLock) @@ -694,7 +712,7 @@ extends - + void setMediaSource​(MediaSource mediaSource) @@ -702,7 +720,7 @@ extends - + void setMediaSource​(MediaSource mediaSource, boolean resetPosition) @@ -710,7 +728,7 @@ extends Clears the playlist and adds the specified MediaSource. - + void setMediaSource​(MediaSource mediaSource, long startPositionMs) @@ -718,7 +736,7 @@ extends Clears the playlist and adds the specified MediaSource. - + void setMediaSources​(List<MediaSource> mediaSources) @@ -726,7 +744,7 @@ extends - + void setMediaSources​(List<MediaSource> mediaSources, boolean resetPosition) @@ -734,7 +752,7 @@ extends Clears the playlist and adds the specified MediaSources. - + void setMediaSources​(List<MediaSource> mediaSources, int startMediaItemIndex, @@ -743,42 +761,42 @@ extends Clears the playlist and adds the specified MediaSources. - + void setPauseAtEndOfMediaItems​(boolean pauseAtEndOfMediaItems)
    Sets whether to pause playback at the end of each media item.
    - + void setPriorityTaskManager​(PriorityTaskManager priorityTaskManager)
    Sets a PriorityTaskManager, or null to clear a previously set priority task manager.
    - + void setSeekParameters​(SeekParameters seekParameters)
    Sets the parameters that control how seek operations are performed.
    - + void setShuffleOrder​(ShuffleOrder shuffleOrder)
    Sets the shuffle order.
    - + void setSkipSilenceEnabled​(boolean skipSilenceEnabled)
    Sets whether skipping silences in the audio stream is enabled.
    - + void setVideoChangeFrameRateStrategy​(@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int videoChangeFrameRateStrategy) @@ -786,21 +804,21 @@ extends Surface. - + void setVideoFrameMetadataListener​(VideoFrameMetadataListener listener)
    Sets a listener to receive video frame metadata events.
    - + void setVideoScalingMode​(@com.google.android.exoplayer2.C.VideoScalingMode int videoScalingMode) - + void setWakeMode​(@com.google.android.exoplayer2.C.WakeMode int wakeMode) @@ -813,7 +831,7 @@ extends

    Methods inherited from interface com.google.android.exoplayer2.Player

    -addListener, addMediaItem, addMediaItem, addMediaItems, addMediaItems, canAdvertiseSession, clearMediaItems, clearVideoSurface, clearVideoSurface, clearVideoSurfaceHolder, clearVideoSurfaceView, clearVideoTextureView, decreaseDeviceVolume, getApplicationLooper, getAudioAttributes, getAvailableCommands, getBufferedPercentage, getBufferedPosition, getContentBufferedPosition, getContentDuration, getContentPosition, getCurrentAdGroupIndex, getCurrentAdIndexInAdGroup, getCurrentCues, getCurrentLiveOffset, getCurrentManifest, getCurrentMediaItem, getCurrentMediaItemIndex, getCurrentPeriodIndex, getCurrentPosition, getCurrentTimeline, getCurrentTrackGroups, getCurrentTrackSelections, getCurrentTracksInfo, getCurrentWindowIndex, getDeviceInfo, getDeviceVolume, getDuration, getMaxSeekToPreviousPosition, getMediaItemAt, getMediaItemCount, getMediaMetadata, getNextMediaItemIndex, getNextWindowIndex, getPlaybackParameters, getPlaybackState, getPlaybackSuppressionReason, getPlaylistMetadata, getPlayWhenReady, getPreviousMediaItemIndex, getPreviousWindowIndex, getRepeatMode, getSeekBackIncrement, getSeekForwardIncrement, getShuffleModeEnabled, getTotalBufferedDuration, getTrackSelectionParameters, getVideoSize, getVolume, hasNext, hasNextMediaItem, hasNextWindow, hasPrevious, hasPreviousMediaItem, hasPreviousWindow, increaseDeviceVolume, isCommandAvailable, isCurrentMediaItemDynamic, isCurrentMediaItemLive, isCurrentMediaItemSeekable, isCurrentWindowDynamic, isCurrentWindowLive, isCurrentWindowSeekable, isDeviceMuted, isLoading, isPlaying, isPlayingAd, moveMediaItem, moveMediaItems, next, pause, play, prepare, previous, release, removeListener, removeMediaItem, removeMediaItems, seekBack, seekForward, seekTo, seekTo, seekToDefaultPosition, seekToDefaultPosition, seekToNext, seekToNextMediaItem, seekToNextWindow, seekToPrevious, seekToPreviousMediaItem, seekToPreviousWindow, setDeviceMuted, setDeviceVolume, setMediaItem, setMediaItem, setMediaItem, setMediaItems, setMediaItems, setMediaItems, setPlaybackParameters, setPlaybackSpeed, setPlaylistMetadata, setPlayWhenReady, setRepeatMode, setShuffleModeEnabled, setTrackSelectionParameters, setVideoSurface, setVideoSurfaceHolder, setVideoSurfaceView, setVideoTextureView, setVolume, stop, stop +addListener, addMediaItem, addMediaItem, addMediaItems, addMediaItems, canAdvertiseSession, clearMediaItems, clearVideoSurface, clearVideoSurface, clearVideoSurfaceHolder, clearVideoSurfaceView, clearVideoTextureView, decreaseDeviceVolume, getApplicationLooper, getAudioAttributes, getAvailableCommands, getBufferedPercentage, getBufferedPosition, getContentBufferedPosition, getContentDuration, getContentPosition, getCurrentAdGroupIndex, getCurrentAdIndexInAdGroup, getCurrentCues, getCurrentLiveOffset, getCurrentManifest, getCurrentMediaItem, getCurrentMediaItemIndex, getCurrentPeriodIndex, getCurrentPosition, getCurrentTimeline, getCurrentTracks, getCurrentWindowIndex, getDeviceInfo, getDeviceVolume, getDuration, getMaxSeekToPreviousPosition, getMediaItemAt, getMediaItemCount, getMediaMetadata, getNextMediaItemIndex, getNextWindowIndex, getPlaybackParameters, getPlaybackState, getPlaybackSuppressionReason, getPlaylistMetadata, getPlayWhenReady, getPreviousMediaItemIndex, getPreviousWindowIndex, getRepeatMode, getSeekBackIncrement, getSeekForwardIncrement, getShuffleModeEnabled, getTotalBufferedDuration, getTrackSelectionParameters, getVideoSize, getVolume, hasNext, hasNextMediaItem, hasNextWindow, hasPrevious, hasPreviousMediaItem, hasPreviousWindow, increaseDeviceVolume, isCommandAvailable, isCurrentMediaItemDynamic, isCurrentMediaItemLive, isCurrentMediaItemSeekable, isCurrentWindowDynamic, isCurrentWindowLive, isCurrentWindowSeekable, isDeviceMuted, isLoading, isPlaying, isPlayingAd, moveMediaItem, moveMediaItems, next, pause, play, prepare, previous, release, removeListener, removeMediaItem, removeMediaItems, seekBack, seekForward, seekTo, seekTo, seekToDefaultPosition, seekToDefaultPosition, seekToNext, seekToNextMediaItem, seekToNextWindow, seekToPrevious, seekToPreviousMediaItem, seekToPreviousWindow, setDeviceMuted, setDeviceVolume, setMediaItem, setMediaItem, setMediaItem, setMediaItems, setMediaItems, setMediaItems, setPlaybackParameters, setPlaybackSpeed, setPlaylistMetadata, setPlayWhenReady, setRepeatMode, setShuffleModeEnabled, setTrackSelectionParameters, setVideoSurface, setVideoSurfaceHolder, setVideoSurfaceView, setVideoTextureView, setVolume, stop, stop @@ -1072,6 +1090,43 @@ extends Returns the track selector that this player uses, or null if track selection is not supported. + + + + + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/ForwardingPlayer.html b/docs/doc/reference/com/google/android/exoplayer2/ForwardingPlayer.html index d63359e05a..570fc0f845 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/ForwardingPlayer.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ForwardingPlayer.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":42,"i32":42,"i33":10,"i34":42,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":42,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":42,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":42,"i62":10,"i63":42,"i64":42,"i65":10,"i66":42,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":42,"i73":42,"i74":42,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":42,"i82":10,"i83":10,"i84":10,"i85":42,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":42,"i99":10,"i100":10,"i101":42,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109":10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10,"i120":10,"i121":10,"i122":10,"i123":42}; +var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":42,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":42,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":42,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":42,"i60":10,"i61":42,"i62":42,"i63":10,"i64":42,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":42,"i71":42,"i72":42,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":42,"i80":10,"i81":10,"i82":10,"i83":42,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":42,"i97":10,"i98":10,"i99":42,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109":10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10,"i120":10,"i121":42}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -173,7 +173,7 @@ implements Player -COMMAND_ADJUST_DEVICE_VOLUME, COMMAND_CHANGE_MEDIA_ITEMS, COMMAND_GET_AUDIO_ATTRIBUTES, COMMAND_GET_CURRENT_MEDIA_ITEM, COMMAND_GET_DEVICE_VOLUME, COMMAND_GET_MEDIA_ITEMS_METADATA, COMMAND_GET_TEXT, COMMAND_GET_TIMELINE, COMMAND_GET_TRACK_INFOS, COMMAND_GET_VOLUME, COMMAND_INVALID, COMMAND_PLAY_PAUSE, COMMAND_PREPARE, COMMAND_SEEK_BACK, COMMAND_SEEK_FORWARD, COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM, COMMAND_SEEK_IN_CURRENT_WINDOW, COMMAND_SEEK_TO_DEFAULT_POSITION, COMMAND_SEEK_TO_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT, COMMAND_SEEK_TO_NEXT_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT_WINDOW, COMMAND_SEEK_TO_PREVIOUS, COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM, COMMAND_SEEK_TO_PREVIOUS_WINDOW, COMMAND_SEEK_TO_WINDOW, COMMAND_SET_DEVICE_VOLUME, COMMAND_SET_MEDIA_ITEMS_METADATA, COMMAND_SET_REPEAT_MODE, COMMAND_SET_SHUFFLE_MODE, COMMAND_SET_SPEED_AND_PITCH, COMMAND_SET_TRACK_SELECTION_PARAMETERS, COMMAND_SET_VIDEO_SURFACE, COMMAND_SET_VOLUME, COMMAND_STOP, DISCONTINUITY_REASON_AUTO_TRANSITION, DISCONTINUITY_REASON_INTERNAL, DISCONTINUITY_REASON_REMOVE, DISCONTINUITY_REASON_SEEK, DISCONTINUITY_REASON_SEEK_ADJUSTMENT, DISCONTINUITY_REASON_SKIP, EVENT_AUDIO_ATTRIBUTES_CHANGED, EVENT_AUDIO_SESSION_ID, EVENT_AVAILABLE_COMMANDS_CHANGED, EVENT_CUES, EVENT_DEVICE_INFO_CHANGED, EVENT_DEVICE_VOLUME_CHANGED, EVENT_IS_LOADING_CHANGED, EVENT_IS_PLAYING_CHANGED, EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED, EVENT_MEDIA_ITEM_TRANSITION, EVENT_MEDIA_METADATA_CHANGED, EVENT_METADATA, EVENT_PLAY_WHEN_READY_CHANGED, EVENT_PLAYBACK_PARAMETERS_CHANGED, EVENT_PLAYBACK_STATE_CHANGED, EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED, EVENT_PLAYER_ERROR, EVENT_PLAYLIST_METADATA_CHANGED, EVENT_POSITION_DISCONTINUITY, EVENT_RENDERED_FIRST_FRAME, EVENT_REPEAT_MODE_CHANGED, EVENT_SEEK_BACK_INCREMENT_CHANGED, EVENT_SEEK_FORWARD_INCREMENT_CHANGED, EVENT_SHUFFLE_MODE_ENABLED_CHANGED, EVENT_SKIP_SILENCE_ENABLED_CHANGED, EVENT_SURFACE_SIZE_CHANGED, EVENT_TIMELINE_CHANGED, EVENT_TRACK_SELECTION_PARAMETERS_CHANGED, EVENT_TRACKS_CHANGED, EVENT_VIDEO_SIZE_CHANGED, EVENT_VOLUME_CHANGED, MEDIA_ITEM_TRANSITION_REASON_AUTO, MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED, MEDIA_ITEM_TRANSITION_REASON_REPEAT, MEDIA_ITEM_TRANSITION_REASON_SEEK, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS, PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM, PLAY_WHEN_READY_CHANGE_REASON_REMOTE, PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST, PLAYBACK_SUPPRESSION_REASON_NONE, PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS, REPEAT_MODE_ALL, REPEAT_MODE_OFF, REPEAT_MODE_ONE, STATE_BUFFERING, STATE_ENDED, STATE_IDLE, STATE_READY, TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED, TIMELINE_CHANGE_REASON_SOURCE_UPDATE +COMMAND_ADJUST_DEVICE_VOLUME, COMMAND_CHANGE_MEDIA_ITEMS, COMMAND_GET_AUDIO_ATTRIBUTES, COMMAND_GET_CURRENT_MEDIA_ITEM, COMMAND_GET_DEVICE_VOLUME, COMMAND_GET_MEDIA_ITEMS_METADATA, COMMAND_GET_TEXT, COMMAND_GET_TIMELINE, COMMAND_GET_TRACKS, COMMAND_GET_VOLUME, COMMAND_INVALID, COMMAND_PLAY_PAUSE, COMMAND_PREPARE, COMMAND_SEEK_BACK, COMMAND_SEEK_FORWARD, COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM, COMMAND_SEEK_IN_CURRENT_WINDOW, COMMAND_SEEK_TO_DEFAULT_POSITION, COMMAND_SEEK_TO_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT, COMMAND_SEEK_TO_NEXT_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT_WINDOW, COMMAND_SEEK_TO_PREVIOUS, COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM, COMMAND_SEEK_TO_PREVIOUS_WINDOW, COMMAND_SEEK_TO_WINDOW, COMMAND_SET_DEVICE_VOLUME, COMMAND_SET_MEDIA_ITEM, COMMAND_SET_MEDIA_ITEMS_METADATA, COMMAND_SET_REPEAT_MODE, COMMAND_SET_SHUFFLE_MODE, COMMAND_SET_SPEED_AND_PITCH, COMMAND_SET_TRACK_SELECTION_PARAMETERS, COMMAND_SET_VIDEO_SURFACE, COMMAND_SET_VOLUME, COMMAND_STOP, DISCONTINUITY_REASON_AUTO_TRANSITION, DISCONTINUITY_REASON_INTERNAL, DISCONTINUITY_REASON_REMOVE, DISCONTINUITY_REASON_SEEK, DISCONTINUITY_REASON_SEEK_ADJUSTMENT, DISCONTINUITY_REASON_SKIP, EVENT_AUDIO_ATTRIBUTES_CHANGED, EVENT_AUDIO_SESSION_ID, EVENT_AVAILABLE_COMMANDS_CHANGED, EVENT_CUES, EVENT_DEVICE_INFO_CHANGED, EVENT_DEVICE_VOLUME_CHANGED, EVENT_IS_LOADING_CHANGED, EVENT_IS_PLAYING_CHANGED, EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED, EVENT_MEDIA_ITEM_TRANSITION, EVENT_MEDIA_METADATA_CHANGED, EVENT_METADATA, EVENT_PLAY_WHEN_READY_CHANGED, EVENT_PLAYBACK_PARAMETERS_CHANGED, EVENT_PLAYBACK_STATE_CHANGED, EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED, EVENT_PLAYER_ERROR, EVENT_PLAYLIST_METADATA_CHANGED, EVENT_POSITION_DISCONTINUITY, EVENT_RENDERED_FIRST_FRAME, EVENT_REPEAT_MODE_CHANGED, EVENT_SEEK_BACK_INCREMENT_CHANGED, EVENT_SEEK_FORWARD_INCREMENT_CHANGED, EVENT_SHUFFLE_MODE_ENABLED_CHANGED, EVENT_SKIP_SILENCE_ENABLED_CHANGED, EVENT_SURFACE_SIZE_CHANGED, EVENT_TIMELINE_CHANGED, EVENT_TRACK_SELECTION_PARAMETERS_CHANGED, EVENT_TRACKS_CHANGED, EVENT_VIDEO_SIZE_CHANGED, EVENT_VOLUME_CHANGED, MEDIA_ITEM_TRANSITION_REASON_AUTO, MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED, MEDIA_ITEM_TRANSITION_REASON_REPEAT, MEDIA_ITEM_TRANSITION_REASON_SEEK, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS, PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM, PLAY_WHEN_READY_CHANGE_REASON_REMOTE, PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST, PLAYBACK_SUPPRESSION_REASON_NONE, PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS, REPEAT_MODE_ALL, REPEAT_MODE_OFF, REPEAT_MODE_ONE, STATE_BUFFERING, STATE_ENDED, STATE_IDLE, STATE_READY, TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED, TIMELINE_CHANGE_REASON_SOURCE_UPDATE @@ -379,7 +379,7 @@ implements -List<Cue> +CueGroup getCurrentCues()
    Calls Player.getCurrentCues() on the delegate and returns the result.
    @@ -435,342 +435,348 @@ implements -TrackGroupArray -getCurrentTrackGroups() +Tracks +getCurrentTracks() -
    Deprecated.
    +
    Calls Player.getCurrentTracks() on the delegate and returns the result.
    -TrackSelectionArray -getCurrentTrackSelections() - -
    Deprecated.
    - - - -TracksInfo -getCurrentTracksInfo() - -
    Calls Player.getCurrentTracksInfo() on the delegate and returns the result.
    - - - int getCurrentWindowIndex() -
    Deprecated.
    +
    Deprecated. + +
    - + DeviceInfo getDeviceInfo()
    Calls Player.getDeviceInfo() on the delegate and returns the result.
    - + int getDeviceVolume()
    Calls Player.getDeviceVolume() on the delegate and returns the result.
    - + long getDuration()
    Calls Player.getDuration() on the delegate and returns the result.
    - + long getMaxSeekToPreviousPosition()
    Calls Player.getMaxSeekToPreviousPosition() on the delegate and returns the result.
    - + MediaItem getMediaItemAt​(int index)
    Calls Player.getMediaItemAt(int) on the delegate and returns the result.
    - + int getMediaItemCount()
    Calls Player.getMediaItemCount() on the delegate and returns the result.
    - + MediaMetadata getMediaMetadata()
    Calls Player.getMediaMetadata() on the delegate and returns the result.
    - + int getNextMediaItemIndex()
    Calls Player.getNextMediaItemIndex() on the delegate and returns the result.
    - + int getNextWindowIndex() -
    Deprecated.
    +
    Deprecated. + +
    - + PlaybackParameters getPlaybackParameters()
    Calls Player.getPlaybackParameters() on the delegate and returns the result.
    - + int getPlaybackState()
    Calls Player.getPlaybackState() on the delegate and returns the result.
    - + int getPlaybackSuppressionReason()
    Calls Player.getPlaybackSuppressionReason() on the delegate and returns the result.
    - + PlaybackException getPlayerError()
    Calls Player.getPlayerError() on the delegate and returns the result.
    - + MediaMetadata getPlaylistMetadata()
    Calls Player.getPlaylistMetadata() on the delegate and returns the result.
    - + boolean getPlayWhenReady()
    Calls Player.getPlayWhenReady() on the delegate and returns the result.
    - + int getPreviousMediaItemIndex()
    Calls Player.getPreviousMediaItemIndex() on the delegate and returns the result.
    - + int getPreviousWindowIndex() -
    Deprecated.
    +
    Deprecated. + +
    - + int getRepeatMode()
    Calls Player.getRepeatMode() on the delegate and returns the result.
    - + long getSeekBackIncrement()
    Calls Player.getSeekBackIncrement() on the delegate and returns the result.
    - + long getSeekForwardIncrement()
    Calls Player.getSeekForwardIncrement() on the delegate and returns the result.
    - + boolean getShuffleModeEnabled()
    Calls Player.getShuffleModeEnabled() on the delegate and returns the result.
    - + long getTotalBufferedDuration()
    Calls Player.getTotalBufferedDuration() on the delegate and returns the result.
    - + TrackSelectionParameters getTrackSelectionParameters()
    Calls Player.getTrackSelectionParameters() on the delegate and returns the result.
    - + VideoSize getVideoSize()
    Calls Player.getVideoSize() on the delegate and returns the result.
    - + float getVolume()
    Calls Player.getVolume() on the delegate and returns the result.
    - + Player getWrappedPlayer()
    Returns the Player to which operations are forwarded.
    - + boolean hasNext() -
    Deprecated.
    +
    Deprecated. +
    Use hasNextMediaItem() instead.
    +
    - + boolean hasNextMediaItem()
    Calls Player.hasNextMediaItem() on the delegate and returns the result.
    - + boolean hasNextWindow() -
    Deprecated.
    +
    Deprecated. +
    Use hasNextMediaItem() instead.
    +
    - + boolean hasPrevious() -
    Deprecated.
    +
    Deprecated. + +
    - + boolean hasPreviousMediaItem()
    Calls Player.hasPreviousMediaItem() on the delegate and returns the result.
    - + boolean hasPreviousWindow() -
    Deprecated.
    +
    Deprecated. + +
    - + void increaseDeviceVolume()
    Calls Player.increaseDeviceVolume() on the delegate.
    - + boolean isCommandAvailable​(@com.google.android.exoplayer2.Player.Command int command)
    Calls Player.isCommandAvailable(int) on the delegate and returns the result.
    - + boolean isCurrentMediaItemDynamic()
    Calls Player.isCurrentMediaItemDynamic() on the delegate and returns the result.
    - + boolean isCurrentMediaItemLive()
    Calls Player.isCurrentMediaItemLive() on the delegate and returns the result.
    - + boolean isCurrentMediaItemSeekable()
    Calls Player.isCurrentMediaItemSeekable() on the delegate and returns the result.
    - + boolean isCurrentWindowDynamic() -
    Deprecated.
    +
    Deprecated. + +
    - + boolean isCurrentWindowLive() -
    Deprecated.
    +
    Deprecated. + +
    - + boolean isCurrentWindowSeekable() -
    Deprecated.
    +
    Deprecated. + +
    - + boolean isDeviceMuted()
    Calls Player.isDeviceMuted() on the delegate and returns the result.
    - + boolean isLoading()
    Calls Player.isLoading() on the delegate and returns the result.
    - + boolean isPlaying()
    Calls Player.isPlaying() on the delegate and returns the result.
    - + boolean isPlayingAd()
    Calls Player.isPlayingAd() on the delegate and returns the result.
    - + void moveMediaItem​(int currentIndex, int newIndex) @@ -778,7 +784,7 @@ implements Calls Player.moveMediaItem(int, int) on the delegate. - + void moveMediaItems​(int fromIndex, int toIndex, @@ -787,63 +793,67 @@ implements Calls Player.moveMediaItems(int, int, int) on the delegate. - + void next() -
    Deprecated.
    +
    Deprecated. + +
    - + void pause()
    Calls Player.pause() on the delegate.
    - + void play()
    Calls Player.play() on the delegate.
    - + void prepare()
    Calls Player.prepare() on the delegate.
    - + void previous() -
    Deprecated.
    +
    Deprecated. + +
    - + void release()
    Calls Player.release() on the delegate.
    - + void removeListener​(Player.Listener listener)
    Calls Player.removeListener(Listener) on the delegate.
    - + void removeMediaItem​(int index)
    Calls Player.removeMediaItem(int) on the delegate.
    - + void removeMediaItems​(int fromIndex, int toIndex) @@ -851,21 +861,21 @@ implements Calls Player.removeMediaItems(int, int) on the delegate. - + void seekBack()
    Calls Player.seekBack() on the delegate.
    - + void seekForward()
    Calls Player.seekForward() on the delegate.
    - + void seekTo​(int mediaItemIndex, long positionMs) @@ -873,91 +883,95 @@ implements Calls Player.seekTo(int, long) on the delegate. - + void seekTo​(long positionMs)
    Calls Player.seekTo(long) on the delegate.
    - + void seekToDefaultPosition()
    Calls Player.seekToDefaultPosition() on the delegate.
    - + void seekToDefaultPosition​(int mediaItemIndex)
    Calls Player.seekToDefaultPosition(int) on the delegate.
    - + void seekToNext()
    Calls Player.seekToNext() on the delegate.
    - + void seekToNextMediaItem()
    Calls Player.seekToNextMediaItem() on the delegate.
    - + void seekToNextWindow() -
    Deprecated.
    +
    Deprecated. + +
    - + void seekToPrevious()
    Calls Player.seekToPrevious() on the delegate.
    - + void seekToPreviousMediaItem()
    Calls Player.seekToPreviousMediaItem() on the delegate.
    - + void seekToPreviousWindow() -
    Deprecated.
    +
    Deprecated. + +
    - + void setDeviceMuted​(boolean muted)
    Calls Player.setDeviceMuted(boolean) on the delegate.
    - + void setDeviceVolume​(int volume)
    Calls Player.setDeviceVolume(int) on the delegate.
    - + void setMediaItem​(MediaItem mediaItem)
    Calls Player.setMediaItem(MediaItem) on the delegate.
    - + void setMediaItem​(MediaItem mediaItem, boolean resetPosition) @@ -965,7 +979,7 @@ implements Calls Player.setMediaItem(MediaItem, boolean) on the delegate. - + void setMediaItem​(MediaItem mediaItem, long startPositionMs) @@ -973,14 +987,14 @@ implements Calls Player.setMediaItem(MediaItem, long) on the delegate. - + void setMediaItems​(List<MediaItem> mediaItems)
    Calls Player.setMediaItems(List) on the delegate.
    - + void setMediaItems​(List<MediaItem> mediaItems, boolean resetPosition) @@ -988,7 +1002,7 @@ implements Calls Player.setMediaItems(List, boolean) ()} on the delegate. - + void setMediaItems​(List<MediaItem> mediaItems, int startIndex, @@ -997,102 +1011,105 @@ implements Calls Player.setMediaItems(List, int, long) on the delegate. - + void setPlaybackParameters​(PlaybackParameters playbackParameters) - + void setPlaybackSpeed​(float speed)
    Calls Player.setPlaybackSpeed(float) on the delegate.
    - + void setPlaylistMetadata​(MediaMetadata mediaMetadata) - + void setPlayWhenReady​(boolean playWhenReady)
    Calls Player.setPlayWhenReady(boolean) on the delegate.
    - + void setRepeatMode​(@com.google.android.exoplayer2.Player.RepeatMode int repeatMode)
    Calls Player.setRepeatMode(int) on the delegate.
    - + void setShuffleModeEnabled​(boolean shuffleModeEnabled) - + void setTrackSelectionParameters​(TrackSelectionParameters parameters) - + void setVideoSurface​(Surface surface)
    Calls Player.setVideoSurface(Surface) on the delegate.
    - + void setVideoSurfaceHolder​(SurfaceHolder surfaceHolder) - + void setVideoSurfaceView​(SurfaceView surfaceView) - + void setVideoTextureView​(TextureView textureView) - + void setVolume​(float volume)
    Calls Player.setVolume(float) on the delegate.
    - + void stop()
    Calls Player.stop() on the delegate.
    - + void stop​(boolean reset) -
    Deprecated.
    +
    Deprecated. +
    Use stop() and clearMediaItems() (if reset is true) or + just stop() (if reset is false).
    +
    @@ -1884,7 +1901,9 @@ public @Deprecated public boolean hasPrevious() -
    Deprecated.
    +
    Deprecated. + +
    Calls Player.hasPrevious() on the delegate and returns the result.
    Specified by:
    @@ -1900,7 +1919,9 @@ public boolean hasPrevious()

    hasPreviousWindow

    @Deprecated
     public boolean hasPreviousWindow()
    -
    Deprecated.
    +
    Deprecated. + +
    Calls Player.hasPreviousWindow() on the delegate and returns the result.
    Specified by:
    @@ -1930,7 +1951,9 @@ public boolean hasPreviousWindow()

    previous

    @Deprecated
     public void previous()
    -
    Deprecated.
    +
    Deprecated. + +
    Calls Player.previous() on the delegate.
    Specified by:
    @@ -1946,7 +1969,9 @@ public void previous()

    seekToPreviousWindow

    @Deprecated
     public void seekToPreviousWindow()
    -
    Deprecated.
    +
    Deprecated. + +
    Calls Player.seekToPreviousWindow() on the delegate.
    Specified by:
    @@ -2008,7 +2033,9 @@ public void seekToPreviousWindow()

    hasNext

    @Deprecated
     public boolean hasNext()
    -
    Deprecated.
    +
    Deprecated. +
    Use hasNextMediaItem() instead.
    +
    Calls Player.hasNext() on the delegate and returns the result.
    Specified by:
    @@ -2024,7 +2051,9 @@ public boolean hasNext()

    hasNextWindow

    @Deprecated
     public boolean hasNextWindow()
    -
    Deprecated.
    +
    Deprecated. +
    Use hasNextMediaItem() instead.
    +
    Calls Player.hasNextWindow() on the delegate and returns the result.
    Specified by:
    @@ -2054,7 +2083,9 @@ public boolean hasNextWindow()

    next

    @Deprecated
     public void next()
    -
    Deprecated.
    +
    Deprecated. + +
    Calls Player.next() on the delegate.
    Specified by:
    @@ -2070,7 +2101,9 @@ public void next()

    seekToNextWindow

    @Deprecated
     public void seekToNextWindow()
    -
    Deprecated.
    +
    Deprecated. + +
    Calls Player.seekToNextWindow() on the delegate.
    Specified by:
    @@ -2177,7 +2210,11 @@ public void seekToNextWindow()

    stop

    @Deprecated
     public void stop​(boolean reset)
    -
    Deprecated.
    +
    Deprecated. +
    Use stop() and clearMediaItems() (if reset is true) or + just stop() (if reset is false). Any player error will be cleared when + re-preparing the player.
    +
    Calls Player.stop(boolean) on the delegate.
    Specified by:
    @@ -2199,55 +2236,19 @@ public void stop​(boolean reset)
    - + - - - - - - - - @@ -2376,7 +2377,9 @@ public @Deprecated public int getCurrentWindowIndex() -
    Deprecated.
    +
    Deprecated. + +
    Calls Player.getCurrentWindowIndex() on the delegate and returns the result.
    Specified by:
    @@ -2406,7 +2409,9 @@ public int getCurrentWindowIndex()

    getNextWindowIndex

    @Deprecated
     public int getNextWindowIndex()
    -
    Deprecated.
    +
    Deprecated. + +
    Calls Player.getNextWindowIndex() on the delegate and returns the result.
    Specified by:
    @@ -2436,7 +2441,9 @@ public int getNextWindowIndex()

    getPreviousWindowIndex

    @Deprecated
     public int getPreviousWindowIndex()
    -
    Deprecated.
    +
    Deprecated. + +
    Calls Player.getPreviousWindowIndex() on the delegate and returns the result.
    Specified by:
    @@ -2581,7 +2588,9 @@ public @Deprecated public boolean isCurrentWindowDynamic() -
    Deprecated.
    +
    Deprecated. + +
    Calls Player.isCurrentWindowDynamic() on the delegate and returns the result.
    Specified by:
    @@ -2613,7 +2622,9 @@ public boolean isCurrentWindowDynamic()

    isCurrentWindowLive

    @Deprecated
     public boolean isCurrentWindowLive()
    -
    Deprecated.
    +
    Deprecated. + +
    Calls Player.isCurrentWindowLive() on the delegate and returns the result.
    Specified by:
    @@ -2659,7 +2670,9 @@ public boolean isCurrentWindowLive()

    isCurrentWindowSeekable

    @Deprecated
     public boolean isCurrentWindowSeekable()
    -
    Deprecated.
    +
    Deprecated. + +
    Calls Player.isCurrentWindowSeekable() on the delegate and returns the result.
    Specified by:
    @@ -2985,7 +2998,7 @@ public boolean isCurrentWindowSeekable()
    • getCurrentCues

      -
      public List<Cue> getCurrentCues()
      +
      public CueGroup getCurrentCues()
      Calls Player.getCurrentCues() on the delegate and returns the result.
      Specified by:
      diff --git a/docs/doc/reference/com/google/android/exoplayer2/HeartRating.html b/docs/doc/reference/com/google/android/exoplayer2/HeartRating.html index cdd15e2d87..7d2e1c3a05 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/HeartRating.html +++ b/docs/doc/reference/com/google/android/exoplayer2/HeartRating.html @@ -187,13 +187,6 @@ extends Rat -
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/MediaItem.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/MediaItem.Builder.html index 2cc26876fd..e6b1a25e43 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/MediaItem.Builder.html +++ b/docs/doc/reference/com/google/android/exoplayer2/MediaItem.Builder.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":42,"i3":42,"i4":42,"i5":42,"i6":10,"i7":42,"i8":42,"i9":42,"i10":42,"i11":10,"i12":10,"i13":42,"i14":42,"i15":42,"i16":42,"i17":42,"i18":42,"i19":42,"i20":42,"i21":42,"i22":42,"i23":10,"i24":42,"i25":42,"i26":42,"i27":42,"i28":42,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":42,"i35":10,"i36":10,"i37":10}; +var data = {"i0":10,"i1":10,"i2":42,"i3":42,"i4":42,"i5":42,"i6":10,"i7":42,"i8":42,"i9":42,"i10":42,"i11":10,"i12":10,"i13":42,"i14":42,"i15":42,"i16":42,"i17":42,"i18":42,"i19":42,"i20":42,"i21":42,"i22":42,"i23":10,"i24":42,"i25":42,"i26":42,"i27":42,"i28":42,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":42,"i36":10,"i37":10,"i38":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -358,7 +358,7 @@ extends setDrmSessionForClearPeriods​(boolean sessionForClearPeriods) @@ -456,20 +456,27 @@ extends MediaItem.Builder +setRequestMetadata​(MediaItem.RequestMetadata requestMetadata) + +
    Sets the request metadata.
    + + + +MediaItem.Builder setStreamKeys​(List<StreamKey> streamKeys)
    Sets the optional stream keys by which the manifest is filtered (only used for adaptive streams).
    - + MediaItem.Builder setSubtitleConfigurations​(List<MediaItem.SubtitleConfiguration> subtitleConfigurations)
    Sets the optional subtitles.
    - + MediaItem.Builder setSubtitles​(List<MediaItem.Subtitle> subtitles) @@ -478,21 +485,21 @@ extends - + MediaItem.Builder setTag​(Object tag)
    Sets the optional tag for custom attributes.
    - + MediaItem.Builder setUri​(Uri uri)
    Sets the optional URI.
    - + MediaItem.Builder setUri​(String uri) @@ -795,7 +802,7 @@ public @Deprecated public MediaItem.Builder setDrmSessionForClearPeriods​(boolean sessionForClearPeriods) @@ -1045,6 +1052,16 @@ public Sets the media metadata. + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html index b8bc49adea..77689c6694 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html +++ b/docs/doc/reference/com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html @@ -25,8 +25,8 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10}; -var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var data = {"i0":10,"i1":42,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; @@ -173,7 +173,7 @@ extends

    Method Summary

    - + @@ -186,9 +186,11 @@ extends - + @@ -209,40 +211,47 @@ extends + + + + + - + - + - + - + - + - + - + - - - - -
    All Methods Instance Methods Concrete Methods All Methods Instance Methods Concrete Methods Deprecated Methods 
    Modifier and Type Method
    MediaItem.DrmConfiguration.BuilderforceSessionsForAudioAndVideoTracks​(boolean useClearSessionsForAudioAndVideoTracks)forceSessionsForAudioAndVideoTracks​(boolean forceSessionsForAudioAndVideoTracks) -
    Sets whether a DRM session should be used for clear tracks of type C.TRACK_TYPE_VIDEO and C.TRACK_TYPE_AUDIO.
    +
    MediaItem.DrmConfiguration.BuildersetForceSessionsForAudioAndVideoTracks​(boolean forceSessionsForAudioAndVideoTracks) +
    Sets whether a DRM session should be used for clear tracks of type C.TRACK_TYPE_VIDEO and C.TRACK_TYPE_AUDIO.
    +
    MediaItem.DrmConfiguration.Builder setKeySetId​(byte[] keySetId)
    Sets the key set ID of the offline license.
    MediaItem.DrmConfiguration.Builder setLicenseRequestHeaders​(Map<String,​String> licenseRequestHeaders)
    Sets the optional request headers attached to DRM license requests.
    MediaItem.DrmConfiguration.Builder setLicenseUri​(Uri licenseUri)
    Sets the optional default DRM license server URI.
    MediaItem.DrmConfiguration.Builder setLicenseUri​(String licenseUri)
    Sets the optional default DRM license server URI.
    MediaItem.DrmConfiguration.Builder setMultiSession​(boolean multiSession)
    Sets whether multi session is enabled.
    MediaItem.DrmConfiguration.Builder setPlayClearContentWithoutKey​(boolean playClearContentWithoutKey) @@ -250,7 +259,7 @@ extends
    MediaItem.DrmConfiguration.Builder setScheme​(UUID scheme) @@ -385,7 +394,21 @@ extends
  • forceSessionsForAudioAndVideoTracks

    -
    public MediaItem.DrmConfiguration.Builder forceSessionsForAudioAndVideoTracks​(boolean useClearSessionsForAudioAndVideoTracks)
    +
    @Deprecated
    +@InlineMe(replacement="this.setForceSessionsForAudioAndVideoTracks(forceSessionsForAudioAndVideoTracks)")
    +public MediaItem.DrmConfiguration.Builder forceSessionsForAudioAndVideoTracks​(boolean forceSessionsForAudioAndVideoTracks)
    + +
  • + + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/MediaItem.RequestMetadata.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/MediaItem.RequestMetadata.Builder.html new file mode 100644 index 0000000000..5352494507 --- /dev/null +++ b/docs/doc/reference/com/google/android/exoplayer2/MediaItem.RequestMetadata.Builder.html @@ -0,0 +1,367 @@ + + + + +MediaItem.RequestMetadata.Builder (ExoPlayer library) + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Class MediaItem.RequestMetadata.Builder

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.google.android.exoplayer2.MediaItem.RequestMetadata.Builder
      • +
      +
    • +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/trackselection/TrackSelectionOverrides.html b/docs/doc/reference/com/google/android/exoplayer2/MediaItem.RequestMetadata.html similarity index 56% rename from docs/doc/reference/com/google/android/exoplayer2/trackselection/TrackSelectionOverrides.html rename to docs/doc/reference/com/google/android/exoplayer2/MediaItem.RequestMetadata.html index 6ae8fba876..baecc48d76 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/trackselection/TrackSelectionOverrides.html +++ b/docs/doc/reference/com/google/android/exoplayer2/MediaItem.RequestMetadata.html @@ -2,36 +2,36 @@ -TrackSelectionOverrides (ExoPlayer library) +MediaItem.RequestMetadata (ExoPlayer library) - - - - - + + + + + - - + +
    static class TrackSelectionOverrides.BuilderMediaItem.RequestMetadata.Builder - -
    static class TrackSelectionOverrides.TrackSelectionOverride - +
    Builder for MediaItem.RequestMetadata instances.
    @@ -192,8 +177,8 @@ implements -

    Nested classes/interfaces inherited from interface com.google.android.exoplayer2.Bundleable

    -Bundleable.Creator<T extends Bundleable> +

    Nested classes/interfaces inherited from interface com.google.android.exoplayer2.Bundleable

    +Bundleable.Creator<T extends Bundleable> @@ -213,17 +198,38 @@ implements Description -static Bundleable.Creator<TrackSelectionOverrides> +static Bundleable.Creator<MediaItem.RequestMetadata> CREATOR -
    Object that can restore TrackSelectionOverrides from a Bundle.
    +
    Object that can restore MediaItem.RequestMetadata from a Bundle.
    -static TrackSelectionOverrides +static MediaItem.RequestMetadata EMPTY -
    Empty TrackSelectionOverrides, where no track selection is overridden.
    +
    Empty request metadata.
    + + + +Bundle +extras + +
    Optional extras Bundle.
    + + + +Uri +mediaUri + +
    The URI of the requested media, or null if not known or applicable.
    + + + +String +searchQuery + +
    The search query for the requested media, or null if not applicable.
    @@ -245,38 +251,23 @@ implements Description -ImmutableList<TrackSelectionOverrides.TrackSelectionOverride> -asList() +MediaItem.RequestMetadata.Builder +buildUpon() -
    Returns a list of the overrides.
    +
    Returns a MediaItem.RequestMetadata.Builder initialized with the values of this instance.
    -TrackSelectionOverrides.Builder -buildUpon() - -
    Returns a TrackSelectionOverrides.Builder initialized with the values of this instance.
    - - - boolean -equals​(Object obj) +equals​(Object o)   - -TrackSelectionOverrides.TrackSelectionOverride -getOverride​(TrackGroup trackGroup) - -
    Returns the TrackSelectionOverrides.TrackSelectionOverride of the provided TrackGroup or null - if there is none.
    - - - + int hashCode()   - + Bundle toBundle() @@ -313,8 +304,44 @@ implements
  • EMPTY

    -
    public static final TrackSelectionOverrides EMPTY
    -
    Empty TrackSelectionOverrides, where no track selection is overridden.
    +
    public static final MediaItem.RequestMetadata EMPTY
    +
    Empty request metadata.
    +
  • + + + + +
      +
    • +

      mediaUri

      +
      @Nullable
      +public final Uri mediaUri
      +
      The URI of the requested media, or null if not known or applicable.
      +
    • +
    + + + +
      +
    • +

      searchQuery

      +
      @Nullable
      +public final String searchQuery
      +
      The search query for the requested media, or null if not applicable.
      +
    • +
    + + + + @@ -323,8 +350,8 @@ implements
  • CREATOR

    -
    public static final Bundleable.Creator<TrackSelectionOverrides> CREATOR
    -
    Object that can restore TrackSelectionOverrides from a Bundle.
    +
    public static final Bundleable.Creator<MediaItem.RequestMetadata> CREATOR
    +
    Object that can restore MediaItem.RequestMetadata from a Bundle.
  • @@ -343,30 +370,8 @@ implements
  • buildUpon

    -
    public TrackSelectionOverrides.Builder buildUpon()
    -
    Returns a TrackSelectionOverrides.Builder initialized with the values of this instance.
    -
  • - - - - - - - - - @@ -376,7 +381,7 @@ public 

    equals

    public boolean equals​(@Nullable
    -                      Object obj)
    + Object o)
    Overrides:
    equals in class Object
    @@ -403,11 +408,11 @@ public 

    toBundle

    public Bundle toBundle()
    -
    Description copied from interface: Bundleable
    +
    Description copied from interface: Bundleable
    Returns a Bundle representing the information stored in this object.
    Specified by:
    -
    toBundle in interface Bundleable
    +
    toBundle in interface Bundleable
    @@ -431,18 +436,18 @@ public  @@ -318,7 +318,7 @@ extends

    setSpatializationBehavior

    public AudioAttributes.Builder setSpatializationBehavior​(@com.google.android.exoplayer2.C.SpatializationBehavior int spatializationBehavior)
    -
    See android.media.AudioAttributes.Builder.setSpatializationBehavior(int).
    + diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/AudioAttributes.html b/docs/doc/reference/com/google/android/exoplayer2/audio/AudioAttributes.html index 0833cb2db7..e94fe15bf0 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/audio/AudioAttributes.html +++ b/docs/doc/reference/com/google/android/exoplayer2/audio/AudioAttributes.html @@ -166,6 +166,13 @@ implements static class  +AudioAttributes.AudioAttributesV21 + +
    A direct wrapper around AudioAttributes.
    + + + +static class  AudioAttributes.Builder
    Builder for AudioAttributes.
    @@ -221,9 +228,9 @@ implements static AudioAttributes DEFAULT -
    The default audio attributes, where the content type is C.CONTENT_TYPE_UNKNOWN, usage - is C.USAGE_MEDIA, capture policy is C.ALLOW_CAPTURE_BY_ALL and no flags are - set.
    +
    The default audio attributes, where the content type is C.AUDIO_CONTENT_TYPE_UNKNOWN, + usage is C.USAGE_MEDIA, capture policy is C.ALLOW_CAPTURE_BY_ALL and no flags + are set.
    @@ -271,10 +278,10 @@ implements   -AudioAttributes +AudioAttributes.AudioAttributesV21 getAudioAttributesV21() -
    Returns a AudioAttributes from this instance.
    +
    Returns a AudioAttributes.AudioAttributesV21 from this instance.
    @@ -320,9 +327,9 @@ implements

    DEFAULT

    public static final AudioAttributes DEFAULT
    -
    The default audio attributes, where the content type is C.CONTENT_TYPE_UNKNOWN, usage - is C.USAGE_MEDIA, capture policy is C.ALLOW_CAPTURE_BY_ALL and no flags are - set.
    +
    The default audio attributes, where the content type is C.AUDIO_CONTENT_TYPE_UNKNOWN, + usage is C.USAGE_MEDIA, capture policy is C.ALLOW_CAPTURE_BY_ALL and no flags + are set.
    @@ -406,10 +413,11 @@ public final @com.google.android.exoplayer2.C.AudioAllowedCapturePolicy int
  • getAudioAttributesV21

    @RequiresApi(21)
    -public AudioAttributes getAudioAttributesV21()
    -
    Returns a AudioAttributes from this instance. +public AudioAttributes.AudioAttributesV21 getAudioAttributesV21() +
    Returns a AudioAttributes.AudioAttributesV21 from this instance. -

    Field allowedCapturePolicy is ignored for API levels prior to 29.

    +

    Some fields are ignored if the corresponding AudioAttributes.Builder + setter is not available on the current API level.

  • diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/AudioCapabilities.html b/docs/doc/reference/com/google/android/exoplayer2/audio/AudioCapabilities.html index 1f52185355..2569963e1e 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/audio/AudioCapabilities.html +++ b/docs/doc/reference/com/google/android/exoplayer2/audio/AudioCapabilities.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":9,"i2":10,"i3":10,"i4":10,"i5":10}; +var data = {"i0":10,"i1":9,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -215,25 +215,40 @@ extends +Pair<Integer,​Integer> +getEncodingAndChannelConfigForPassthrough​(Format format) + +
    Returns the encoding and channel config to use when configuring an AudioTrack in + passthrough mode for the specified Format.
    + + + int getMaxChannelCount()
    Returns the maximum number of channels the device can play at the same time.
    - + int hashCode()   - + +boolean +isPassthroughPlaybackSupported​(Format format) + +
    Returns whether the device can do passthrough playback for format.
    + + + boolean supportsEncoding​(@com.google.android.exoplayer2.C.Encoding int encoding)
    Returns whether this device supports playback of the specified audio encoding.
    - + String toString()   @@ -357,6 +372,36 @@ extends Returns the maximum number of channels the device can play at the same time. + + + +
      +
    • +

      isPassthroughPlaybackSupported

      +
      public boolean isPassthroughPlaybackSupported​(Format format)
      +
      Returns whether the device can do passthrough playback for format.
      +
    • +
    + + + +
      +
    • +

      getEncodingAndChannelConfigForPassthrough

      +
      @Nullable
      +public Pair<Integer,​Integer> getEncodingAndChannelConfigForPassthrough​(Format format)
      +
      Returns the encoding and channel config to use when configuring an AudioTrack in + passthrough mode for the specified Format. Returns null if passthrough of the + format is unsupported.
      +
      +
      Parameters:
      +
      format - The Format.
      +
      Returns:
      +
      The encoding and channel config to use, or null if passthrough of the format is + unsupported.
      +
      +
    • +
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/AudioSink.Listener.html b/docs/doc/reference/com/google/android/exoplayer2/audio/AudioSink.Listener.html index fcd9bbc413..71a80ca74d 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/audio/AudioSink.Listener.html +++ b/docs/doc/reference/com/google/android/exoplayer2/audio/AudioSink.Listener.html @@ -163,7 +163,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); default void -onOffloadBufferFull​(long bufferEmptyingDeadlineMs) +onOffloadBufferFull()
    Called when the offload buffer has been filled completely.
    @@ -291,18 +291,14 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when the offload buffer has been partially emptied.
    - +
    • onOffloadBufferFull

      -
      default void onOffloadBufferFull​(long bufferEmptyingDeadlineMs)
      +
      default void onOffloadBufferFull()
      Called when the offload buffer has been filled completely.
      -
      -
      Parameters:
      -
      bufferEmptyingDeadlineMs - Maximum time in milliseconds until onOffloadBufferEmptying() will be called.
      -
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/DecoderAudioRenderer.html b/docs/doc/reference/com/google/android/exoplayer2/audio/DecoderAudioRenderer.html index 4e482afb86..2aa10d21d5 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/audio/DecoderAudioRenderer.html +++ b/docs/doc/reference/com/google/android/exoplayer2/audio/DecoderAudioRenderer.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":6,"i2":10,"i3":10,"i4":6,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":6}; +var data = {"i0":10,"i1":6,"i2":10,"i3":10,"i4":6,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":6}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -405,6 +405,15 @@ implements +protected void +onStreamChanged​(Format[] formats, + long startPositionUs, + long offsetUs) + +
    Called when the renderer's stream has changed.
    + + + void render​(long positionUs, long elapsedRealtimeUs) @@ -412,28 +421,28 @@ implements Incrementally renders the SampleStream. - + void setPlaybackParameters​(PlaybackParameters playbackParameters)
    Attempts to set the playback parameters.
    - + protected boolean sinkSupportsFormat​(Format format)
    Returns whether the renderer's AudioSink supports a given Format.
    - + @com.google.android.exoplayer2.RendererCapabilities.Capabilities int supportsFormat​(Format format)
    Returns the extent to which the Renderer supports a given format.
    - + protected abstract @com.google.android.exoplayer2.C.FormatSupport int supportsFormatInternal​(Format format) @@ -446,7 +455,7 @@ implements BaseRenderer -createRendererException, createRendererException, disable, enable, getCapabilities, getConfiguration, getFormatHolder, getIndex, getLastResetPositionUs, getPlayerId, getReadingPositionUs, getState, getStream, getStreamFormats, getTrackType, hasReadStreamToEnd, init, isCurrentStreamFinal, isSourceReady, maybeThrowStreamError, onReset, onStreamChanged, readSource, replaceStream, reset, resetPosition, setCurrentStreamFinal, skipSource, start, stop, supportsMixedMimeTypeAdaptation +createRendererException, createRendererException, disable, enable, getCapabilities, getConfiguration, getFormatHolder, getIndex, getLastResetPositionUs, getPlayerId, getReadingPositionUs, getState, getStream, getStreamFormats, getTrackType, hasReadStreamToEnd, init, isCurrentStreamFinal, isSourceReady, maybeThrowStreamError, onReset, readSource, replaceStream, reset, resetPosition, setCurrentStreamFinal, skipSource, start, stop, supportsMixedMimeTypeAdaptation
    + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/package-summary.html b/docs/doc/reference/com/google/android/exoplayer2/audio/package-summary.html index ff6048ccb7..5ad602bf88 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/audio/package-summary.html +++ b/docs/doc/reference/com/google/android/exoplayer2/audio/package-summary.html @@ -201,148 +201,154 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); +AudioAttributes.AudioAttributesV21 + +
    A direct wrapper around AudioAttributes.
    + + + AudioAttributes.Builder
    Builder for AudioAttributes.
    - + AudioCapabilities
    Represents the set of audio formats that a device is capable of playing.
    - + AudioCapabilitiesReceiver
    Receives broadcast events indicating changes to the device's audio capabilities, notifying a AudioCapabilitiesReceiver.Listener when audio capability changes occur.
    - + AudioProcessor.AudioFormat
    PCM audio format that may be handled by an audio processor.
    - + AudioRendererEventListener.EventDispatcher
    Dispatches events to an AudioRendererEventListener.
    - + AuxEffectInfo
    Represents auxiliary effect information, which can be used to attach an auxiliary effect to an underlying AudioTrack.
    - + BaseAudioProcessor
    Base class for audio processors that keep an output buffer and an internal buffer that is reused whenever input is queued.
    - + DecoderAudioRenderer<T extends Decoder<DecoderInputBuffer,​? extends SimpleDecoderOutputBuffer,​? extends DecoderException>>
    Decodes and renders audio using a Decoder.
    - + DefaultAudioSink
    Plays audio data.
    - + DefaultAudioSink.Builder
    A builder to create DefaultAudioSink instances.
    - + DefaultAudioSink.DefaultAudioProcessorChain
    The default audio processor chain, which applies a (possibly empty) chain of user-defined audio processors followed by SilenceSkippingAudioProcessor and SonicAudioProcessor.
    - + DefaultAudioTrackBufferSizeProvider
    Provide the buffer size to use when creating an AudioTrack.
    - + DefaultAudioTrackBufferSizeProvider.Builder
    A builder to create DefaultAudioTrackBufferSizeProvider instances.
    - + DtsUtil
    Utility methods for parsing DTS frames.
    - + ForwardingAudioSink
    An overridable AudioSink implementation forwarding all methods to another sink.
    - + MediaCodecAudioRenderer
    Decodes and renders audio using MediaCodec and an AudioSink.
    - + MpegAudioUtil
    Utility methods for handling MPEG audio streams.
    - + MpegAudioUtil.Header
    Stores the metadata for an MPEG audio frame.
    - + OpusUtil
    Utility methods for handling Opus audio streams.
    - + SilenceSkippingAudioProcessor
    An AudioProcessor that skips silence in the input stream.
    - + SonicAudioProcessor
    An AudioProcessor that uses the Sonic library to modify audio speed/pitch/sample rate.
    - + TeeAudioProcessor
    Audio processor that outputs its input unmodified and also outputs its input to a given sink.
    - + TeeAudioProcessor.WavFileAudioBufferSink
    A sink for audio buffers that writes output audio as .wav files with a given path prefix.
    - + WavUtil
    Utilities for handling WAVE files.
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/package-tree.html b/docs/doc/reference/com/google/android/exoplayer2/audio/package-tree.html index f5aa27b124..893d8f46fa 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/audio/package-tree.html +++ b/docs/doc/reference/com/google/android/exoplayer2/audio/package-tree.html @@ -110,6 +110,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
  • com.google.android.exoplayer2.audio.Ac4Util
  • com.google.android.exoplayer2.audio.Ac4Util.SyncFrameInfo
  • com.google.android.exoplayer2.audio.AudioAttributes (implements com.google.android.exoplayer2.Bundleable)
  • +
  • com.google.android.exoplayer2.audio.AudioAttributes.AudioAttributesV21
  • com.google.android.exoplayer2.audio.AudioAttributes.Builder
  • com.google.android.exoplayer2.audio.AudioCapabilities
  • com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver
  • diff --git a/docs/doc/reference/com/google/android/exoplayer2/decoder/Buffer.html b/docs/doc/reference/com/google/android/exoplayer2/decoder/Buffer.html index a11651bce9..252d9ae191 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/decoder/Buffer.html +++ b/docs/doc/reference/com/google/android/exoplayer2/decoder/Buffer.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10}; +var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -228,12 +228,19 @@ extends boolean +isFirstSample() + +
    Returns whether the C.BUFFER_FLAG_FIRST_SAMPLE flag is set.
    + + + +boolean isKeyFrame()
    Returns whether the C.BUFFER_FLAG_KEY_FRAME flag is set.
    - + void setFlags​(@com.google.android.exoplayer2.C.BufferFlags int flags) @@ -303,6 +310,16 @@ extends Returns whether the C.BUFFER_FLAG_DECODE_ONLY flag is set. + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderInputBuffer.html b/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderInputBuffer.html index 327a53be06..a145e65284 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderInputBuffer.html +++ b/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderInputBuffer.html @@ -356,7 +356,7 @@ extends Buffer -addFlag, clearFlag, getFlag, hasSupplementalData, isDecodeOnly, isEndOfStream, isKeyFrame, setFlags +addFlag, clearFlag, getFlag, hasSupplementalData, isDecodeOnly, isEndOfStream, isFirstSample, isKeyFrame, setFlags diff --git a/docs/doc/reference/com/google/android/exoplayer2/drm/HttpMediaDrmCallback.html b/docs/doc/reference/com/google/android/exoplayer2/drm/HttpMediaDrmCallback.html index 09d6fcf485..aecefa740f 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/drm/HttpMediaDrmCallback.html +++ b/docs/doc/reference/com/google/android/exoplayer2/drm/HttpMediaDrmCallback.html @@ -136,7 +136,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    public final class HttpMediaDrmCallback
     extends Object
     implements MediaDrmCallback
    -
    A MediaDrmCallback that makes requests using HttpDataSource instances.
    +
    A MediaDrmCallback that makes requests using DataSource instances.
    @@ -157,15 +157,19 @@ implements Description -HttpMediaDrmCallback​(String defaultLicenseUrl, +HttpMediaDrmCallback​(String defaultLicenseUrl, boolean forceDefaultLicenseUrl, - HttpDataSource.Factory dataSourceFactory) -  + DataSource.Factory dataSourceFactory) + +
    Constructs an instance.
    + -HttpMediaDrmCallback​(String defaultLicenseUrl, - HttpDataSource.Factory dataSourceFactory) -  +HttpMediaDrmCallback​(String defaultLicenseUrl, + DataSource.Factory dataSourceFactory) + +
    Constructs an instance.
    + @@ -247,7 +251,7 @@ implements +
      @@ -255,17 +259,19 @@ implements String defaultLicenseUrl, - HttpDataSource.Factory dataSourceFactory) + DataSource.Factory dataSourceFactory) +
      Constructs an instance.
      Parameters:
      defaultLicenseUrl - The default license URL. Used for key requests that do not specify their own license URL. May be null if it's known that all key requests will specify their own URLs.
      -
      dataSourceFactory - A factory from which to obtain HttpDataSource instances.
      +
      dataSourceFactory - A factory from which to obtain DataSource instances. This will + usually be an HTTP-based DataSource.
    - +
      @@ -274,7 +280,8 @@ implements String defaultLicenseUrl, boolean forceDefaultLicenseUrl, - HttpDataSource.Factory dataSourceFactory) + DataSource.Factory dataSourceFactory) +
      Constructs an instance.
      Parameters:
      defaultLicenseUrl - The default license URL. Used for key requests that do not specify @@ -283,7 +290,8 @@ implements HttpDataSource instances.
      +
      dataSourceFactory - A factory from which to obtain DataSource instances. This will + * usually be an HTTP-based DataSource.
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/drm/OfflineLicenseHelper.html b/docs/doc/reference/com/google/android/exoplayer2/drm/OfflineLicenseHelper.html index c50327bb23..e1dee9309f 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/drm/OfflineLicenseHelper.html +++ b/docs/doc/reference/com/google/android/exoplayer2/drm/OfflineLicenseHelper.html @@ -206,9 +206,9 @@ extends static OfflineLicenseHelper -newWidevineInstance​(String defaultLicenseUrl, +newWidevineInstance​(String defaultLicenseUrl, boolean forceDefaultLicenseUrl, - HttpDataSource.Factory httpDataSourceFactory, + DataSource.Factory dataSourceFactory, DrmSessionEventListener.EventDispatcher eventDispatcher)
    Instantiates a new instance which uses Widevine CDM.
    @@ -216,9 +216,9 @@ extends static OfflineLicenseHelper -newWidevineInstance​(String defaultLicenseUrl, +newWidevineInstance​(String defaultLicenseUrl, boolean forceDefaultLicenseUrl, - HttpDataSource.Factory httpDataSourceFactory, + DataSource.Factory dataSourceFactory, Map<String,​String> optionalKeyRequestParameters, DrmSessionEventListener.EventDispatcher eventDispatcher) @@ -227,8 +227,8 @@ extends static OfflineLicenseHelper -newWidevineInstance​(String defaultLicenseUrl, - HttpDataSource.Factory httpDataSourceFactory, +newWidevineInstance​(String defaultLicenseUrl, + DataSource.Factory dataSourceFactory, DrmSessionEventListener.EventDispatcher eventDispatcher)
    Instantiates a new instance which uses Widevine CDM.
    @@ -325,14 +325,14 @@ public OfflineLicenseHelper​( + @@ -1472,52 +1465,18 @@ public @com.google.android.exoplayer2.Player.RepeatMode int getRepeatM
    - + - - - -
      -
    • -

      getCurrentTrackSelections

      -
      public TrackSelectionArray getCurrentTrackSelections()
      -
      Description copied from interface: Player
      -
      Returns the current track selections. - -

      A concrete implementation may include null elements if it has a fixed number of renderer - components, wishes to report a TrackSelection for each of them, and has one or more renderer - components that is not assigned any selected tracks.

      -
      -
      See Also:
      -
      Player.Listener.onTracksChanged(TrackGroupArray, TrackSelectionArray)
      -
      -
    • -
    - - - - @@ -1572,10 +1531,10 @@ public @com.google.android.exoplayer2.Player.RepeatMode int getRepeatM
    Returns the current combined MediaMetadata, or MediaMetadata.EMPTY if not supported. -

    This MediaMetadata is a combination of the MediaItem.mediaMetadata and the - static and dynamic metadata from the track selections' - formats and Player.Listener.onMetadata(Metadata). If a field is populated in the MediaItem.mediaMetadata, it will be prioritised above the same field coming from static or - dynamic metadata.

    +

    This MediaMetadata is a combination of the MediaItem + metadata, the static metadata in the media's Format, and any timed + metadata that has been parsed from the media and output via Player.Listener.onMetadata(Metadata). If a field is populated in the MediaItem.mediaMetadata, + it will be prioritised above the same field coming from static or timed metadata. @@ -1951,8 +1910,8 @@ public @com.google.android.exoplayer2.Player.RepeatMode int getRepeatM

    diff --git a/docs/doc/reference/com/google/android/exoplayer2/ext/cronet/CronetDataSource.html b/docs/doc/reference/com/google/android/exoplayer2/ext/cronet/CronetDataSource.html index 641e6477f7..f76662a213 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/ext/cronet/CronetDataSource.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ext/cronet/CronetDataSource.html @@ -367,7 +367,9 @@ implements void setContentTypePredicate​(Predicate<String> contentTypePredicate) -
    Deprecated.
    + @@ -495,14 +497,9 @@ implements @Deprecated public void setContentTypePredicate​(@Nullable Predicate<String> contentTypePredicate) -
    Deprecated.
    -
    Sets a content type Predicate. If a content type is rejected by the predicate then a - HttpDataSource.InvalidContentTypeException is thrown from open(DataSpec).
    -
    -
    Parameters:
    -
    contentTypePredicate - The content type Predicate, or null to clear a - predicate that was previously set.
    -
    + diff --git a/docs/doc/reference/com/google/android/exoplayer2/ext/ffmpeg/FfmpegAudioRenderer.html b/docs/doc/reference/com/google/android/exoplayer2/ext/ffmpeg/FfmpegAudioRenderer.html index 2bbc3dae9b..00b53fa2bf 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/ext/ffmpeg/FfmpegAudioRenderer.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ext/ffmpeg/FfmpegAudioRenderer.html @@ -294,14 +294,14 @@ extends DecoderAudioRenderer -canReuseDecoder, experimentalSetEnableKeepAudioTrackOnSeek, getMediaClock, getPlaybackParameters, getPositionUs, getSinkFormatSupport, handleMessage, isEnded, isReady, onDisabled, onEnabled, onPositionDiscontinuity, onPositionReset, onQueueInputBuffer, onStarted, onStopped, render, setPlaybackParameters, sinkSupportsFormat, supportsFormat +canReuseDecoder, experimentalSetEnableKeepAudioTrackOnSeek, getMediaClock, getPlaybackParameters, getPositionUs, getSinkFormatSupport, handleMessage, isEnded, isReady, onDisabled, onEnabled, onPositionDiscontinuity, onPositionReset, onQueueInputBuffer, onStarted, onStopped, onStreamChanged, render, setPlaybackParameters, sinkSupportsFormat, supportsFormat
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.Factory.html b/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.Factory.html index b2956b1f65..dae41b7837 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.Factory.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.Factory.html @@ -291,16 +291,12 @@ implements
  • setLoadErrorHandlingPolicy

    -
    public MediaSource.Factory setLoadErrorHandlingPolicy​(@Nullable
    -                                                      LoadErrorHandlingPolicy loadErrorHandlingPolicy)
    +
    public MediaSource.Factory setLoadErrorHandlingPolicy​(LoadErrorHandlingPolicy loadErrorHandlingPolicy)
    Description copied from interface: MediaSource.Factory
    Sets an optional LoadErrorHandlingPolicy.
    Specified by:
    setLoadErrorHandlingPolicy in interface MediaSource.Factory
    -
    Parameters:
    -
    loadErrorHandlingPolicy - A LoadErrorHandlingPolicy, or null to use the - DefaultLoadErrorHandlingPolicy.
    Returns:
    This factory, for convenience.
    @@ -312,13 +308,10 @@ implements
  • setDrmSessionManagerProvider

    -
    public MediaSource.Factory setDrmSessionManagerProvider​(@Nullable
    -                                                        DrmSessionManagerProvider drmSessionManagerProvider)
    +
    public MediaSource.Factory setDrmSessionManagerProvider​(DrmSessionManagerProvider drmSessionManagerProvider)
    Description copied from interface: MediaSource.Factory
    Sets the DrmSessionManagerProvider used to obtain a DrmSessionManager for a - MediaItem. - -

    If not set, DefaultDrmSessionManagerProvider is used.

    + MediaItem.
    Specified by:
    setDrmSessionManagerProvider in interface MediaSource.Factory
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionUriBuilder.html b/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionUriBuilder.html index 3d492e1ff7..63954940fa 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionUriBuilder.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionUriBuilder.html @@ -474,7 +474,7 @@ public @com.google.android.exoplayer2.C.ContentType int format
    Sets the format of the stream request.
    Parameters:
    -
    format - VOD or live stream type.
    +
    format - C.TYPE_DASH or C.TYPE_HLS.
    Returns:
    This instance, for convenience.
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/ext/opus/LibopusAudioRenderer.html b/docs/doc/reference/com/google/android/exoplayer2/ext/opus/LibopusAudioRenderer.html index 0b04e49037..9e0aada784 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/ext/opus/LibopusAudioRenderer.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ext/opus/LibopusAudioRenderer.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10}; +var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -260,20 +260,28 @@ extends +protected boolean +experimentalGetDiscardPaddingEnabled() + +
    Returns true if support for padding removal from the end of decoder output buffer should be + enabled.
    + + + String getName()
    Returns the name of this renderer, for logging and debugging purposes.
    - + protected Format getOutputFormat​(OpusDecoder decoder)
    Returns the format of audio buffers output by the decoder.
    - + protected @com.google.android.exoplayer2.C.FormatSupport int supportsFormatInternal​(Format format) @@ -286,14 +294,14 @@ extends DecoderAudioRenderer -canReuseDecoder, experimentalSetEnableKeepAudioTrackOnSeek, getMediaClock, getPlaybackParameters, getPositionUs, getSinkFormatSupport, handleMessage, isEnded, isReady, onDisabled, onEnabled, onPositionDiscontinuity, onPositionReset, onQueueInputBuffer, onStarted, onStopped, render, setPlaybackParameters, sinkSupportsFormat, supportsFormat
  • +canReuseDecoder, experimentalSetEnableKeepAudioTrackOnSeek, getMediaClock, getPlaybackParameters, getPositionUs, getSinkFormatSupport, handleMessage, isEnded, isReady, onDisabled, onEnabled, onPositionDiscontinuity, onPositionReset, onQueueInputBuffer, onStarted, onStopped, onStreamChanged, render, setPlaybackParameters, sinkSupportsFormat, supportsFormat
    + + + +
      +
    • +

      experimentalGetDiscardPaddingEnabled

      +
      protected boolean experimentalGetDiscardPaddingEnabled()
      +
      Returns true if support for padding removal from the end of decoder output buffer should be + enabled. + +

      This method is experimental, and will be renamed or removed in a future release.

      +
    • +
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/ext/opus/OpusDecoder.html b/docs/doc/reference/com/google/android/exoplayer2/ext/opus/OpusDecoder.html index adee9d31e0..b8850a37c1 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/ext/opus/OpusDecoder.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ext/opus/OpusDecoder.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10}; +var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -248,13 +248,20 @@ extends +void +experimentalSetDiscardPaddingEnabled​(boolean enabled) + +
    Sets whether discard padding is enabled.
    + + + String getName()
    Returns the name of the decoder.
    - + void release() @@ -361,6 +368,19 @@ extends + + +
      +
    • +

      experimentalSetDiscardPaddingEnabled

      +
      public void experimentalSetDiscardPaddingEnabled​(boolean enabled)
      +
      Sets whether discard padding is enabled. When enabled, discard padding samples (provided as + supplemental data on the input buffer) will be removed from the end of the decoder output. + +

      This method is experimental, and will be renamed or removed in a future release.

      +
    • +
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/extractor/DefaultExtractorsFactory.html b/docs/doc/reference/com/google/android/exoplayer2/extractor/DefaultExtractorsFactory.html index 2df9c59e82..ab1558c638 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/extractor/DefaultExtractorsFactory.html +++ b/docs/doc/reference/com/google/android/exoplayer2/extractor/DefaultExtractorsFactory.html @@ -161,6 +161,8 @@ implements JpegExtractor) +
  • MIDI, if available, the MIDI extension's + com.google.android.exoplayer2.decoder.midi.MidiExtractor is used.
  • diff --git a/docs/doc/reference/com/google/android/exoplayer2/extractor/Extractor.html b/docs/doc/reference/com/google/android/exoplayer2/extractor/Extractor.html index 06c40fe59e..e8579fe58b 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/extractor/Extractor.html +++ b/docs/doc/reference/com/google/android/exoplayer2/extractor/Extractor.html @@ -122,7 +122,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
  • All Known Implementing Classes:
    -
    Ac3Extractor, Ac4Extractor, AdtsExtractor, AmrExtractor, FlacExtractor, FlacExtractor, FlvExtractor, FragmentedMp4Extractor, JpegExtractor, MatroskaExtractor, Mp3Extractor, Mp4Extractor, OggExtractor, PsExtractor, RawCcExtractor, SubtitleExtractor, TsExtractor, WavExtractor, WebvttExtractor
    +
    Ac3Extractor, Ac4Extractor, AdtsExtractor, AmrExtractor, AviExtractor, FlacExtractor, FlacExtractor, FlvExtractor, FragmentedMp4Extractor, JpegExtractor, MatroskaExtractor, Mp3Extractor, Mp4Extractor, OggExtractor, PsExtractor, SubtitleExtractor, TsExtractor, WavExtractor, WebvttExtractor

    public interface Extractor
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/extractor/rawcc/RawCcExtractor.html b/docs/doc/reference/com/google/android/exoplayer2/extractor/avi/AviExtractor.html similarity index 70% rename from docs/doc/reference/com/google/android/exoplayer2/extractor/rawcc/RawCcExtractor.html rename to docs/doc/reference/com/google/android/exoplayer2/extractor/avi/AviExtractor.html index 5a902b3a46..5e09d899e6 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/extractor/rawcc/RawCcExtractor.html +++ b/docs/doc/reference/com/google/android/exoplayer2/extractor/avi/AviExtractor.html @@ -2,7 +2,7 @@ -RawCcExtractor (ExoPlayer library) +AviExtractor (ExoPlayer library) @@ -19,7 +19,7 @@ @@ -113,15 +113,15 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    - -

    Class RawCcExtractor

    + +

    Class AviExtractor

    • java.lang.Object
      • -
      • com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
      • +
      • com.google.android.exoplayer2.extractor.avi.AviExtractor
    @@ -133,10 +133,12 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Extractor

  • -
    public final class RawCcExtractor
    +
    public final class AviExtractor
     extends Object
     implements Extractor
    -
    Extracts data from the RawCC container format.
    +
    Extracts data from the AVI container format. + +

    Spec: https://docs.microsoft.com/en-us/windows/win32/directshow/avi-riff-file-reference.

    @@ -167,6 +169,89 @@ implements +Fields  + +Modifier and Type +Field +Description + + +static int +FOURCC_auds +  + + +static int +FOURCC_AVI_ +  + + +static int +FOURCC_avih +  + + +static int +FOURCC_hdrl +  + + +static int +FOURCC_idx1 +  + + +static int +FOURCC_JUNK +  + + +static int +FOURCC_LIST +  + + +static int +FOURCC_movi +  + + +static int +FOURCC_RIFF +  + + +static int +FOURCC_strf +  + + +static int +FOURCC_strh +  + + +static int +FOURCC_strl +  + + +static int +FOURCC_strn +  + + +static int +FOURCC_txts +  + + +static int +FOURCC_vids +  + +
    • @@ -191,7 +276,7 @@ implements Description -RawCcExtractor​(Format format) +AviExtractor()   @@ -222,7 +307,7 @@ implements int read​(ExtractorInput input, - PositionHolder seekPosition) + PositionHolder positionHolder)
      Extracts data read from a provided ExtractorInput.
      @@ -267,6 +352,211 @@ implements
      • + +
        + +
        diff --git a/docs/doc/reference/com/google/android/exoplayer2/extractor/rawcc/package-summary.html b/docs/doc/reference/com/google/android/exoplayer2/extractor/avi/package-summary.html similarity index 93% rename from docs/doc/reference/com/google/android/exoplayer2/extractor/rawcc/package-summary.html rename to docs/doc/reference/com/google/android/exoplayer2/extractor/avi/package-summary.html index 2ab8154212..7d9d14d092 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/extractor/rawcc/package-summary.html +++ b/docs/doc/reference/com/google/android/exoplayer2/extractor/avi/package-summary.html @@ -2,7 +2,7 @@ -com.google.android.exoplayer2.extractor.rawcc (ExoPlayer library) +com.google.android.exoplayer2.extractor.avi (ExoPlayer library) @@ -19,7 +19,7 @@ + + + + + + + + + +
        + +
        + +
        +
        + +

        Class RtpPcmReader

        +
        +
        +
          +
        • java.lang.Object
        • +
        • +
            +
          • com.google.android.exoplayer2.source.rtsp.reader.RtpPcmReader
          • +
          +
        • +
        +
        +
          +
        • +
          +
          All Implemented Interfaces:
          +
          RtpPayloadReader
          +
          +
          +
          public final class RtpPcmReader
          +extends Object
          +implements RtpPayloadReader
          +
          Parses byte stream carried on RTP packets, and extracts PCM frames. Refer to RFC3551 for more + details.
          +
        • +
        +
        +
        + +
        +
        +
          +
        • + +
          + +
          + +
          +
            +
          • + + +

            Method Detail

            + + + +
              +
            • +

              createTracks

              +
              public void createTracks​(ExtractorOutput extractorOutput,
              +                         int trackId)
              +
              Description copied from interface: RtpPayloadReader
              +
              Initializes the reader by providing its output and track id.
              +
              +
              Specified by:
              +
              createTracks in interface RtpPayloadReader
              +
              Parameters:
              +
              extractorOutput - The ExtractorOutput instance that receives the extracted data.
              +
              trackId - The track identifier to set on the format.
              +
              +
            • +
            + + + +
              +
            • +

              onReceivingFirstPacket

              +
              public void onReceivingFirstPacket​(long timestamp,
              +                                   int sequenceNumber)
              +
              Description copied from interface: RtpPayloadReader
              +
              This method should be called on reading the first packet in a stream of incoming packets.
              +
              +
              Specified by:
              +
              onReceivingFirstPacket in interface RtpPayloadReader
              +
              Parameters:
              +
              timestamp - The timestamp associated with the first received RTP packet. This number has + no unit, the duration conveyed by it depends on the frequency of the media that the RTP + packet is carrying.
              +
              sequenceNumber - The sequence associated with the first received RTP packet.
              +
              +
            • +
            + + + +
              +
            • +

              consume

              +
              public void consume​(ParsableByteArray data,
              +                    long timestamp,
              +                    int sequenceNumber,
              +                    boolean rtpMarker)
              +
              Description copied from interface: RtpPayloadReader
              +
              Consumes the payload from the an RTP packet.
              +
              +
              Specified by:
              +
              consume in interface RtpPayloadReader
              +
              Parameters:
              +
              data - The RTP payload to consume.
              +
              timestamp - The timestamp of the RTP packet that transmitted the data. This number has no + unit, the duration conveyed by it depends on the frequency of the media that the RTP packet + is carrying.
              +
              sequenceNumber - The sequence number of the RTP packet.
              +
              rtpMarker - The marker bit of the RTP packet. The interpretation of this bit is specific + to each payload format.
              +
              +
            • +
            + + + +
              +
            • +

              seek

              +
              public void seek​(long nextRtpTimestamp,
              +                 long timeUs)
              +
              Description copied from interface: RtpPayloadReader
              +
              Seeks the reader. + +

              This method must only be invoked after the PLAY request for seeking is acknowledged by the + RTSP server.

              +
              +
              Specified by:
              +
              seek in interface RtpPayloadReader
              +
              Parameters:
              +
              nextRtpTimestamp - The timestamp of the first packet to arrive after seek.
              +
              timeUs - The server acknowledged seek time in microseconds.
              +
              +
            • +
            +
          • +
          +
          +
        • +
        +
        +
        +
        + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/source/rtsp/reader/package-summary.html b/docs/doc/reference/com/google/android/exoplayer2/source/rtsp/reader/package-summary.html index 6c82c9e989..96fd8ac493 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/source/rtsp/reader/package-summary.html +++ b/docs/doc/reference/com/google/android/exoplayer2/source/rtsp/reader/package-summary.html @@ -138,6 +138,12 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
        Parses an AC3 byte stream carried on RTP packets, and extracts AC3 frames.
        + +RtpPcmReader + +
        Parses byte stream carried on RTP packets, and extracts PCM frames.
        + +
      • diff --git a/docs/doc/reference/com/google/android/exoplayer2/source/rtsp/reader/package-tree.html b/docs/doc/reference/com/google/android/exoplayer2/source/rtsp/reader/package-tree.html index 5dc2a71a5c..ea5fc51542 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/source/rtsp/reader/package-tree.html +++ b/docs/doc/reference/com/google/android/exoplayer2/source/rtsp/reader/package-tree.html @@ -105,6 +105,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
      diff --git a/docs/doc/reference/com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html b/docs/doc/reference/com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html index 8f8d05b2e2..f9711f5bc2 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html +++ b/docs/doc/reference/com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html @@ -268,7 +268,7 @@ implements SsMediaSource.Factory setLoadErrorHandlingPolicy​(LoadErrorHandlingPolicy loadErrorHandlingPolicy) - +
      Sets an optional LoadErrorHandlingPolicy.
      @@ -309,7 +309,16 @@ implements

      Factory

      public Factory​(DataSource.Factory dataSourceFactory)
      -
      Creates a new factory for SsMediaSources.
      +
      Creates a new factory for SsMediaSources. + +

      The factory will use the following default components: + +

      Parameters:
      dataSourceFactory - A factory for DataSource instances that will be used to load @@ -326,7 +335,14 @@ implements SsChunkSource.Factory chunkSourceFactory, @Nullable DataSource.Factory manifestDataSourceFactory)
    -
    Creates a new factory for SsMediaSources.
    +
    Creates a new factory for SsMediaSources. The factory will use the following default + components: + +
    Parameters:
    chunkSourceFactory - A factory for SsChunkSource instances.
    @@ -352,14 +368,12 @@ implements
  • setLoadErrorHandlingPolicy

    -
    public SsMediaSource.Factory setLoadErrorHandlingPolicy​(@Nullable
    -                                                        LoadErrorHandlingPolicy loadErrorHandlingPolicy)
    -
    Sets the LoadErrorHandlingPolicy. The default value is created by calling DefaultLoadErrorHandlingPolicy().
    +
    public SsMediaSource.Factory setLoadErrorHandlingPolicy​(LoadErrorHandlingPolicy loadErrorHandlingPolicy)
    +
    Description copied from interface: MediaSource.Factory
    +
    Sets an optional LoadErrorHandlingPolicy.
    Specified by:
    setLoadErrorHandlingPolicy in interface MediaSource.Factory
    -
    Parameters:
    -
    loadErrorHandlingPolicy - A LoadErrorHandlingPolicy.
    Returns:
    This factory, for convenience.
    @@ -406,10 +420,9 @@ implements
  • setCompositeSequenceableLoaderFactory

    -
    public SsMediaSource.Factory setCompositeSequenceableLoaderFactory​(@Nullable
    -                                                                   CompositeSequenceableLoaderFactory compositeSequenceableLoaderFactory)
    +
    public SsMediaSource.Factory setCompositeSequenceableLoaderFactory​(CompositeSequenceableLoaderFactory compositeSequenceableLoaderFactory)
    Sets the factory to create composite SequenceableLoaders for when this media source - loads data from multiple streams (video, audio etc.). The default is an instance of DefaultCompositeSequenceableLoaderFactory.
    + loads data from multiple streams (video, audio etc.).
    Parameters:
    compositeSequenceableLoaderFactory - A factory to create composite SequenceableLoaders for when this media source loads data from multiple streams (video, @@ -425,13 +438,10 @@ implements
  • setDrmSessionManagerProvider

    -
    public SsMediaSource.Factory setDrmSessionManagerProvider​(@Nullable
    -                                                          DrmSessionManagerProvider drmSessionManagerProvider)
    +
    public SsMediaSource.Factory setDrmSessionManagerProvider​(DrmSessionManagerProvider drmSessionManagerProvider)
    Description copied from interface: MediaSource.Factory
    Sets the DrmSessionManagerProvider used to obtain a DrmSessionManager for a - MediaItem. - -

    If not set, DefaultDrmSessionManagerProvider is used.

    + MediaItem.
    Specified by:
    setDrmSessionManagerProvider in interface MediaSource.Factory
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/DataSourceContractTest.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/DataSourceContractTest.html index 904d3015c8..3332d4ab99 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/testutil/DataSourceContractTest.html +++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/DataSourceContractTest.html @@ -140,7 +140,7 @@ extends Most implementations should pass all these tests. If necessary, subclasses can disable tests by overriding the @Test method with a no-op implementation. It's recommended (but - not required) to also annotate this @Ignore so that JUnit correclty reports the + not required) to also annotate this @Ignore so that JUnit correctly reports the test as skipped/ignored instead of passing.
  • diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/ExoHostedTest.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/ExoHostedTest.html index b42b2eadf3..48916cfb74 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/testutil/ExoHostedTest.html +++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/ExoHostedTest.html @@ -363,7 +363,7 @@ implements AnalyticsListener -onAudioAttributesChanged, onAudioCodecError, onAudioDecoderInitialized, onAudioDecoderInitialized, onAudioDecoderReleased, onAudioEnabled, onAudioInputFormatChanged, onAudioInputFormatChanged, onAudioPositionAdvancing, onAudioSessionIdChanged, onAudioSinkError, onAudioUnderrun, onAvailableCommandsChanged, onBandwidthEstimate, onCues, onDecoderDisabled, onDecoderEnabled, onDecoderInitialized, onDecoderInputFormatChanged, onDeviceInfoChanged, onDeviceVolumeChanged, onDownstreamFormatChanged, onDrmKeysLoaded, onDrmKeysRemoved, onDrmKeysRestored, onDrmSessionAcquired, onDrmSessionAcquired, onDrmSessionManagerError, onDrmSessionReleased, onDroppedVideoFrames, onIsLoadingChanged, onIsPlayingChanged, onLoadCanceled, onLoadCompleted, onLoadError, onLoadingChanged, onLoadStarted, onMaxSeekToPreviousPositionChanged, onMediaItemTransition, onMediaMetadataChanged, onMetadata, onPlaybackParametersChanged, onPlaybackStateChanged, onPlaybackSuppressionReasonChanged, onPlayerError, onPlayerErrorChanged, onPlayerReleased, onPlayerStateChanged, onPlaylistMetadataChanged, onPlayWhenReadyChanged, onPositionDiscontinuity, onPositionDiscontinuity, onRenderedFirstFrame, onRepeatModeChanged, onSeekBackIncrementChanged, onSeekForwardIncrementChanged, onSeekProcessed, onSeekStarted, onShuffleModeChanged, onSkipSilenceEnabledChanged, onSurfaceSizeChanged, onTimelineChanged, onTracksChanged, onTrackSelectionParametersChanged, onTracksInfoChanged, onUpstreamDiscarded, onVideoCodecError, onVideoDecoderInitialized, onVideoDecoderInitialized, onVideoDecoderReleased, onVideoEnabled, onVideoFrameProcessingOffset, onVideoInputFormatChanged, onVideoInputFormatChanged, onVideoSizeChanged, onVideoSizeChanged, onVolumeChanged
  • +onAudioAttributesChanged, onAudioCodecError, onAudioDecoderInitialized, onAudioDecoderInitialized, onAudioDecoderReleased, onAudioEnabled, onAudioInputFormatChanged, onAudioInputFormatChanged, onAudioPositionAdvancing, onAudioSessionIdChanged, onAudioSinkError, onAudioUnderrun, onAvailableCommandsChanged, onBandwidthEstimate, onCues, onCues, onDecoderDisabled, onDecoderEnabled, onDecoderInitialized, onDecoderInputFormatChanged, onDeviceInfoChanged, onDeviceVolumeChanged, onDownstreamFormatChanged, onDrmKeysLoaded, onDrmKeysRemoved, onDrmKeysRestored, onDrmSessionAcquired, onDrmSessionAcquired, onDrmSessionManagerError, onDrmSessionReleased, onDroppedVideoFrames, onIsLoadingChanged, onIsPlayingChanged, onLoadCanceled, onLoadCompleted, onLoadError, onLoadingChanged, onLoadStarted, onMaxSeekToPreviousPositionChanged, onMediaItemTransition, onMediaMetadataChanged, onMetadata, onPlaybackParametersChanged, onPlaybackStateChanged, onPlaybackSuppressionReasonChanged, onPlayerError, onPlayerErrorChanged, onPlayerReleased, onPlayerStateChanged, onPlaylistMetadataChanged, onPlayWhenReadyChanged, onPositionDiscontinuity, onPositionDiscontinuity, onRenderedFirstFrame, onRepeatModeChanged, onSeekBackIncrementChanged, onSeekForwardIncrementChanged, onSeekProcessed, onSeekStarted, onShuffleModeChanged, onSkipSilenceEnabledChanged, onSurfaceSizeChanged, onTimelineChanged, onTracksChanged, onTrackSelectionParametersChanged, onUpstreamDiscarded, onVideoCodecError, onVideoDecoderInitialized, onVideoDecoderInitialized, onVideoDecoderReleased, onVideoEnabled, onVideoFrameProcessingOffset, onVideoInputFormatChanged, onVideoInputFormatChanged, onVideoSizeChanged, onVideoSizeChanged, onVolumeChanged diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/ExoPlayerTestRunner.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/ExoPlayerTestRunner.html index 660becee64..1979ae8319 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/testutil/ExoPlayerTestRunner.html +++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/ExoPlayerTestRunner.html @@ -348,7 +348,7 @@ implements Player.Listener -onAudioAttributesChanged, onAudioSessionIdChanged, onAvailableCommandsChanged, onCues, onDeviceInfoChanged, onDeviceVolumeChanged, onEvents, onIsLoadingChanged, onIsPlayingChanged, onLoadingChanged, onMaxSeekToPreviousPositionChanged, onMediaMetadataChanged, onMetadata, onPlaybackParametersChanged, onPlaybackSuppressionReasonChanged, onPlayerErrorChanged, onPlayerStateChanged, onPlaylistMetadataChanged, onPlayWhenReadyChanged, onPositionDiscontinuity, onRenderedFirstFrame, onRepeatModeChanged, onSeekBackIncrementChanged, onSeekForwardIncrementChanged, onSeekProcessed, onShuffleModeEnabledChanged, onSkipSilenceEnabledChanged, onSurfaceSizeChanged, onTracksChanged, onTrackSelectionParametersChanged, onTracksInfoChanged, onVideoSizeChanged, onVolumeChanged +onAudioAttributesChanged, onAudioSessionIdChanged, onAvailableCommandsChanged, onCues, onCues, onDeviceInfoChanged, onDeviceVolumeChanged, onEvents, onIsLoadingChanged, onIsPlayingChanged, onLoadingChanged, onMaxSeekToPreviousPositionChanged, onMediaMetadataChanged, onMetadata, onPlaybackParametersChanged, onPlaybackSuppressionReasonChanged, onPlayerErrorChanged, onPlayerStateChanged, onPlaylistMetadataChanged, onPlayWhenReadyChanged, onPositionDiscontinuity, onRenderedFirstFrame, onRepeatModeChanged, onSeekBackIncrementChanged, onSeekForwardIncrementChanged, onSeekProcessed, onShuffleModeEnabledChanged, onSkipSilenceEnabledChanged, onSurfaceSizeChanged, onTracksChanged, onTrackSelectionParametersChanged, onVideoSizeChanged, onVolumeChanged diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeMediaSourceFactory.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeMediaSourceFactory.html index 154c3a9687..7f3cebeb3b 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeMediaSourceFactory.html +++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeMediaSourceFactory.html @@ -309,13 +309,10 @@ implements
  • setDrmSessionManagerProvider

    -
    public MediaSourceFactory setDrmSessionManagerProvider​(@Nullable
    -                                                       DrmSessionManagerProvider drmSessionManagerProvider)
    +
    public MediaSourceFactory setDrmSessionManagerProvider​(DrmSessionManagerProvider drmSessionManagerProvider)
    Description copied from interface: MediaSource.Factory
    Sets the DrmSessionManagerProvider used to obtain a DrmSessionManager for a - MediaItem. - -

    If not set, DefaultDrmSessionManagerProvider is used.

    + MediaItem.
    Specified by:
    setDrmSessionManagerProvider in interface MediaSource.Factory
    @@ -330,16 +327,12 @@ implements
  • setLoadErrorHandlingPolicy

    -
    public MediaSourceFactory setLoadErrorHandlingPolicy​(@Nullable
    -                                                     LoadErrorHandlingPolicy loadErrorHandlingPolicy)
    +
    public MediaSourceFactory setLoadErrorHandlingPolicy​(LoadErrorHandlingPolicy loadErrorHandlingPolicy)
    Description copied from interface: MediaSource.Factory
    Sets an optional LoadErrorHandlingPolicy.
    Specified by:
    setLoadErrorHandlingPolicy in interface MediaSource.Factory
    -
    Parameters:
    -
    loadErrorHandlingPolicy - A LoadErrorHandlingPolicy, or null to use the - DefaultLoadErrorHandlingPolicy.
    Returns:
    This factory, for convenience.
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeTrackSelector.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeTrackSelector.html index ef8a5add58..b398b1e97d 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeTrackSelector.html +++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeTrackSelector.html @@ -196,7 +196,7 @@ extends DefaultTrackSelector -SELECTION_ELIGIBILITY_ADAPTIVE, SELECTION_ELIGIBILITY_FIXED, SELECTION_ELIGIBILITY_NO
  • +context, SELECTION_ELIGIBILITY_ADAPTIVE, SELECTION_ELIGIBILITY_FIXED, SELECTION_ELIGIBILITY_NO
  • @@ -265,7 +265,7 @@ extends DefaultTrackSelector -buildUponParameters, getFormatLanguageScore, getParameters, isSetParametersSupported, isSupported, normalizeUndeterminedLanguageToNull, selectAudioTrack, selectOtherTrack, selectTextTrack, selectTracks, selectVideoTrack, setParameters, setParameters +buildUponParameters, getFormatLanguageScore, getParameters, isSetParametersSupported, isSupported, normalizeUndeterminedLanguageToNull, release, selectAudioTrack, selectOtherTrack, selectTextTrack, selectTracks, selectVideoTrack, setAudioAttributes, setParameters, setParameters, setParameters

    -
    public class HttpDataSourceTestEnv
    +
    @RequiresApi(19)
    +public class HttpDataSourceTestEnv
     extends org.junit.rules.ExternalResource
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/StubExoPlayer.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/StubExoPlayer.html index e27c3ed5a4..e80dc60d2a 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/testutil/StubExoPlayer.html +++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/StubExoPlayer.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":42,"i14":10,"i15":10,"i16":10,"i17":10,"i18":42,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":42,"i28":10,"i29":10,"i30":42,"i31":10,"i32":10,"i33":10,"i34":42,"i35":42,"i36":10,"i37":10,"i38":42,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":42,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10}; +var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":42,"i14":10,"i15":10,"i16":10,"i17":10,"i18":42,"i19":42,"i20":42,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":42,"i30":10,"i31":10,"i32":42,"i33":10,"i34":10,"i35":10,"i36":42,"i37":42,"i38":10,"i39":10,"i40":42,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":42,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -204,7 +204,7 @@ implements Player -COMMAND_ADJUST_DEVICE_VOLUME, COMMAND_CHANGE_MEDIA_ITEMS, COMMAND_GET_AUDIO_ATTRIBUTES, COMMAND_GET_CURRENT_MEDIA_ITEM, COMMAND_GET_DEVICE_VOLUME, COMMAND_GET_MEDIA_ITEMS_METADATA, COMMAND_GET_TEXT, COMMAND_GET_TIMELINE, COMMAND_GET_TRACK_INFOS, COMMAND_GET_VOLUME, COMMAND_INVALID, COMMAND_PLAY_PAUSE, COMMAND_PREPARE, COMMAND_SEEK_BACK, COMMAND_SEEK_FORWARD, COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM, COMMAND_SEEK_IN_CURRENT_WINDOW, COMMAND_SEEK_TO_DEFAULT_POSITION, COMMAND_SEEK_TO_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT, COMMAND_SEEK_TO_NEXT_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT_WINDOW, COMMAND_SEEK_TO_PREVIOUS, COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM, COMMAND_SEEK_TO_PREVIOUS_WINDOW, COMMAND_SEEK_TO_WINDOW, COMMAND_SET_DEVICE_VOLUME, COMMAND_SET_MEDIA_ITEMS_METADATA, COMMAND_SET_REPEAT_MODE, COMMAND_SET_SHUFFLE_MODE, COMMAND_SET_SPEED_AND_PITCH, COMMAND_SET_TRACK_SELECTION_PARAMETERS, COMMAND_SET_VIDEO_SURFACE, COMMAND_SET_VOLUME, COMMAND_STOP, DISCONTINUITY_REASON_AUTO_TRANSITION, DISCONTINUITY_REASON_INTERNAL, DISCONTINUITY_REASON_REMOVE, DISCONTINUITY_REASON_SEEK, DISCONTINUITY_REASON_SEEK_ADJUSTMENT, DISCONTINUITY_REASON_SKIP, EVENT_AUDIO_ATTRIBUTES_CHANGED, EVENT_AUDIO_SESSION_ID, EVENT_AVAILABLE_COMMANDS_CHANGED, EVENT_CUES, EVENT_DEVICE_INFO_CHANGED, EVENT_DEVICE_VOLUME_CHANGED, EVENT_IS_LOADING_CHANGED, EVENT_IS_PLAYING_CHANGED, EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED, EVENT_MEDIA_ITEM_TRANSITION, EVENT_MEDIA_METADATA_CHANGED, EVENT_METADATA, EVENT_PLAY_WHEN_READY_CHANGED, EVENT_PLAYBACK_PARAMETERS_CHANGED, EVENT_PLAYBACK_STATE_CHANGED, EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED, EVENT_PLAYER_ERROR, EVENT_PLAYLIST_METADATA_CHANGED, EVENT_POSITION_DISCONTINUITY, EVENT_RENDERED_FIRST_FRAME, EVENT_REPEAT_MODE_CHANGED, EVENT_SEEK_BACK_INCREMENT_CHANGED, EVENT_SEEK_FORWARD_INCREMENT_CHANGED, EVENT_SHUFFLE_MODE_ENABLED_CHANGED, EVENT_SKIP_SILENCE_ENABLED_CHANGED, EVENT_SURFACE_SIZE_CHANGED, EVENT_TIMELINE_CHANGED, EVENT_TRACK_SELECTION_PARAMETERS_CHANGED, EVENT_TRACKS_CHANGED, EVENT_VIDEO_SIZE_CHANGED, EVENT_VOLUME_CHANGED, MEDIA_ITEM_TRANSITION_REASON_AUTO, MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED, MEDIA_ITEM_TRANSITION_REASON_REPEAT, MEDIA_ITEM_TRANSITION_REASON_SEEK, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS, PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM, PLAY_WHEN_READY_CHANGE_REASON_REMOTE, PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST, PLAYBACK_SUPPRESSION_REASON_NONE, PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS, REPEAT_MODE_ALL, REPEAT_MODE_OFF, REPEAT_MODE_ONE, STATE_BUFFERING, STATE_ENDED, STATE_IDLE, STATE_READY, TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED, TIMELINE_CHANGE_REASON_SOURCE_UPDATE +COMMAND_ADJUST_DEVICE_VOLUME, COMMAND_CHANGE_MEDIA_ITEMS, COMMAND_GET_AUDIO_ATTRIBUTES, COMMAND_GET_CURRENT_MEDIA_ITEM, COMMAND_GET_DEVICE_VOLUME, COMMAND_GET_MEDIA_ITEMS_METADATA, COMMAND_GET_TEXT, COMMAND_GET_TIMELINE, COMMAND_GET_TRACKS, COMMAND_GET_VOLUME, COMMAND_INVALID, COMMAND_PLAY_PAUSE, COMMAND_PREPARE, COMMAND_SEEK_BACK, COMMAND_SEEK_FORWARD, COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM, COMMAND_SEEK_IN_CURRENT_WINDOW, COMMAND_SEEK_TO_DEFAULT_POSITION, COMMAND_SEEK_TO_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT, COMMAND_SEEK_TO_NEXT_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT_WINDOW, COMMAND_SEEK_TO_PREVIOUS, COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM, COMMAND_SEEK_TO_PREVIOUS_WINDOW, COMMAND_SEEK_TO_WINDOW, COMMAND_SET_DEVICE_VOLUME, COMMAND_SET_MEDIA_ITEM, COMMAND_SET_MEDIA_ITEMS_METADATA, COMMAND_SET_REPEAT_MODE, COMMAND_SET_SHUFFLE_MODE, COMMAND_SET_SPEED_AND_PITCH, COMMAND_SET_TRACK_SELECTION_PARAMETERS, COMMAND_SET_VIDEO_SURFACE, COMMAND_SET_VOLUME, COMMAND_STOP, DISCONTINUITY_REASON_AUTO_TRANSITION, DISCONTINUITY_REASON_INTERNAL, DISCONTINUITY_REASON_REMOVE, DISCONTINUITY_REASON_SEEK, DISCONTINUITY_REASON_SEEK_ADJUSTMENT, DISCONTINUITY_REASON_SKIP, EVENT_AUDIO_ATTRIBUTES_CHANGED, EVENT_AUDIO_SESSION_ID, EVENT_AVAILABLE_COMMANDS_CHANGED, EVENT_CUES, EVENT_DEVICE_INFO_CHANGED, EVENT_DEVICE_VOLUME_CHANGED, EVENT_IS_LOADING_CHANGED, EVENT_IS_PLAYING_CHANGED, EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED, EVENT_MEDIA_ITEM_TRANSITION, EVENT_MEDIA_METADATA_CHANGED, EVENT_METADATA, EVENT_PLAY_WHEN_READY_CHANGED, EVENT_PLAYBACK_PARAMETERS_CHANGED, EVENT_PLAYBACK_STATE_CHANGED, EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED, EVENT_PLAYER_ERROR, EVENT_PLAYLIST_METADATA_CHANGED, EVENT_POSITION_DISCONTINUITY, EVENT_RENDERED_FIRST_FRAME, EVENT_REPEAT_MODE_CHANGED, EVENT_SEEK_BACK_INCREMENT_CHANGED, EVENT_SEEK_FORWARD_INCREMENT_CHANGED, EVENT_SHUFFLE_MODE_ENABLED_CHANGED, EVENT_SKIP_SILENCE_ENABLED_CHANGED, EVENT_SURFACE_SIZE_CHANGED, EVENT_TIMELINE_CHANGED, EVENT_TRACK_SELECTION_PARAMETERS_CHANGED, EVENT_TRACKS_CHANGED, EVENT_VIDEO_SIZE_CHANGED, EVENT_VOLUME_CHANGED, MEDIA_ITEM_TRANSITION_REASON_AUTO, MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED, MEDIA_ITEM_TRANSITION_REASON_REPEAT, MEDIA_ITEM_TRANSITION_REASON_SEEK, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS, PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM, PLAY_WHEN_READY_CHANGE_REASON_REMOTE, PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST, PLAYBACK_SUPPRESSION_REASON_NONE, PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS, REPEAT_MODE_ALL, REPEAT_MODE_OFF, REPEAT_MODE_ONE, STATE_BUFFERING, STATE_ENDED, STATE_IDLE, STATE_READY, TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED, TIMELINE_CHANGE_REASON_SOURCE_UPDATE @@ -341,7 +341,10 @@ implements ExoPlayer.AudioComponent getAudioComponent() -
    Deprecated.
    +
    Deprecated. +
    Use ExoPlayer, as the ExoPlayer.AudioComponent methods are defined by that + interface.
    +
    @@ -373,155 +376,188 @@ implements -ExoPlayer.DeviceComponent -getDeviceComponent() +TrackGroupArray +getCurrentTrackGroups() -
    Deprecated.
    +
    Deprecated. + +
    +TrackSelectionArray +getCurrentTrackSelections() + +
    Deprecated. + +
    + + + +ExoPlayer.DeviceComponent +getDeviceComponent() + +
    Deprecated. +
    Use Player, as the ExoPlayer.DeviceComponent methods are defined by that + interface.
    +
    + + + boolean getPauseAtEndOfMediaItems()
    Returns whether the player pauses playback at the end of each media item.
    - + Looper getPlaybackLooper()
    Returns the Looper associated with the playback thread.
    - + ExoPlaybackException getPlayerError()
    Returns the error that caused playback to fail.
    - + Renderer getRenderer​(int index)
    Returns the renderer at the given index.
    - + int getRendererCount()
    Returns the number of renderers.
    - + int getRendererType​(int index)
    Returns the track type that the renderer at a given index handles.
    - + SeekParameters getSeekParameters()
    Returns the currently active SeekParameters of the player.
    - + boolean getSkipSilenceEnabled()
    Returns whether skipping silences in the audio stream is enabled.
    - + ExoPlayer.TextComponent getTextComponent() -
    Deprecated.
    +
    Deprecated. +
    Use Player, as the ExoPlayer.TextComponent methods are defined by that + interface.
    +
    - + TrackSelector getTrackSelector()
    Returns the track selector that this player uses, or null if track selection is not supported.
    - + int getVideoChangeFrameRateStrategy() - + ExoPlayer.VideoComponent getVideoComponent() -
    Deprecated.
    +
    Deprecated. +
    Use ExoPlayer, as the ExoPlayer.VideoComponent methods are defined by that + interface.
    +
    - + DecoderCounters getVideoDecoderCounters()
    Returns DecoderCounters for video, or null if no video is being played.
    - + Format getVideoFormat()
    Returns the video format currently being played, or null if no video is being played.
    - + int getVideoScalingMode()
    Returns the C.VideoScalingMode.
    - + void prepare​(MediaSource mediaSource) -
    Deprecated.
    +
    Deprecated. + +
    - + void prepare​(MediaSource mediaSource, boolean resetPosition, boolean resetState) -
    Deprecated.
    + - + void removeAnalyticsListener​(AnalyticsListener listener)
    Removes an AnalyticsListener.
    - + void removeAudioOffloadListener​(ExoPlayer.AudioOffloadListener listener)
    Removes a listener of audio offload events.
    - + void retry() -
    Deprecated.
    +
    Deprecated. + +
    - + void setAudioAttributes​(AudioAttributes audioAttributes, boolean handleAudioFocus) @@ -529,28 +565,28 @@ implements Sets the attributes for audio playback, used by the underlying audio track. - + void setAudioSessionId​(int audioSessionId)
    Sets the ID of the audio session to attach to the underlying AudioTrack.
    - + void setAuxEffectInfo​(AuxEffectInfo auxEffectInfo)
    Sets information on an auxiliary audio effect to attach to the underlying audio track.
    - + void setCameraMotionListener​(CameraMotionListener listener)
    Sets a listener of camera motion events.
    - + void setForegroundMode​(boolean foregroundMode) @@ -558,7 +594,7 @@ implements + void setHandleAudioBecomingNoisy​(boolean handleAudioBecomingNoisy) @@ -566,14 +602,16 @@ implements + void setHandleWakeLock​(boolean handleWakeLock) -
    Deprecated.
    +
    Deprecated. +
    Use setWakeMode(int) instead.
    +
    - + void setMediaSource​(MediaSource mediaSource) @@ -581,7 +619,7 @@ implements + void setMediaSource​(MediaSource mediaSource, boolean resetPosition) @@ -589,7 +627,7 @@ implements Clears the playlist and adds the specified MediaSource. - + void setMediaSource​(MediaSource mediaSource, long startPositionMs) @@ -597,7 +635,7 @@ implements Clears the playlist and adds the specified MediaSource. - + void setMediaSources​(List<MediaSource> mediaSources) @@ -605,7 +643,7 @@ implements + void setMediaSources​(List<MediaSource> mediaSources, boolean resetPosition) @@ -613,7 +651,7 @@ implements Clears the playlist and adds the specified MediaSources. - + void setMediaSources​(List<MediaSource> mediaSources, int startMediaItemIndex, @@ -622,42 +660,42 @@ implements Clears the playlist and adds the specified MediaSources. - + void setPauseAtEndOfMediaItems​(boolean pauseAtEndOfMediaItems)
    Sets whether to pause playback at the end of each media item.
    - + void setPriorityTaskManager​(PriorityTaskManager priorityTaskManager)
    Sets a PriorityTaskManager, or null to clear a previously set priority task manager.
    - + void setSeekParameters​(SeekParameters seekParameters)
    Sets the parameters that control how seek operations are performed.
    - + void setShuffleOrder​(ShuffleOrder shuffleOrder)
    Sets the shuffle order.
    - + void setSkipSilenceEnabled​(boolean skipSilenceEnabled)
    Sets whether skipping silences in the audio stream is enabled.
    - + void setVideoChangeFrameRateStrategy​(int videoChangeFrameRateStrategy) @@ -665,21 +703,21 @@ implements Surface. - + void setVideoFrameMetadataListener​(VideoFrameMetadataListener listener)
    Sets a listener to receive video frame metadata events.
    - + void setVideoScalingMode​(int videoScalingMode) - + void setWakeMode​(int wakeMode) @@ -692,7 +730,7 @@ implements StubPlayer -addListener, addMediaItems, clearVideoSurface, clearVideoSurface, clearVideoSurfaceHolder, clearVideoSurfaceView, clearVideoTextureView, decreaseDeviceVolume, getApplicationLooper, getAudioAttributes, getAvailableCommands, getBufferedPosition, getContentBufferedPosition, getContentPosition, getCurrentAdGroupIndex, getCurrentAdIndexInAdGroup, getCurrentCues, getCurrentMediaItemIndex, getCurrentPeriodIndex, getCurrentPosition, getCurrentTimeline, getCurrentTrackGroups, getCurrentTrackSelections, getCurrentTracksInfo, getDeviceInfo, getDeviceVolume, getDuration, getMaxSeekToPreviousPosition, getMediaMetadata, getPlaybackParameters, getPlaybackState, getPlaybackSuppressionReason, getPlaylistMetadata, getPlayWhenReady, getRepeatMode, getSeekBackIncrement, getSeekForwardIncrement, getShuffleModeEnabled, getTotalBufferedDuration, getTrackSelectionParameters, getVideoSize, getVolume, increaseDeviceVolume, isDeviceMuted, isLoading, isPlayingAd, moveMediaItems, prepare, release, removeListener, removeMediaItems, seekTo, setDeviceMuted, setDeviceVolume, setMediaItems, setMediaItems, setPlaybackParameters, setPlaylistMetadata, setPlayWhenReady, setRepeatMode, setShuffleModeEnabled, setTrackSelectionParameters, setVideoSurface, setVideoSurfaceHolder, setVideoSurfaceView, setVideoTextureView, setVolume, stop, stop +addListener, addMediaItems, clearVideoSurface, clearVideoSurface, clearVideoSurfaceHolder, clearVideoSurfaceView, clearVideoTextureView, decreaseDeviceVolume, getApplicationLooper, getAudioAttributes, getAvailableCommands, getBufferedPosition, getContentBufferedPosition, getContentPosition, getCurrentAdGroupIndex, getCurrentAdIndexInAdGroup, getCurrentCues, getCurrentMediaItemIndex, getCurrentPeriodIndex, getCurrentPosition, getCurrentTimeline, getCurrentTracks, getDeviceInfo, getDeviceVolume, getDuration, getMaxSeekToPreviousPosition, getMediaMetadata, getPlaybackParameters, getPlaybackState, getPlaybackSuppressionReason, getPlaylistMetadata, getPlayWhenReady, getRepeatMode, getSeekBackIncrement, getSeekForwardIncrement, getShuffleModeEnabled, getTotalBufferedDuration, getTrackSelectionParameters, getVideoSize, getVolume, increaseDeviceVolume, isDeviceMuted, isLoading, isPlayingAd, moveMediaItems, prepare, release, removeListener, removeMediaItems, seekTo, setDeviceMuted, setDeviceVolume, setMediaItems, setMediaItems, setPlaybackParameters, setPlaylistMetadata, setPlayWhenReady, setRepeatMode, setShuffleModeEnabled, setTrackSelectionParameters, setVideoSurface, setVideoSurfaceHolder, setVideoSurfaceView, setVideoTextureView, setVolume, stop, stop @@ -758,7 +796,10 @@ implements @Deprecated public ExoPlayer.AudioComponent getAudioComponent()
    -
    Deprecated.
    +
    Deprecated. +
    Use ExoPlayer, as the ExoPlayer.AudioComponent methods are defined by that + interface.
    +
    Specified by:
    getAudioComponent in interface ExoPlayer
    @@ -773,7 +814,10 @@ public @Deprecated public ExoPlayer.VideoComponent getVideoComponent() -
    Deprecated.
    +
    Deprecated. +
    Use ExoPlayer, as the ExoPlayer.VideoComponent methods are defined by that + interface.
    +
    Specified by:
    getVideoComponent in interface ExoPlayer
    @@ -788,7 +832,10 @@ public @Deprecated public ExoPlayer.TextComponent getTextComponent() -
    Deprecated.
    +
    Deprecated. +
    Use Player, as the ExoPlayer.TextComponent methods are defined by that + interface.
    +
    Specified by:
    getTextComponent in interface ExoPlayer
    @@ -803,7 +850,10 @@ public @Deprecated public ExoPlayer.DeviceComponent getDeviceComponent() -
    Deprecated.
    +
    Deprecated. +
    Use Player, as the ExoPlayer.DeviceComponent methods are defined by that + interface.
    +
    Specified by:
    getDeviceComponent in interface ExoPlayer
    @@ -959,7 +1009,9 @@ public @Deprecated public void retry() -
    Deprecated.
    +
    Deprecated. + +
    Specified by:
    retry in interface ExoPlayer
    @@ -974,7 +1026,9 @@ public void retry()

    prepare

    @Deprecated
     public void prepare​(MediaSource mediaSource)
    -
    Deprecated.
    +
    Deprecated. + +
    Specified by:
    prepare in interface ExoPlayer
    @@ -991,7 +1045,9 @@ public void prepare​(MediaSource mediaSource, boolean resetPosition, boolean resetState) -
    Deprecated.
    +
    Specified by:
    prepare in interface ExoPlayer
    @@ -1609,6 +1665,49 @@ public  + + + + + + + @@ -1777,7 +1876,9 @@ public @Deprecated public void setHandleWakeLock​(boolean handleWakeLock) -
    Deprecated.
    +
    Deprecated. +
    Use setWakeMode(int) instead.
    +
    Specified by:
    setHandleWakeLock in interface ExoPlayer
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/StubPlayer.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/StubPlayer.html index 66ab17f319..d2c17f215d 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/testutil/StubPlayer.html +++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/StubPlayer.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":42}; +var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":42}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -188,7 +188,7 @@ extends Player -COMMAND_ADJUST_DEVICE_VOLUME, COMMAND_CHANGE_MEDIA_ITEMS, COMMAND_GET_AUDIO_ATTRIBUTES, COMMAND_GET_CURRENT_MEDIA_ITEM, COMMAND_GET_DEVICE_VOLUME, COMMAND_GET_MEDIA_ITEMS_METADATA, COMMAND_GET_TEXT, COMMAND_GET_TIMELINE, COMMAND_GET_TRACK_INFOS, COMMAND_GET_VOLUME, COMMAND_INVALID, COMMAND_PLAY_PAUSE, COMMAND_PREPARE, COMMAND_SEEK_BACK, COMMAND_SEEK_FORWARD, COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM, COMMAND_SEEK_IN_CURRENT_WINDOW, COMMAND_SEEK_TO_DEFAULT_POSITION, COMMAND_SEEK_TO_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT, COMMAND_SEEK_TO_NEXT_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT_WINDOW, COMMAND_SEEK_TO_PREVIOUS, COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM, COMMAND_SEEK_TO_PREVIOUS_WINDOW, COMMAND_SEEK_TO_WINDOW, COMMAND_SET_DEVICE_VOLUME, COMMAND_SET_MEDIA_ITEMS_METADATA, COMMAND_SET_REPEAT_MODE, COMMAND_SET_SHUFFLE_MODE, COMMAND_SET_SPEED_AND_PITCH, COMMAND_SET_TRACK_SELECTION_PARAMETERS, COMMAND_SET_VIDEO_SURFACE, COMMAND_SET_VOLUME, COMMAND_STOP, DISCONTINUITY_REASON_AUTO_TRANSITION, DISCONTINUITY_REASON_INTERNAL, DISCONTINUITY_REASON_REMOVE, DISCONTINUITY_REASON_SEEK, DISCONTINUITY_REASON_SEEK_ADJUSTMENT, DISCONTINUITY_REASON_SKIP, EVENT_AUDIO_ATTRIBUTES_CHANGED, EVENT_AUDIO_SESSION_ID, EVENT_AVAILABLE_COMMANDS_CHANGED, EVENT_CUES, EVENT_DEVICE_INFO_CHANGED, EVENT_DEVICE_VOLUME_CHANGED, EVENT_IS_LOADING_CHANGED, EVENT_IS_PLAYING_CHANGED, EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED, EVENT_MEDIA_ITEM_TRANSITION, EVENT_MEDIA_METADATA_CHANGED, EVENT_METADATA, EVENT_PLAY_WHEN_READY_CHANGED, EVENT_PLAYBACK_PARAMETERS_CHANGED, EVENT_PLAYBACK_STATE_CHANGED, EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED, EVENT_PLAYER_ERROR, EVENT_PLAYLIST_METADATA_CHANGED, EVENT_POSITION_DISCONTINUITY, EVENT_RENDERED_FIRST_FRAME, EVENT_REPEAT_MODE_CHANGED, EVENT_SEEK_BACK_INCREMENT_CHANGED, EVENT_SEEK_FORWARD_INCREMENT_CHANGED, EVENT_SHUFFLE_MODE_ENABLED_CHANGED, EVENT_SKIP_SILENCE_ENABLED_CHANGED, EVENT_SURFACE_SIZE_CHANGED, EVENT_TIMELINE_CHANGED, EVENT_TRACK_SELECTION_PARAMETERS_CHANGED, EVENT_TRACKS_CHANGED, EVENT_VIDEO_SIZE_CHANGED, EVENT_VOLUME_CHANGED, MEDIA_ITEM_TRANSITION_REASON_AUTO, MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED, MEDIA_ITEM_TRANSITION_REASON_REPEAT, MEDIA_ITEM_TRANSITION_REASON_SEEK, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS, PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM, PLAY_WHEN_READY_CHANGE_REASON_REMOTE, PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST, PLAYBACK_SUPPRESSION_REASON_NONE, PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS, REPEAT_MODE_ALL, REPEAT_MODE_OFF, REPEAT_MODE_ONE, STATE_BUFFERING, STATE_ENDED, STATE_IDLE, STATE_READY, TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED, TIMELINE_CHANGE_REASON_SOURCE_UPDATE +COMMAND_ADJUST_DEVICE_VOLUME, COMMAND_CHANGE_MEDIA_ITEMS, COMMAND_GET_AUDIO_ATTRIBUTES, COMMAND_GET_CURRENT_MEDIA_ITEM, COMMAND_GET_DEVICE_VOLUME, COMMAND_GET_MEDIA_ITEMS_METADATA, COMMAND_GET_TEXT, COMMAND_GET_TIMELINE, COMMAND_GET_TRACKS, COMMAND_GET_VOLUME, COMMAND_INVALID, COMMAND_PLAY_PAUSE, COMMAND_PREPARE, COMMAND_SEEK_BACK, COMMAND_SEEK_FORWARD, COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM, COMMAND_SEEK_IN_CURRENT_WINDOW, COMMAND_SEEK_TO_DEFAULT_POSITION, COMMAND_SEEK_TO_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT, COMMAND_SEEK_TO_NEXT_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT_WINDOW, COMMAND_SEEK_TO_PREVIOUS, COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM, COMMAND_SEEK_TO_PREVIOUS_WINDOW, COMMAND_SEEK_TO_WINDOW, COMMAND_SET_DEVICE_VOLUME, COMMAND_SET_MEDIA_ITEM, COMMAND_SET_MEDIA_ITEMS_METADATA, COMMAND_SET_REPEAT_MODE, COMMAND_SET_SHUFFLE_MODE, COMMAND_SET_SPEED_AND_PITCH, COMMAND_SET_TRACK_SELECTION_PARAMETERS, COMMAND_SET_VIDEO_SURFACE, COMMAND_SET_VOLUME, COMMAND_STOP, DISCONTINUITY_REASON_AUTO_TRANSITION, DISCONTINUITY_REASON_INTERNAL, DISCONTINUITY_REASON_REMOVE, DISCONTINUITY_REASON_SEEK, DISCONTINUITY_REASON_SEEK_ADJUSTMENT, DISCONTINUITY_REASON_SKIP, EVENT_AUDIO_ATTRIBUTES_CHANGED, EVENT_AUDIO_SESSION_ID, EVENT_AVAILABLE_COMMANDS_CHANGED, EVENT_CUES, EVENT_DEVICE_INFO_CHANGED, EVENT_DEVICE_VOLUME_CHANGED, EVENT_IS_LOADING_CHANGED, EVENT_IS_PLAYING_CHANGED, EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED, EVENT_MEDIA_ITEM_TRANSITION, EVENT_MEDIA_METADATA_CHANGED, EVENT_METADATA, EVENT_PLAY_WHEN_READY_CHANGED, EVENT_PLAYBACK_PARAMETERS_CHANGED, EVENT_PLAYBACK_STATE_CHANGED, EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED, EVENT_PLAYER_ERROR, EVENT_PLAYLIST_METADATA_CHANGED, EVENT_POSITION_DISCONTINUITY, EVENT_RENDERED_FIRST_FRAME, EVENT_REPEAT_MODE_CHANGED, EVENT_SEEK_BACK_INCREMENT_CHANGED, EVENT_SEEK_FORWARD_INCREMENT_CHANGED, EVENT_SHUFFLE_MODE_ENABLED_CHANGED, EVENT_SKIP_SILENCE_ENABLED_CHANGED, EVENT_SURFACE_SIZE_CHANGED, EVENT_TIMELINE_CHANGED, EVENT_TRACK_SELECTION_PARAMETERS_CHANGED, EVENT_TRACKS_CHANGED, EVENT_VIDEO_SIZE_CHANGED, EVENT_VOLUME_CHANGED, MEDIA_ITEM_TRANSITION_REASON_AUTO, MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED, MEDIA_ITEM_TRANSITION_REASON_REPEAT, MEDIA_ITEM_TRANSITION_REASON_SEEK, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS, PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM, PLAY_WHEN_READY_CHANGE_REASON_REMOTE, PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST, PLAYBACK_SUPPRESSION_REASON_NONE, PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS, REPEAT_MODE_ALL, REPEAT_MODE_OFF, REPEAT_MODE_ONE, STATE_BUFFERING, STATE_ENDED, STATE_IDLE, STATE_READY, TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED, TIMELINE_CHANGE_REASON_SOURCE_UPDATE @@ -349,10 +349,10 @@ extends -List<Cue> +CueGroup getCurrentCues() -
    Returns the current Cues.
    +
    Returns the current CueGroup.
    @@ -386,41 +386,27 @@ extends -TrackGroupArray -getCurrentTrackGroups() +Tracks +getCurrentTracks() -
    Returns the available track groups.
    +
    Returns the current tracks.
    -TrackSelectionArray -getCurrentTrackSelections() - -
    Returns the current track selections.
    - - - -TracksInfo -getCurrentTracksInfo() - -
    Returns the available tracks, as well as the tracks' support, type, and selection status.
    - - - DeviceInfo getDeviceInfo()
    Gets the device information.
    - + int getDeviceVolume()
    Gets the current volume of the device.
    - + long getDuration() @@ -428,14 +414,14 @@ extends + long getMaxSeekToPreviousPosition()
    Returns the maximum position for which Player.seekToPrevious() seeks to the previous MediaItem, in milliseconds.
    - + MediaMetadata getMediaMetadata() @@ -443,21 +429,21 @@ extends + PlaybackParameters getPlaybackParameters()
    Returns the currently active playback parameters.
    - + @com.google.android.exoplayer2.Player.State int getPlaybackState()
    Returns the current playback state of the player.
    - + @com.google.android.exoplayer2.Player.PlaybackSuppressionReason int getPlaybackSuppressionReason() @@ -465,112 +451,112 @@ extends Player.PLAYBACK_SUPPRESSION_REASON_NONE if playback is not suppressed. - + PlaybackException getPlayerError()
    Returns the error that caused playback to fail.
    - + MediaMetadata getPlaylistMetadata()
    Returns the playlist MediaMetadata, as set by Player.setPlaylistMetadata(MediaMetadata), or MediaMetadata.EMPTY if not supported.
    - + boolean getPlayWhenReady()
    Whether playback will proceed when Player.getPlaybackState() == Player.STATE_READY.
    - + int getRepeatMode()
    Returns the current Player.RepeatMode used for playback.
    - + long getSeekBackIncrement()
    Returns the Player.seekBack() increment.
    - + long getSeekForwardIncrement()
    Returns the Player.seekForward() increment.
    - + boolean getShuffleModeEnabled()
    Returns whether shuffling of media items is enabled.
    - + long getTotalBufferedDuration()
    Returns an estimate of the total buffered duration from the current position, in milliseconds.
    - + TrackSelectionParameters getTrackSelectionParameters()
    Returns the parameters constraining the track selection.
    - + VideoSize getVideoSize()
    Gets the size of the video.
    - + float getVolume()
    Returns the audio volume, with 0 being silence and 1 being unity gain (signal unchanged).
    - + void increaseDeviceVolume()
    Increases the volume of the device.
    - + boolean isDeviceMuted()
    Gets whether the device is muted or not.
    - + boolean isLoading()
    Whether the player is currently loading the source.
    - + boolean isPlayingAd()
    Returns whether the player is currently playing an ad.
    - + void moveMediaItems​(int fromIndex, int toIndex, @@ -579,28 +565,28 @@ extends Moves the media item range to the new index. - + void prepare()
    Prepares the player.
    - + void release()
    Releases the player.
    - + void removeListener​(Player.Listener listener)
    Unregister a listener registered through Player.addListener(Listener).
    - + void removeMediaItems​(int fromIndex, int toIndex) @@ -608,7 +594,7 @@ extends Removes a range of media items from the playlist. - + void seekTo​(int mediaItemIndex, long positionMs) @@ -616,21 +602,21 @@ extends Seeks to a position specified in milliseconds in the specified MediaItem. - + void setDeviceMuted​(boolean muted)
    Sets the mute state of the device.
    - + void setDeviceVolume​(int volume)
    Sets the volume of the device.
    - + void setMediaItems​(List<MediaItem> mediaItems, boolean resetPosition) @@ -638,7 +624,7 @@ extends Clears the playlist and adds the specified MediaItems. - + void setMediaItems​(List<MediaItem> mediaItems, int startIndex, @@ -647,56 +633,56 @@ extends Clears the playlist and adds the specified MediaItems. - + void setPlaybackParameters​(PlaybackParameters playbackParameters)
    Attempts to set the playback parameters.
    - + void setPlaylistMetadata​(MediaMetadata mediaMetadata)
    Sets the playlist MediaMetadata.
    - + void setPlayWhenReady​(boolean playWhenReady)
    Sets whether playback should proceed when Player.getPlaybackState() == Player.STATE_READY.
    - + void setRepeatMode​(@com.google.android.exoplayer2.Player.RepeatMode int repeatMode)
    Sets the Player.RepeatMode to be used for playback.
    - + void setShuffleModeEnabled​(boolean shuffleModeEnabled)
    Sets whether shuffling of media items is enabled.
    - + void setTrackSelectionParameters​(TrackSelectionParameters parameters)
    Sets the parameters constraining the track selection.
    - + void setVideoSurface​(Surface surface)
    Sets the Surface onto which video will be rendered.
    - + void setVideoSurfaceHolder​(SurfaceHolder surfaceHolder) @@ -704,21 +690,21 @@ extends + void setVideoSurfaceView​(SurfaceView surfaceView)
    Sets the SurfaceView onto which video will be rendered.
    - + void setVideoTextureView​(TextureView textureView)
    Sets the TextureView onto which video will be rendered.
    - + void setVolume​(float volume) @@ -726,18 +712,21 @@ extends + void stop()
    Stops playback without resetting the playlist.
    - + void stop​(boolean reset) -
    Deprecated.
    +
    Deprecated. +
    Use stop() and BasePlayer.clearMediaItems() (if reset is true) or + just stop() (if reset is false).
    +
    @@ -1277,7 +1266,11 @@ public @com.google.android.exoplayer2.Player.PlaybackSuppressionReason int&

    stop

    @Deprecated
     public void stop​(boolean reset)
    -
    Deprecated.
    +
    Deprecated. +
    Use stop() and BasePlayer.clearMediaItems() (if reset is true) or + just stop() (if reset is false). Any player error will be cleared when + re-preparing the player.
    +
    @@ -1292,52 +1285,18 @@ public void stop​(boolean reset) player must not be used after calling this method. - + - - - -
      -
    • -

      getCurrentTrackSelections

      -
      public TrackSelectionArray getCurrentTrackSelections()
      -
      Description copied from interface: Player
      -
      Returns the current track selections. - -

      A concrete implementation may include null elements if it has a fixed number of renderer - components, wishes to report a TrackSelection for each of them, and has one or more renderer - components that is not assigned any selected tracks.

      -
      -
      See Also:
      -
      Player.Listener.onTracksChanged(TrackGroupArray, TrackSelectionArray)
      -
      -
    • -
    - - - - @@ -1392,10 +1351,10 @@ public void stop​(boolean reset)
    Returns the current combined MediaMetadata, or MediaMetadata.EMPTY if not supported. -

    This MediaMetadata is a combination of the MediaItem.mediaMetadata and the - static and dynamic metadata from the track selections' - formats and Player.Listener.onMetadata(Metadata). If a field is populated in the MediaItem.mediaMetadata, it will be prioritised above the same field coming from static or - dynamic metadata.

    +

    This MediaMetadata is a combination of the MediaItem + metadata, the static metadata in the media's Format, and any timed + metadata that has been parsed from the media and output via Player.Listener.onMetadata(Metadata). If a field is populated in the MediaItem.mediaMetadata, + it will be prioritised above the same field coming from static or timed metadata. @@ -1795,9 +1754,9 @@ public void stop​(boolean reset)

    diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/TestUtil.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/TestUtil.html index 015d9b6c61..143c570d21 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/testutil/TestUtil.html +++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/TestUtil.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9}; +var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -332,6 +332,13 @@ extends +static List<Method> +getPublicMethods​(Class<?> clazz) + +
    Returns all the public methods of a Java class (except those defined by Object).
    + + + static String getString​(Context context, String fileName) @@ -339,7 +346,7 @@ extends Returns a String read from an asset file. - + static int seekToTimeUs​(Extractor extractor, SeekMap seekMap, @@ -791,13 +798,23 @@ extends -
      + + + + +
        +
      • +

        getPublicMethods

        +
        public static List<Method> getPublicMethods​(Class<?> clazz)
        +
        Returns all the public methods of a Java class (except those defined by Object).
        +
      • +
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/text/CueGroup.html b/docs/doc/reference/com/google/android/exoplayer2/text/CueGroup.html new file mode 100644 index 0000000000..b532d0e243 --- /dev/null +++ b/docs/doc/reference/com/google/android/exoplayer2/text/CueGroup.html @@ -0,0 +1,417 @@ + + + + +CueGroup (ExoPlayer library) + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Class CueGroup

    +
    +
    + +
    +
      +
    • +
      +
      All Implemented Interfaces:
      +
      Bundleable
      +
      +
      +
      public final class CueGroup
      +extends Object
      +implements Bundleable
      +
      Class to represent the state of active Cues at a particular time.
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Field Detail

        + + + + + + + +
          +
        • +

          cues

          +
          public final ImmutableList<Cue> cues
          +
          The cues in this group. + +

          This list is in ascending order of priority. If any of the cue boxes overlap when displayed, + the Cue nearer the end of the list should be shown on top. + +

          This list may be empty if the group represents a state with no cues.

          +
        • +
        + + + + +
      • +
      +
      + +
      +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          CueGroup

          +
          public CueGroup​(List<Cue> cues)
          +
          Creates a CueGroup.
          +
        • +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          toBundle

          +
          public Bundle toBundle()
          +
          Description copied from interface: Bundleable
          +
          Returns a Bundle representing the information stored in this object.
          +
          +
          Specified by:
          +
          toBundle in interface Bundleable
          +
          +
        • +
        +
      • +
      +
      +
    • +
    +
    +
    +
    + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/text/SubtitleInputBuffer.html b/docs/doc/reference/com/google/android/exoplayer2/text/SubtitleInputBuffer.html index bcb3a50051..bf0c04dad8 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/text/SubtitleInputBuffer.html +++ b/docs/doc/reference/com/google/android/exoplayer2/text/SubtitleInputBuffer.html @@ -231,7 +231,7 @@ extends Buffer -addFlag, clearFlag, getFlag, hasSupplementalData, isDecodeOnly, isEndOfStream, isKeyFrame, setFlags +addFlag, clearFlag, getFlag, hasSupplementalData, isDecodeOnly, isEndOfStream, isFirstSample, isKeyFrame, setFlags @@ -331,10 +340,10 @@ implements Description -DefaultTrackSelector.ParametersBuilder +DefaultTrackSelector.Parameters.Builder buildUpon() -
    Creates a new DefaultTrackSelector.ParametersBuilder, copying the initial values from this instance.
    +
    Creates a new DefaultTrackSelector.Parameters.Builder, copying the initial values from this instance.
    @@ -362,7 +371,7 @@ implements TrackGroupArray groups)
    Deprecated. - +
    @@ -377,7 +386,7 @@ implements TrackGroupArray groups)
    Deprecated. - +
    @@ -390,6 +399,13 @@ implements +
  • + + +

    Methods inherited from class com.google.android.exoplayer2.trackselection.TrackSelectionParameters

    +fromBundle, keyForField
  • + + @@ -445,17 +462,6 @@ public static final  - - -
      -
    • -

      disabledTextTrackSelectionFlags

      -
      @SelectionFlags
      -public final @com.google.android.exoplayer2.C.SelectionFlags int disabledTextTrackSelectionFlags
      -
      Bitmask of selection flags that are disabled for text track selections. See C.SelectionFlags. The default value is 0 (i.e. no flags).
      -
    • -
    @@ -555,6 +561,17 @@ public final @com.google.android.exoplayer2.C.SelectionFlags int disabledTe
    Whether to allow adaptive audio selections with mixed levels of RendererCapabilities.DecoderSupport and RendererCapabilities.HardwareAccelerationSupport.
    + + + +
      +
    • +

      constrainAudioChannelCountToDeviceCapabilities

      +
      public final boolean constrainAudioChannelCountToDeviceCapabilities
      +
      Whether to constrain audio track selection so that the selected track's channel count does + not exceed the device's output capabilities. The default value is true.
      +
    • +
    @@ -632,7 +649,7 @@ public final @com.google.android.exoplayer2.C.SelectionFlags int disabledTe @@ -172,6 +174,7 @@ extends ParametersBuilder​(Context context) +
    Deprecated.
    Creates a builder with default initial values.
    @@ -194,379 +197,475 @@ extends Description -DefaultTrackSelector.Parameters -build() +DefaultTrackSelector.ParametersBuilder +addOverride​(TrackSelectionOverride override) -
    Builds a DefaultTrackSelector.Parameters instance with the selected values.
    +
    Deprecated.
    +
    Adds an override, replacing any override for the same TrackGroup.
    +DefaultTrackSelector.Parameters +build() + +
    Deprecated.
    +
    Builds a DefaultTrackSelector.Parameters instance with the selected values.
    + + + +DefaultTrackSelector.ParametersBuilder +clearOverride​(TrackGroup trackGroup) + +
    Deprecated.
    +
    Removes the override for the provided media TrackGroup, if there is one.
    + + + +DefaultTrackSelector.ParametersBuilder +clearOverrides() + +
    Deprecated.
    +
    Removes all overrides.
    + + + +DefaultTrackSelector.ParametersBuilder +clearOverridesOfType​(@com.google.android.exoplayer2.C.TrackType int trackType) + +
    Deprecated.
    +
    Removes all overrides of the provided track type.
    + + + DefaultTrackSelector.ParametersBuilder clearSelectionOverride​(int rendererIndex, TrackGroupArray groups) - + DefaultTrackSelector.ParametersBuilder clearSelectionOverrides() - -DefaultTrackSelector.ParametersBuilder -clearSelectionOverrides​(int rendererIndex) - - - - - -DefaultTrackSelector.ParametersBuilder -clearVideoSizeConstraints() - - - - - -DefaultTrackSelector.ParametersBuilder -clearViewportSizeConstraints() - - - - - -protected DefaultTrackSelector.ParametersBuilder -set​(TrackSelectionParameters parameters) - -
    Overrides the value of the builder with the value of TrackSelectionParameters.
    - - DefaultTrackSelector.ParametersBuilder -setAllowAudioMixedChannelCountAdaptiveness​(boolean allowAudioMixedChannelCountAdaptiveness) +clearSelectionOverrides​(int rendererIndex) -
    Sets whether to allow adaptive audio selections containing mixed channel counts.
    + DefaultTrackSelector.ParametersBuilder -setAllowAudioMixedDecoderSupportAdaptiveness​(boolean allowAudioMixedDecoderSupportAdaptiveness) +clearVideoSizeConstraints() -
    Sets whether to allow adaptive audio selections with mixed levels of RendererCapabilities.DecoderSupport and RendererCapabilities.HardwareAccelerationSupport.
    +
    Deprecated.
    + DefaultTrackSelector.ParametersBuilder -setAllowAudioMixedMimeTypeAdaptiveness​(boolean allowAudioMixedMimeTypeAdaptiveness) +clearViewportSizeConstraints() -
    Sets whether to allow adaptive audio selections containing mixed MIME types.
    +
    Deprecated.
    + -DefaultTrackSelector.ParametersBuilder -setAllowAudioMixedSampleRateAdaptiveness​(boolean allowAudioMixedSampleRateAdaptiveness) +protected DefaultTrackSelector.ParametersBuilder +set​(TrackSelectionParameters parameters) -
    Sets whether to allow adaptive audio selections containing mixed sample rates.
    +
    Deprecated.
    +
    Overrides the value of the builder with the value of TrackSelectionParameters.
    DefaultTrackSelector.ParametersBuilder -setAllowMultipleAdaptiveSelections​(boolean allowMultipleAdaptiveSelections) +setAllowAudioMixedChannelCountAdaptiveness​(boolean allowAudioMixedChannelCountAdaptiveness) -
    Sets whether multiple adaptive selections with more than one track are allowed.
    +
    Deprecated.
    +
    Sets whether to allow adaptive audio selections containing mixed channel counts.
    DefaultTrackSelector.ParametersBuilder -setAllowVideoMixedDecoderSupportAdaptiveness​(boolean allowVideoMixedDecoderSupportAdaptiveness) +setAllowAudioMixedDecoderSupportAdaptiveness​(boolean allowAudioMixedDecoderSupportAdaptiveness) -
    Sets whether to allow adaptive video selections with mixed levels of RendererCapabilities.DecoderSupport and RendererCapabilities.HardwareAccelerationSupport.
    +
    Deprecated.
    +
    Sets whether to allow adaptive audio selections with mixed levels of RendererCapabilities.DecoderSupport and RendererCapabilities.HardwareAccelerationSupport.
    DefaultTrackSelector.ParametersBuilder -setAllowVideoMixedMimeTypeAdaptiveness​(boolean allowVideoMixedMimeTypeAdaptiveness) +setAllowAudioMixedMimeTypeAdaptiveness​(boolean allowAudioMixedMimeTypeAdaptiveness) -
    Sets whether to allow adaptive video selections containing mixed MIME types.
    +
    Deprecated.
    +
    Sets whether to allow adaptive audio selections containing mixed MIME types.
    DefaultTrackSelector.ParametersBuilder -setAllowVideoNonSeamlessAdaptiveness​(boolean allowVideoNonSeamlessAdaptiveness) +setAllowAudioMixedSampleRateAdaptiveness​(boolean allowAudioMixedSampleRateAdaptiveness) -
    Sets whether to allow adaptive video selections where adaptation may not be completely - seamless.
    +
    Deprecated.
    +
    Sets whether to allow adaptive audio selections containing mixed sample rates.
    DefaultTrackSelector.ParametersBuilder -setDisabledTextTrackSelectionFlags​(@com.google.android.exoplayer2.C.SelectionFlags int disabledTextTrackSelectionFlags) +setAllowMultipleAdaptiveSelections​(boolean allowMultipleAdaptiveSelections) -
    Sets a bitmask of selection flags that are disabled for text track selections.
    +
    Deprecated.
    +
    Sets whether multiple adaptive selections with more than one track are allowed.
    DefaultTrackSelector.ParametersBuilder -setDisabledTrackTypes​(Set<@TrackType Integer> disabledTrackTypes) +setAllowVideoMixedDecoderSupportAdaptiveness​(boolean allowVideoMixedDecoderSupportAdaptiveness) -
    Sets the disabled track types, preventing all tracks of those types from being selected for - playback.
    +
    Deprecated.
    +
    Sets whether to allow adaptive video selections with mixed levels of RendererCapabilities.DecoderSupport and RendererCapabilities.HardwareAccelerationSupport.
    DefaultTrackSelector.ParametersBuilder -setExceedAudioConstraintsIfNecessary​(boolean exceedAudioConstraintsIfNecessary) +setAllowVideoMixedMimeTypeAdaptiveness​(boolean allowVideoMixedMimeTypeAdaptiveness) -
    Sets whether to exceed the setMaxAudioChannelCount(int) and setMaxAudioBitrate(int) constraints when no selection can be made otherwise.
    +
    Deprecated.
    +
    Sets whether to allow adaptive video selections containing mixed MIME types.
    DefaultTrackSelector.ParametersBuilder -setExceedRendererCapabilitiesIfNecessary​(boolean exceedRendererCapabilitiesIfNecessary) +setAllowVideoNonSeamlessAdaptiveness​(boolean allowVideoNonSeamlessAdaptiveness) -
    Sets whether to exceed renderer capabilities when no selection can be made otherwise.
    +
    Deprecated.
    +
    Sets whether to allow adaptive video selections where adaptation may not be completely + seamless.
    DefaultTrackSelector.ParametersBuilder -setExceedVideoConstraintsIfNecessary​(boolean exceedVideoConstraintsIfNecessary) +setDisabledTextTrackSelectionFlags​(@com.google.android.exoplayer2.C.SelectionFlags int disabledTextTrackSelectionFlags) -
    Sets whether to exceed the setMaxVideoBitrate(int), setMaxVideoSize(int, int) - and setMaxVideoFrameRate(int) constraints when no selection can be made otherwise.
    + DefaultTrackSelector.ParametersBuilder -setForceHighestSupportedBitrate​(boolean forceHighestSupportedBitrate) +setDisabledTrackTypes​(Set<@TrackType Integer> disabledTrackTypes) -
    Sets whether to force selection of the highest bitrate audio and video tracks that comply - with all other constraints.
    + DefaultTrackSelector.ParametersBuilder -setForceLowestBitrate​(boolean forceLowestBitrate) +setExceedAudioConstraintsIfNecessary​(boolean exceedAudioConstraintsIfNecessary) -
    Sets whether to force selection of the single lowest bitrate audio and video tracks that - comply with all other constraints.
    +
    Deprecated.
    +
    Sets whether to exceed the setMaxAudioChannelCount(int) and setMaxAudioBitrate(int) constraints when no selection can be made otherwise.
    DefaultTrackSelector.ParametersBuilder -setMaxAudioBitrate​(int maxAudioBitrate) +setExceedRendererCapabilitiesIfNecessary​(boolean exceedRendererCapabilitiesIfNecessary) -
    Sets the maximum allowed audio bitrate.
    +
    Deprecated.
    +
    Sets whether to exceed renderer capabilities when no selection can be made otherwise.
    DefaultTrackSelector.ParametersBuilder -setMaxAudioChannelCount​(int maxAudioChannelCount) +setExceedVideoConstraintsIfNecessary​(boolean exceedVideoConstraintsIfNecessary) -
    Sets the maximum allowed audio channel count.
    +
    Deprecated.
    +
    Sets whether to exceed the setMaxVideoBitrate(int), setMaxVideoSize(int, int) + and setMaxVideoFrameRate(int) constraints when no selection can be made otherwise.
    DefaultTrackSelector.ParametersBuilder -setMaxVideoBitrate​(int maxVideoBitrate) +setForceHighestSupportedBitrate​(boolean forceHighestSupportedBitrate) -
    Sets the maximum allowed video bitrate.
    +
    Deprecated.
    +
    Sets whether to force selection of the highest bitrate audio and video tracks that comply + with all other constraints.
    DefaultTrackSelector.ParametersBuilder -setMaxVideoFrameRate​(int maxVideoFrameRate) +setForceLowestBitrate​(boolean forceLowestBitrate) -
    Sets the maximum allowed video frame rate.
    +
    Deprecated.
    +
    Sets whether to force selection of the single lowest bitrate audio and video tracks that + comply with all other constraints.
    DefaultTrackSelector.ParametersBuilder -setMaxVideoSize​(int maxVideoWidth, - int maxVideoHeight) +setIgnoredTextSelectionFlags​(@com.google.android.exoplayer2.C.SelectionFlags int ignoredTextSelectionFlags) -
    Sets the maximum allowed video width and height.
    +
    Deprecated.
    +
    Sets a bitmask of selection flags that are ignored for text track selections.
    DefaultTrackSelector.ParametersBuilder -setMaxVideoSizeSd() +setMaxAudioBitrate​(int maxAudioBitrate) - +
    Deprecated.
    +
    Sets the maximum allowed audio bitrate.
    DefaultTrackSelector.ParametersBuilder -setMinVideoBitrate​(int minVideoBitrate) +setMaxAudioChannelCount​(int maxAudioChannelCount) -
    Sets the minimum allowed video bitrate.
    +
    Deprecated.
    +
    Sets the maximum allowed audio channel count.
    DefaultTrackSelector.ParametersBuilder -setMinVideoFrameRate​(int minVideoFrameRate) +setMaxVideoBitrate​(int maxVideoBitrate) -
    Sets the minimum allowed video frame rate.
    +
    Deprecated.
    +
    Sets the maximum allowed video bitrate.
    DefaultTrackSelector.ParametersBuilder -setMinVideoSize​(int minVideoWidth, - int minVideoHeight) +setMaxVideoFrameRate​(int maxVideoFrameRate) -
    Sets the minimum allowed video width and height.
    +
    Deprecated.
    +
    Sets the maximum allowed video frame rate.
    DefaultTrackSelector.ParametersBuilder -setPreferredAudioLanguage​(String preferredAudioLanguage) +setMaxVideoSize​(int maxVideoWidth, + int maxVideoHeight) -
    Sets the preferred language for audio and forced text tracks.
    +
    Deprecated.
    +
    Sets the maximum allowed video width and height.
    DefaultTrackSelector.ParametersBuilder -setPreferredAudioLanguages​(String... preferredAudioLanguages) +setMaxVideoSizeSd() -
    Sets the preferred languages for audio and forced text tracks.
    +
    Deprecated.
    + DefaultTrackSelector.ParametersBuilder -setPreferredAudioMimeType​(String mimeType) +setMinVideoBitrate​(int minVideoBitrate) -
    Sets the preferred sample MIME type for audio tracks.
    +
    Deprecated.
    +
    Sets the minimum allowed video bitrate.
    DefaultTrackSelector.ParametersBuilder -setPreferredAudioMimeTypes​(String... mimeTypes) +setMinVideoFrameRate​(int minVideoFrameRate) -
    Sets the preferred sample MIME types for audio tracks.
    +
    Deprecated.
    +
    Sets the minimum allowed video frame rate.
    DefaultTrackSelector.ParametersBuilder -setPreferredAudioRoleFlags​(@com.google.android.exoplayer2.C.RoleFlags int preferredAudioRoleFlags) +setMinVideoSize​(int minVideoWidth, + int minVideoHeight) -
    Sets the preferred C.RoleFlags for audio tracks.
    +
    Deprecated.
    +
    Sets the minimum allowed video width and height.
    DefaultTrackSelector.ParametersBuilder -setPreferredTextLanguage​(String preferredTextLanguage) +setOverrideForType​(TrackSelectionOverride override) -
    Sets the preferred language for text tracks.
    +
    Deprecated.
    +
    Sets an override, replacing all existing overrides with the same track type.
    DefaultTrackSelector.ParametersBuilder -setPreferredTextLanguageAndRoleFlagsToCaptioningManagerSettings​(Context context) +setPreferredAudioLanguage​(String preferredAudioLanguage) -
    Sets the preferred language and role flags for text tracks based on the accessibility - settings of CaptioningManager.
    +
    Deprecated.
    +
    Sets the preferred language for audio and forced text tracks.
    DefaultTrackSelector.ParametersBuilder -setPreferredTextLanguages​(String... preferredTextLanguages) +setPreferredAudioLanguages​(String... preferredAudioLanguages) -
    Sets the preferred languages for text tracks.
    +
    Deprecated.
    +
    Sets the preferred languages for audio and forced text tracks.
    DefaultTrackSelector.ParametersBuilder -setPreferredTextRoleFlags​(@com.google.android.exoplayer2.C.RoleFlags int preferredTextRoleFlags) +setPreferredAudioMimeType​(String mimeType) -
    Sets the preferred C.RoleFlags for text tracks.
    +
    Deprecated.
    +
    Sets the preferred sample MIME type for audio tracks.
    DefaultTrackSelector.ParametersBuilder -setPreferredVideoMimeType​(String mimeType) +setPreferredAudioMimeTypes​(String... mimeTypes) -
    Sets the preferred sample MIME type for video tracks.
    +
    Deprecated.
    +
    Sets the preferred sample MIME types for audio tracks.
    DefaultTrackSelector.ParametersBuilder -setPreferredVideoMimeTypes​(String... mimeTypes) +setPreferredAudioRoleFlags​(@com.google.android.exoplayer2.C.RoleFlags int preferredAudioRoleFlags) -
    Sets the preferred sample MIME types for video tracks.
    +
    Deprecated.
    +
    Sets the preferred C.RoleFlags for audio tracks.
    DefaultTrackSelector.ParametersBuilder -setPreferredVideoRoleFlags​(@com.google.android.exoplayer2.C.RoleFlags int preferredVideoRoleFlags) +setPreferredTextLanguage​(String preferredTextLanguage) -
    Sets the preferred C.RoleFlags for video tracks.
    +
    Deprecated.
    +
    Sets the preferred language for text tracks.
    DefaultTrackSelector.ParametersBuilder -setRendererDisabled​(int rendererIndex, - boolean disabled) +setPreferredTextLanguageAndRoleFlagsToCaptioningManagerSettings​(Context context) -
    Sets whether the renderer at the specified index is disabled.
    +
    Deprecated.
    +
    Sets the preferred language and role flags for text tracks based on the accessibility + settings of CaptioningManager.
    DefaultTrackSelector.ParametersBuilder +setPreferredTextLanguages​(String... preferredTextLanguages) + +
    Deprecated.
    +
    Sets the preferred languages for text tracks.
    + + + +DefaultTrackSelector.ParametersBuilder +setPreferredTextRoleFlags​(@com.google.android.exoplayer2.C.RoleFlags int preferredTextRoleFlags) + +
    Deprecated.
    +
    Sets the preferred C.RoleFlags for text tracks.
    + + + +DefaultTrackSelector.ParametersBuilder +setPreferredVideoMimeType​(String mimeType) + +
    Deprecated.
    +
    Sets the preferred sample MIME type for video tracks.
    + + + +DefaultTrackSelector.ParametersBuilder +setPreferredVideoMimeTypes​(String... mimeTypes) + +
    Deprecated.
    +
    Sets the preferred sample MIME types for video tracks.
    + + + +DefaultTrackSelector.ParametersBuilder +setPreferredVideoRoleFlags​(@com.google.android.exoplayer2.C.RoleFlags int preferredVideoRoleFlags) + +
    Deprecated.
    +
    Sets the preferred C.RoleFlags for video tracks.
    + + + +DefaultTrackSelector.ParametersBuilder +setRendererDisabled​(int rendererIndex, + boolean disabled) + +
    Deprecated.
    +
    Sets whether the renderer at the specified index is disabled.
    + + + +DefaultTrackSelector.ParametersBuilder setSelectionOverride​(int rendererIndex, TrackGroupArray groups, DefaultTrackSelector.SelectionOverride override) - + DefaultTrackSelector.ParametersBuilder setSelectUndeterminedTextLanguage​(boolean selectUndeterminedTextLanguage) +
    Deprecated.
    Sets whether a text track with undetermined language should be selected if no track with a preferred language is available, or if the preferred language is unset.
    - + DefaultTrackSelector.ParametersBuilder -setTrackSelectionOverrides​(TrackSelectionOverrides trackSelectionOverrides) +setTrackTypeDisabled​(@com.google.android.exoplayer2.C.TrackType int trackType, + boolean disabled) -
    Sets the selection overrides.
    +
    Deprecated.
    +
    Sets whether a track type is disabled.
    - + DefaultTrackSelector.ParametersBuilder setTunnelingEnabled​(boolean tunnelingEnabled) +
    Deprecated.
    Sets whether to enable tunneling if possible.
    - + DefaultTrackSelector.ParametersBuilder setViewportSize​(int viewportWidth, int viewportHeight, boolean viewportOrientationMayChange) +
    Deprecated.
    Sets the viewport size to constrain adaptive video selections so that only tracks suitable for the viewport are selected.
    - + DefaultTrackSelector.ParametersBuilder setViewportSizeToPhysicalDisplaySize​(Context context, boolean viewportOrientationMayChange) +
    Deprecated.
    @@ -615,6 +714,7 @@ public ParametersBuilder()
  • ParametersBuilder

    public ParametersBuilder​(Context context)
    +
    Deprecated.
    Creates a builder with default initial values.
    Parameters:
    @@ -639,6 +739,7 @@ public ParametersBuilder()
  • set

    protected DefaultTrackSelector.ParametersBuilder set​(TrackSelectionParameters parameters)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Overrides the value of the builder with the value of TrackSelectionParameters.
    @@ -654,6 +755,7 @@ public ParametersBuilder()
  • setMaxVideoSizeSd

    public DefaultTrackSelector.ParametersBuilder setMaxVideoSizeSd()
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    @@ -671,6 +773,7 @@ public ParametersBuilder()
  • clearVideoSizeConstraints

    public DefaultTrackSelector.ParametersBuilder clearVideoSizeConstraints()
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    @@ -689,6 +792,7 @@ public ParametersBuilder()

    setMaxVideoSize

    public DefaultTrackSelector.ParametersBuilder setMaxVideoSize​(int maxVideoWidth,
                                                                   int maxVideoHeight)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the maximum allowed video width and height.
    @@ -709,6 +813,7 @@ public ParametersBuilder()
  • setMaxVideoFrameRate

    public DefaultTrackSelector.ParametersBuilder setMaxVideoFrameRate​(int maxVideoFrameRate)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the maximum allowed video frame rate.
    @@ -728,6 +833,7 @@ public ParametersBuilder()
  • setMaxVideoBitrate

    public DefaultTrackSelector.ParametersBuilder setMaxVideoBitrate​(int maxVideoBitrate)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the maximum allowed video bitrate.
    @@ -748,6 +854,7 @@ public ParametersBuilder()

    setMinVideoSize

    public DefaultTrackSelector.ParametersBuilder setMinVideoSize​(int minVideoWidth,
                                                                   int minVideoHeight)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the minimum allowed video width and height.
    @@ -768,6 +875,7 @@ public ParametersBuilder()
  • setMinVideoFrameRate

    public DefaultTrackSelector.ParametersBuilder setMinVideoFrameRate​(int minVideoFrameRate)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the minimum allowed video frame rate.
    @@ -787,6 +895,7 @@ public ParametersBuilder()
  • setMinVideoBitrate

    public DefaultTrackSelector.ParametersBuilder setMinVideoBitrate​(int minVideoBitrate)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the minimum allowed video bitrate.
    @@ -806,6 +915,7 @@ public ParametersBuilder()
  • setExceedVideoConstraintsIfNecessary

    public DefaultTrackSelector.ParametersBuilder setExceedVideoConstraintsIfNecessary​(boolean exceedVideoConstraintsIfNecessary)
    +
    Deprecated.
    Sets whether to exceed the setMaxVideoBitrate(int), setMaxVideoSize(int, int) and setMaxVideoFrameRate(int) constraints when no selection can be made otherwise.
    @@ -824,6 +934,7 @@ public ParametersBuilder()
  • setAllowVideoMixedMimeTypeAdaptiveness

    public DefaultTrackSelector.ParametersBuilder setAllowVideoMixedMimeTypeAdaptiveness​(boolean allowVideoMixedMimeTypeAdaptiveness)
    +
    Deprecated.
    Sets whether to allow adaptive video selections containing mixed MIME types.

    Adaptations between different MIME types may not be completely seamless, in which case @@ -845,6 +956,7 @@ public ParametersBuilder()

  • setAllowVideoNonSeamlessAdaptiveness

    public DefaultTrackSelector.ParametersBuilder setAllowVideoNonSeamlessAdaptiveness​(boolean allowVideoNonSeamlessAdaptiveness)
    +
    Deprecated.
    Sets whether to allow adaptive video selections where adaptation may not be completely seamless.
    @@ -863,6 +975,7 @@ public ParametersBuilder()
  • setAllowVideoMixedDecoderSupportAdaptiveness

    public DefaultTrackSelector.ParametersBuilder setAllowVideoMixedDecoderSupportAdaptiveness​(boolean allowVideoMixedDecoderSupportAdaptiveness)
    +
    Deprecated.
    Sets whether to allow adaptive video selections with mixed levels of RendererCapabilities.DecoderSupport and RendererCapabilities.HardwareAccelerationSupport.
    Parameters:
    @@ -881,6 +994,7 @@ public ParametersBuilder()

    setViewportSizeToPhysicalDisplaySize

    public DefaultTrackSelector.ParametersBuilder setViewportSizeToPhysicalDisplaySize​(Context context,
                                                                                        boolean viewportOrientationMayChange)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    @@ -903,6 +1017,7 @@ public ParametersBuilder()
  • clearViewportSizeConstraints

    public DefaultTrackSelector.ParametersBuilder clearViewportSizeConstraints()
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    @@ -923,6 +1038,7 @@ public ParametersBuilder()
    public DefaultTrackSelector.ParametersBuilder setViewportSize​(int viewportWidth,
                                                                   int viewportHeight,
                                                                   boolean viewportOrientationMayChange)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the viewport size to constrain adaptive video selections so that only tracks suitable for the viewport are selected.
    @@ -947,6 +1063,7 @@ public ParametersBuilder()

    setPreferredVideoMimeType

    public DefaultTrackSelector.ParametersBuilder setPreferredVideoMimeType​(@Nullable
                                                                             String mimeType)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the preferred sample MIME type for video tracks.
    @@ -967,6 +1084,7 @@ public ParametersBuilder()
  • setPreferredVideoMimeTypes

    public DefaultTrackSelector.ParametersBuilder setPreferredVideoMimeTypes​(String... mimeTypes)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the preferred sample MIME types for video tracks.
    @@ -988,6 +1106,7 @@ public ParametersBuilder()

    setPreferredVideoRoleFlags

    public DefaultTrackSelector.ParametersBuilder setPreferredVideoRoleFlags​(@RoleFlags
                                                                              @com.google.android.exoplayer2.C.RoleFlags int preferredVideoRoleFlags)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the preferred C.RoleFlags for video tracks.
    @@ -1008,6 +1127,7 @@ public ParametersBuilder()

    setPreferredAudioLanguage

    public DefaultTrackSelector.ParametersBuilder setPreferredAudioLanguage​(@Nullable
                                                                             String preferredAudioLanguage)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the preferred language for audio and forced text tracks.
    @@ -1028,6 +1148,7 @@ public ParametersBuilder()
  • setPreferredAudioLanguages

    public DefaultTrackSelector.ParametersBuilder setPreferredAudioLanguages​(String... preferredAudioLanguages)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the preferred languages for audio and forced text tracks.
    @@ -1050,6 +1171,7 @@ public ParametersBuilder()

    setPreferredAudioRoleFlags

    public DefaultTrackSelector.ParametersBuilder setPreferredAudioRoleFlags​(@RoleFlags
                                                                              @com.google.android.exoplayer2.C.RoleFlags int preferredAudioRoleFlags)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the preferred C.RoleFlags for audio tracks.
    @@ -1069,6 +1191,7 @@ public ParametersBuilder()
  • setMaxAudioChannelCount

    public DefaultTrackSelector.ParametersBuilder setMaxAudioChannelCount​(int maxAudioChannelCount)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the maximum allowed audio channel count.
    @@ -1088,6 +1211,7 @@ public ParametersBuilder()
  • setMaxAudioBitrate

    public DefaultTrackSelector.ParametersBuilder setMaxAudioBitrate​(int maxAudioBitrate)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the maximum allowed audio bitrate.
    @@ -1107,6 +1231,7 @@ public ParametersBuilder()
  • setExceedAudioConstraintsIfNecessary

    public DefaultTrackSelector.ParametersBuilder setExceedAudioConstraintsIfNecessary​(boolean exceedAudioConstraintsIfNecessary)
    +
    Deprecated.
    Sets whether to exceed the setMaxAudioChannelCount(int) and setMaxAudioBitrate(int) constraints when no selection can be made otherwise.
    Parameters:
    @@ -1124,6 +1249,7 @@ public ParametersBuilder()
  • setAllowAudioMixedMimeTypeAdaptiveness

    public DefaultTrackSelector.ParametersBuilder setAllowAudioMixedMimeTypeAdaptiveness​(boolean allowAudioMixedMimeTypeAdaptiveness)
    +
    Deprecated.
    Sets whether to allow adaptive audio selections containing mixed MIME types.

    Adaptations between different MIME types may not be completely seamless.

    @@ -1143,6 +1269,7 @@ public ParametersBuilder()
  • setAllowAudioMixedSampleRateAdaptiveness

    public DefaultTrackSelector.ParametersBuilder setAllowAudioMixedSampleRateAdaptiveness​(boolean allowAudioMixedSampleRateAdaptiveness)
    +
    Deprecated.
    Sets whether to allow adaptive audio selections containing mixed sample rates.

    Adaptations between different sample rates may not be completely seamless.

    @@ -1162,6 +1289,7 @@ public ParametersBuilder()
  • setAllowAudioMixedChannelCountAdaptiveness

    public DefaultTrackSelector.ParametersBuilder setAllowAudioMixedChannelCountAdaptiveness​(boolean allowAudioMixedChannelCountAdaptiveness)
    +
    Deprecated.
    Sets whether to allow adaptive audio selections containing mixed channel counts.

    Adaptations between different channel counts may not be completely seamless.

    @@ -1181,6 +1309,7 @@ public ParametersBuilder()
  • setAllowAudioMixedDecoderSupportAdaptiveness

    public DefaultTrackSelector.ParametersBuilder setAllowAudioMixedDecoderSupportAdaptiveness​(boolean allowAudioMixedDecoderSupportAdaptiveness)
    +
    Deprecated.
    Sets whether to allow adaptive audio selections with mixed levels of RendererCapabilities.DecoderSupport and RendererCapabilities.HardwareAccelerationSupport.
    Parameters:
    @@ -1199,6 +1328,7 @@ public ParametersBuilder()

    setPreferredAudioMimeType

    public DefaultTrackSelector.ParametersBuilder setPreferredAudioMimeType​(@Nullable
                                                                             String mimeType)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the preferred sample MIME type for audio tracks.
    @@ -1219,6 +1349,7 @@ public ParametersBuilder()
  • setPreferredAudioMimeTypes

    public DefaultTrackSelector.ParametersBuilder setPreferredAudioMimeTypes​(String... mimeTypes)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the preferred sample MIME types for audio tracks.
    @@ -1239,6 +1370,7 @@ public ParametersBuilder()
  • setPreferredTextLanguageAndRoleFlagsToCaptioningManagerSettings

    public DefaultTrackSelector.ParametersBuilder setPreferredTextLanguageAndRoleFlagsToCaptioningManagerSettings​(Context context)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the preferred language and role flags for text tracks based on the accessibility settings of CaptioningManager. @@ -1262,6 +1394,7 @@ public ParametersBuilder()

    setPreferredTextLanguage

    public DefaultTrackSelector.ParametersBuilder setPreferredTextLanguage​(@Nullable
                                                                            String preferredTextLanguage)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the preferred language for text tracks.
    @@ -1282,6 +1415,7 @@ public ParametersBuilder()
  • setPreferredTextLanguages

    public DefaultTrackSelector.ParametersBuilder setPreferredTextLanguages​(String... preferredTextLanguages)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the preferred languages for text tracks.
    @@ -1304,6 +1438,7 @@ public ParametersBuilder()

    setPreferredTextRoleFlags

    public DefaultTrackSelector.ParametersBuilder setPreferredTextRoleFlags​(@RoleFlags
                                                                             @com.google.android.exoplayer2.C.RoleFlags int preferredTextRoleFlags)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets the preferred C.RoleFlags for text tracks.
    @@ -1316,6 +1451,28 @@ public ParametersBuilder()
  • + + + + @@ -1323,6 +1480,7 @@ public ParametersBuilder()
  • setSelectUndeterminedTextLanguage

    public DefaultTrackSelector.ParametersBuilder setSelectUndeterminedTextLanguage​(boolean selectUndeterminedTextLanguage)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets whether a text track with undetermined language should be selected if no track with a preferred language is available, or if the @@ -1344,16 +1502,12 @@ public ParametersBuilder() @@ -1363,6 +1517,7 @@ public ParametersBuilder()
  • setForceLowestBitrate

    public DefaultTrackSelector.ParametersBuilder setForceLowestBitrate​(boolean forceLowestBitrate)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets whether to force selection of the single lowest bitrate audio and video tracks that comply with all other constraints.
    @@ -1384,6 +1539,7 @@ public ParametersBuilder()
  • setForceHighestSupportedBitrate

    public DefaultTrackSelector.ParametersBuilder setForceHighestSupportedBitrate​(boolean forceHighestSupportedBitrate)
    +
    Deprecated.
    Description copied from class: TrackSelectionParameters.Builder
    Sets whether to force selection of the highest bitrate audio and video tracks that comply with all other constraints.
    @@ -1398,22 +1554,83 @@ public ParametersBuilder()
  • - + + + + + + + + + + + + + + + + + @@ -1423,10 +1640,14 @@ public ParametersBuilder() + + + + @@ -1444,6 +1688,7 @@ public ParametersBuilder()
  • setExceedRendererCapabilitiesIfNecessary

    public DefaultTrackSelector.ParametersBuilder setExceedRendererCapabilitiesIfNecessary​(boolean exceedRendererCapabilitiesIfNecessary)
    +
    Deprecated.
    Sets whether to exceed renderer capabilities when no selection can be made otherwise.

    This parameter applies when all of the tracks available for a renderer exceed the @@ -1466,11 +1711,12 @@ public ParametersBuilder()

  • setTunnelingEnabled

    public DefaultTrackSelector.ParametersBuilder setTunnelingEnabled​(boolean tunnelingEnabled)
    +
    Deprecated.
    Sets whether to enable tunneling if possible. Tunneling will only be enabled if it's supported by the audio and video renderers for the selected tracks.

    Tunneling is known to have many device specific issues and limitations. Manual testing is - strongly recomended to check that the media plays correctly when this option is enabled. See + strongly recommended to check that the media plays correctly when this option is enabled. See [#9661](https://github.com/google/ExoPlayer/issues/9661), [#9133](https://github.com/google/ExoPlayer/issues/9133), [#9317](https://github.com/google/ExoPlayer/issues/9317), @@ -1490,6 +1736,7 @@ public ParametersBuilder()

  • setAllowMultipleAdaptiveSelections

    public DefaultTrackSelector.ParametersBuilder setAllowMultipleAdaptiveSelections​(boolean allowMultipleAdaptiveSelections)
    +
    Deprecated.
    Sets whether multiple adaptive selections with more than one track are allowed.
    Parameters:
    @@ -1505,8 +1752,9 @@ public ParametersBuilder() - + + + + + + + + + + + + + + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/trackselection/MappingTrackSelector.html b/docs/doc/reference/com/google/android/exoplayer2/trackselection/MappingTrackSelector.html index 2f2d9cd030..69f5ebbe67 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/trackselection/MappingTrackSelector.html +++ b/docs/doc/reference/com/google/android/exoplayer2/trackselection/MappingTrackSelector.html @@ -258,7 +258,7 @@ extends TrackSelector -getBandwidthMeter, getParameters, init, invalidate, isSetParametersSupported, setParameters
  • +getBandwidthMeter, getParameters, init, invalidate, isSetParametersSupported, release, setAudioAttributes, setParameters
  • - +
    @@ -314,30 +310,24 @@ extends + + + +
      +
    • +

      getMaxPendingFrameCount

      +
      default int getMaxPendingFrameCount()
      +
      Returns the maximum number of frames that may be pending in the output Codec at a time, + or UNLIMITED_PENDING_FRAME_COUNT if it's not necessary to enforce a limit.
    @@ -381,18 +394,19 @@ public 
  • maybeDequeueInputBuffer

    -
    @EnsuresNonNullIf(expression="#1.data",
    -                  result=true)
    -public boolean maybeDequeueInputBuffer​(DecoderInputBuffer inputBuffer)
    -                                throws TransformationException
    -
    Dequeues a writable input buffer, if available.
    +
    boolean maybeDequeueInputBuffer​(DecoderInputBuffer inputBuffer)
    +                         throws TransformationException
    +
    Dequeues a writable input buffer, if available. + +

    This method must not be called from video encoders because they must use a Surface + to receive input.

    Parameters:
    -
    inputBuffer - The buffer where the dequeued buffer data is stored.
    +
    inputBuffer - The buffer where the dequeued buffer data is stored, at inputBuffer.data.
    Returns:
    Whether an input buffer is ready to be used.
    Throws:
    -
    TransformationException - If the underlying MediaCodec encounters a problem.
    +
    TransformationException - If the underlying decoder or encoder encounters a problem.
  • @@ -402,15 +416,17 @@ public boolean maybeDequeueInputBuffer​(
  • queueInputBuffer

    -
    public void queueInputBuffer​(DecoderInputBuffer inputBuffer)
    -                      throws TransformationException
    -
    Queues an input buffer to the decoder. No buffers may be queued after an end of stream buffer has been queued.
    +
    void queueInputBuffer​(DecoderInputBuffer inputBuffer)
    +               throws TransformationException
    +
    Queues an input buffer to the Codec. No buffers may be queued after end of stream buffer has been queued. + +

    This method must not be called from video encoders because they must use a Surface + to receive input.

    Parameters:
    -
    inputBuffer - The input buffer.
    +
    inputBuffer - The input buffer.
    Throws:
    -
    IllegalStateException - If called again after an end of stream buffer has been queued.
    -
    TransformationException - If the underlying MediaCodec encounters a problem.
    +
    TransformationException - If the underlying decoder or encoder encounters a problem.
  • @@ -420,17 +436,16 @@ public boolean maybeDequeueInputBuffer​(
  • signalEndOfInputStream

    -
    public void signalEndOfInputStream()
    -                            throws TransformationException
    +
    void signalEndOfInputStream()
    +                     throws TransformationException
    Signals end-of-stream on input to a video encoder. -

    This method does not need to be called for audio/video decoders or audio encoders. For these - the MediaCodec.BUFFER_FLAG_END_OF_STREAM flag should be set on the last input buffer - queued.

    +

    This method must only be called on video encoders because they must use a Surface as + input. For audio/video decoders or audio encoders, the C.BUFFER_FLAG_END_OF_STREAM flag + should be set on the last input buffer queued.

    Throws:
    -
    IllegalStateException - If the codec is not an encoder receiving input from a Surface.
    -
    TransformationException - If the underlying MediaCodec encounters a problem.
    +
    TransformationException - If the underlying video encoder encounters a problem.
  • @@ -441,12 +456,12 @@ public boolean maybeDequeueInputBuffer​(

    getOutputFormat

    @Nullable
    -public Format getOutputFormat()
    -                       throws TransformationException
    -
    Returns the current output format, if available.
    +Format getOutputFormat() + throws TransformationException +
    Returns the current output format, or null if unavailable.
    Throws:
    -
    TransformationException - If the underlying MediaCodec encounters a problem.
    +
    TransformationException - If the underlying decoder or encoder encounters a problem.
  • @@ -457,12 +472,14 @@ public 

    getOutputBuffer

    @Nullable
    -public ByteBuffer getOutputBuffer()
    -                           throws TransformationException
    -
    Returns the current output ByteBuffer, if available.
    +ByteBuffer getOutputBuffer() + throws TransformationException +
    Returns the current output ByteBuffer, or null if unavailable. + +

    This method must not be called on video decoders because they must output to a Surface.

    Throws:
    -
    TransformationException - If the underlying MediaCodec encounters a problem.
    +
    TransformationException - If the underlying decoder or encoder encounters a problem.
  • @@ -473,30 +490,15 @@ public 

    getOutputBufferInfo

    @Nullable
    -public MediaCodec.BufferInfo getOutputBufferInfo()
    -                                          throws TransformationException
    -
    Returns the MediaCodec.BufferInfo associated with the current output buffer, if available.
    -
    -
    Throws:
    -
    TransformationException - If the underlying MediaCodec encounters a problem.
    -
    -
  • - - - - - @@ -506,20 +508,22 @@ public 
  • releaseOutputBuffer

    -
    public void releaseOutputBuffer​(boolean render)
    -                         throws TransformationException
    -
    Releases the current output buffer. If the MediaCodec was configured with an output - surface, setting render to true will first send the buffer to the output - surface. The surface will release the buffer back to the codec once it is no longer +
    void releaseOutputBuffer​(boolean render)
    +                  throws TransformationException
    +
    Releases the current output buffer. + +

    Only set render to true when the Codec is a video decoder. Setting + render to true will first render the buffer to the output surface. In this + case, the surface will release the buffer back to the Codec once it is no longer used/displayed.

    This should be called after the buffer has been processed. The next output buffer will not - be available until the previous has been released.

    + be available until the current output buffer has been released.
    Parameters:
    -
    render - Whether the buffer needs to be sent to the output Surface.
    +
    render - Whether the buffer needs to be rendered to the output Surface.
    Throws:
    -
    TransformationException - If the underlying MediaCodec encounters a problem.
    +
    TransformationException - If the underlying decoder or encoder encounters a problem.
  • @@ -529,8 +533,8 @@ public 
  • isEnded

    -
    public boolean isEnded()
    -
    Returns whether the codec output stream has ended, and no more data can be dequeued.
    +
    boolean isEnded()
    +
    Returns whether the Codec's output stream has ended, and no more data can be dequeued.
  • @@ -539,8 +543,8 @@ public 
  • release

    -
    public void release()
    -
    Releases the underlying codec.
    +
    void release()
    +
    Releases the Codec.
  • @@ -595,14 +599,14 @@ public 
  • Summary: 
  • Nested | 
  • -
  • Field | 
  • -
  • Constr | 
  • +
  • Field | 
  • +
  • Constr | 
  • Method
  • diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/DefaultCodec.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/DefaultCodec.html new file mode 100644 index 0000000000..90127c3a1d --- /dev/null +++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/DefaultCodec.html @@ -0,0 +1,708 @@ + + + + +DefaultCodec (ExoPlayer library) + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Class DefaultCodec

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.google.android.exoplayer2.transformer.DefaultCodec
      • +
      +
    • +
    +
    +
      +
    • +
      +
      All Implemented Interfaces:
      +
      Codec
      +
      +
      +
      public final class DefaultCodec
      +extends Object
      +implements Codec
      +
      A default Codec implementation that uses MediaCodec.
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
      + +
      + +
      +
        +
      • + + +

        Method Detail

        + + + + + + + +
          +
        • +

          getInputSurface

          +
          public Surface getInputSurface()
          +
          Description copied from interface: Codec
          +
          Returns the input Surface of an underlying video encoder. + +

          This method must only be called on video encoders because audio/video decoders and audio + encoders don't use a Surface as input.

          +
          +
          Specified by:
          +
          getInputSurface in interface Codec
          +
          +
        • +
        + + + +
          +
        • +

          getMaxPendingFrameCount

          +
          public int getMaxPendingFrameCount()
          +
          Description copied from interface: Codec
          +
          Returns the maximum number of frames that may be pending in the output Codec at a time, + or Codec.UNLIMITED_PENDING_FRAME_COUNT if it's not necessary to enforce a limit.
          +
          +
          Specified by:
          +
          getMaxPendingFrameCount in interface Codec
          +
          +
        • +
        + + + +
          +
        • +

          maybeDequeueInputBuffer

          +
          @EnsuresNonNullIf(expression="#1.data",
          +                  result=true)
          +public boolean maybeDequeueInputBuffer​(DecoderInputBuffer inputBuffer)
          +                                throws TransformationException
          +
          Description copied from interface: Codec
          +
          Dequeues a writable input buffer, if available. + +

          This method must not be called from video encoders because they must use a Surface + to receive input.

          +
          +
          Specified by:
          +
          maybeDequeueInputBuffer in interface Codec
          +
          Parameters:
          +
          inputBuffer - The buffer where the dequeued buffer data is stored, at inputBuffer.data.
          +
          Returns:
          +
          Whether an input buffer is ready to be used.
          +
          Throws:
          +
          TransformationException - If the underlying decoder or encoder encounters a problem.
          +
          +
        • +
        + + + + + + + + + + + + + + + + + + + + + + + +
          +
        • +

          releaseOutputBuffer

          +
          public void releaseOutputBuffer​(boolean render)
          +                         throws TransformationException
          +
          Description copied from interface: Codec
          +
          Releases the current output buffer. + +

          Only set render to true when the Codec is a video decoder. Setting + render to true will first render the buffer to the output surface. In this + case, the surface will release the buffer back to the Codec once it is no longer + used/displayed. + +

          This should be called after the buffer has been processed. The next output buffer will not + be available until the current output buffer has been released.

          +
          +
          Specified by:
          +
          releaseOutputBuffer in interface Codec
          +
          Parameters:
          +
          render - Whether the buffer needs to be rendered to the output Surface.
          +
          Throws:
          +
          TransformationException - If the underlying decoder or encoder encounters a problem.
          +
          +
        • +
        + + + +
          +
        • +

          isEnded

          +
          public boolean isEnded()
          +
          Description copied from interface: Codec
          +
          Returns whether the Codec's output stream has ended, and no more data can be dequeued.
          +
          +
          Specified by:
          +
          isEnded in interface Codec
          +
          +
        • +
        + + + +
          +
        • +

          release

          +
          public void release()
          +
          Description copied from interface: Codec
          +
          Releases the Codec.
          +
          +
          Specified by:
          +
          release in interface Codec
          +
          +
        • +
        + + + + +
      • +
      +
      +
    • +
    +
    +
    +
    + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/DefaultEncoderFactory.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/DefaultEncoderFactory.html new file mode 100644 index 0000000000..db0ac527c1 --- /dev/null +++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/DefaultEncoderFactory.html @@ -0,0 +1,479 @@ + + + + +DefaultEncoderFactory (ExoPlayer library) + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Class DefaultEncoderFactory

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.google.android.exoplayer2.transformer.DefaultEncoderFactory
      • +
      +
    • +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/EncoderSelector.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/EncoderSelector.html new file mode 100644 index 0000000000..00cd47d8bf --- /dev/null +++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/EncoderSelector.html @@ -0,0 +1,306 @@ + + + + +EncoderSelector (ExoPlayer library) + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Interface EncoderSelector

    +
    +
    +
    +
      +
    • +
      +
      public interface EncoderSelector
      +
      Selector of MediaCodec encoder instances.
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
      + +
      + +
      +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          selectEncoderInfos

          +
          List<MediaCodecInfo> selectEncoderInfos​(String mimeType)
          +
          Returns a list of encoders that can encode media in the specified mimeType, in priority + order.
          +
          +
          Parameters:
          +
          mimeType - The MIME type for which an encoder is required.
          +
          Returns:
          +
          An unmodifiable list of encoders that support the + mimeType. The list may be empty.
          +
          +
        • +
        +
      • +
      +
      +
    • +
    +
    +
    +
    + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/EncoderUtil.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/EncoderUtil.html index 6e6c60ebc1..0696579f12 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/transformer/EncoderUtil.html +++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/EncoderUtil.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":9,"i1":9,"i2":9,"i3":9}; +var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -87,13 +87,13 @@ loadScripts(document, 'script'); @@ -138,6 +138,31 @@ extends
    • + +
      +
        +
      • + + +

        Field Summary

        + + + + + + + + + + + + +
        Fields 
        Modifier and TypeFieldDescription
        static intLEVEL_UNSET +
        A value to indicate the encoding level is not set.
        +
        +
      • +
      +
        @@ -153,41 +178,132 @@ extends Description -static int -getClosestSupportedBitrate​(MediaCodecInfo encoderInfo, - String mimeType, - int bitrate) +static String +findCodecForFormat​(MediaFormat format, + boolean isDecoder) -
        Finds the encoder's closest supported bitrate from the given bitrate.
        +
        Finds a MediaCodec that supports the MediaFormat, or null if none is + found.
        -static Pair<Integer,​Integer> -getClosestSupportedResolution​(MediaCodecInfo encoderInfo, - String mimeType, - int width, - int height) +static int +findHighestSupportedEncodingLevel​(MediaCodecInfo encoderInfo, + String mimeType, + int profile) -
        Finds the encoder's closest supported resolution from the given - resolution.
        +
        Finds the highest supported encoding level given a profile.
        -static ImmutableList<MediaCodecInfo> -getSupportedEncoders​(String mimeType) +static ImmutableSet<Integer> +findSupportedEncodingProfiles​(MediaCodecInfo encoderInfo, + String mimeType) -
        Returns a list of encoders that support the given mimeType, or - an empty list if there is none.
        +
        Returns a set of supported encoding profiles for the given encoder and MIME type.
        -static boolean -isProfileLevelSupported​(MediaCodecInfo encoderInfo, - String mimeType, - int profile, - int level) +static int +getMaxSupportedInstances​(MediaCodecInfo encoderInfo, + String mimeType) -
        Returns whether the encoder supports the given profile and level.
        +
        Returns the number of max number of the supported concurrent codec instances.
        + + + +static Range<Integer> +getSupportedBitrateRange​(MediaCodecInfo encoderInfo, + String mimeType) + +
        Returns the range of supported bitrates for the given MIME type.
        + + + +static ImmutableList<Integer> +getSupportedColorFormats​(MediaCodecInfo encoderInfo, + String mimeType) + +
        Returns a list of supported color formats for the given encoder and MIME type.
        + + + +static ImmutableList<MediaCodecInfo> +getSupportedEncoders​(String mimeType) + +
        Returns a list of encoders that support the given mimeType, + or an empty list if there is none.
        + + + +static Range<Integer> +getSupportedHeights​(MediaCodecInfo encoderInfo, + String mimeType, + int width) + +
        Returns a Range of supported heights for the given encoder, + MIME type and width.
        + + + +static Size +getSupportedResolution​(MediaCodecInfo encoderInfo, + String mimeType, + int width, + int height) + +
        Finds an encoder's supported resolution from a given resolution.
        + + + +static Pair<Range<Integer>,​Range<Integer>> +getSupportedResolutionRanges​(MediaCodecInfo encoderInfo, + String mimeType) + +
        Returns a Pair of supported width and height ranges for the given encoder and MIME type.
        + + + +static ImmutableSet<String> +getSupportedVideoMimeTypes() + +
        Returns a list of video MIME types that can be encoded.
        + + + +static boolean +isBitrateModeSupported​(MediaCodecInfo encoderInfo, + String mimeType, + int bitrateMode) + +
        Returns whether the bitrate mode is supported by the encoder.
        + + + +static boolean +isFeatureSupported​(MediaCodecInfo encoderInfo, + String mimeType, + String featureName) + +
        Returns whether a given feature is supported.
        + + + +static boolean +isHardwareAccelerated​(MediaCodecInfo encoderInfo, + String mimeType) + +
        Checks if a codec is hardware-accelerated.
        + + + +static boolean +isSizeSupported​(MediaCodecInfo encoderInfo, + String mimeType, + int width, + int height) + +
        Returns whether the encoder supports the given resolution.
        @@ -207,6 +323,30 @@ extends
        • + +
          +
            +
          • + + +

            Field Detail

            + + + +
              +
            • +

              LEVEL_UNSET

              +
              public static final int LEVEL_UNSET
              +
              A value to indicate the encoding level is not set.
              +
              +
              See Also:
              +
              Constant Field Values
              +
              +
            • +
            +
          • +
          +
          - +
          • -

            getClosestSupportedResolution

            +

            getSupportedVideoMimeTypes

            +
            public static ImmutableSet<String> getSupportedVideoMimeTypes()
            +
            Returns a list of video MIME types that can be encoded.
            +
          • +
          + + + +
            +
          • +

            isSizeSupported

            +
            public static boolean isSizeSupported​(MediaCodecInfo encoderInfo,
            +                                      String mimeType,
            +                                      int width,
            +                                      int height)
            +
            Returns whether the encoder supports the given resolution.
            +
          • +
          + + + + + + + + + + + +
            +
          • +

            getSupportedResolution

            @Nullable
            -public static Pair<Integer,​Integer> getClosestSupportedResolution​(MediaCodecInfo encoderInfo,
            -                                                                        String mimeType,
            -                                                                        int width,
            -                                                                        int height)
            -
            Finds the encoder's closest supported resolution from the given - resolution. +public static Size getSupportedResolution​(MediaCodecInfo encoderInfo, + String mimeType, + int width, + int height) +
            Finds an encoder's supported resolution from a given resolution. -

            The input resolution is returned, if it is supported by the encoder. +

            The input resolution is returned, if it (after aligning to the encoder's requirement) is + supported by the encoder. -

            The resolution will be clamped to the encoder's range of supported - resolutions, and adjusted to the encoder's size alignment. The - adjustment process takes into account the original aspect ratio. But the fixed resolution may - not preserve the original aspect ratio, depending on the encoder's required size alignment.

            +

            The resolution will be adjusted to be within the encoder's range + of supported resolutions, and will be aligned to the encoder's + alignment requirement. The adjustment process takes into account the original aspect ratio. But + the fixed resolution may not preserve the original aspect ratio, depending on the encoder's + required size alignment.

            Parameters:
            encoderInfo - The MediaCodecInfo of the encoder.
            @@ -252,33 +444,121 @@ public static Returns: -
            A Pair of width and height, or null if unable to find a fix.
            +
            A supported resolution, or null if unable to find a fallback.
          - + - + + + +
            +
          • +

            findHighestSupportedEncodingLevel

            +
            public static int findHighestSupportedEncodingLevel​(MediaCodecInfo encoderInfo,
            +                                                    String mimeType,
            +                                                    int profile)
            +
            Finds the highest supported encoding level given a profile.
            +
            +
            Parameters:
            +
            encoderInfo - The encoderInfo.
            +
            mimeType - The MIME type.
            +
            profile - The encoding profile.
            +
            Returns:
            +
            The highest supported encoding level, as documented in MediaCodecInfo.CodecProfileLevel, or LEVEL_UNSET if the profile is not supported.
            +
            +
          • +
          + + + +
            +
          • +

            findCodecForFormat

            +
            @Nullable
            +public static String findCodecForFormat​(MediaFormat format,
            +                                        boolean isDecoder)
            +
            Finds a MediaCodec that supports the MediaFormat, or null if none is + found.
            +
          • +
          + + + +
            +
          • +

            getSupportedBitrateRange

            +
            public static Range<Integer> getSupportedBitrateRange​(MediaCodecInfo encoderInfo,
            +                                                      String mimeType)
            +
            Returns the range of supported bitrates for the given MIME type.
            +
          • +
          + + + +
            +
          • +

            isBitrateModeSupported

            +
            public static boolean isBitrateModeSupported​(MediaCodecInfo encoderInfo,
            +                                             String mimeType,
            +                                             int bitrateMode)
            +
            Returns whether the bitrate mode is supported by the encoder.
            +
          • +
          + + + + + + + +
            +
          • +

            isHardwareAccelerated

            +
            public static boolean isHardwareAccelerated​(MediaCodecInfo encoderInfo,
            +                                            String mimeType)
            +
            Checks if a codec is hardware-accelerated.
            +
          • +
          + + + +
            +
          • +

            isFeatureSupported

            +
            public static boolean isFeatureSupported​(MediaCodecInfo encoderInfo,
            +                                         String mimeType,
            +                                         String featureName)
            +
            Returns whether a given feature is supported.
            +
          • +
          +
          • -

            getClosestSupportedBitrate

            -
            public static int getClosestSupportedBitrate​(MediaCodecInfo encoderInfo,
            -                                             String mimeType,
            -                                             int bitrate)
            -
            Finds the encoder's closest supported bitrate from the given bitrate.
            +

            getMaxSupportedInstances

            +
            @RequiresApi(23)
            +public static int getMaxSupportedInstances​(MediaCodecInfo encoderInfo,
            +                                           String mimeType)
            +
            Returns the number of max number of the supported concurrent codec instances.
        • @@ -333,13 +613,13 @@ public static 
        • Summary: 
        • Nested | 
        • -
        • Field | 
        • +
        • Field | 
        • Constr | 
        • Method
        diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/FrameProcessingException.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/FrameProcessingException.html new file mode 100644 index 0000000000..0059c402c4 --- /dev/null +++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/FrameProcessingException.html @@ -0,0 +1,457 @@ + + + + +FrameProcessingException (ExoPlayer library) + + + + + + + + + + + + + +
        + +
        + +
        +
        + +

        Class FrameProcessingException

        +
        +
        + +
        +
          +
        • +
          +
          All Implemented Interfaces:
          +
          Serializable
          +
          +
          +
          public final class FrameProcessingException
          +extends Exception
          +
          Thrown when an exception occurs while applying effects to video frames.
          +
          +
          See Also:
          +
          Serialized Form
          +
          +
        • +
        +
        +
        + +
        +
        +
          +
        • + +
          +
            +
          • + + +

            Field Detail

            + + + +
              +
            • +

              presentationTimeUs

              +
              public final long presentationTimeUs
              +
              The microsecond timestamp of the frame being processed while the exception occurred or C.TIME_UNSET if unknown.
              +
            • +
            +
          • +
          +
          + +
          +
            +
          • + + +

            Constructor Detail

            + + + +
              +
            • +

              FrameProcessingException

              +
              public FrameProcessingException​(String message)
              +
              Creates an instance.
              +
              +
              Parameters:
              +
              message - The detail message for this exception.
              +
              +
            • +
            + + + +
              +
            • +

              FrameProcessingException

              +
              public FrameProcessingException​(String message,
              +                                long presentationTimeUs)
              +
              Creates an instance.
              +
              +
              Parameters:
              +
              message - The detail message for this exception.
              +
              presentationTimeUs - The timestamp of the frame for which the exception occurred.
              +
              +
            • +
            + + + +
              +
            • +

              FrameProcessingException

              +
              public FrameProcessingException​(String message,
              +                                Throwable cause)
              +
              Creates an instance.
              +
              +
              Parameters:
              +
              message - The detail message for this exception.
              +
              cause - The cause of this exception.
              +
              +
            • +
            + + + +
              +
            • +

              FrameProcessingException

              +
              public FrameProcessingException​(String message,
              +                                Throwable cause,
              +                                long presentationTimeUs)
              +
              Creates an instance.
              +
              +
              Parameters:
              +
              message - The detail message for this exception.
              +
              cause - The cause of this exception.
              +
              presentationTimeUs - The timestamp of the frame for which the exception occurred.
              +
              +
            • +
            + + + +
              +
            • +

              FrameProcessingException

              +
              public FrameProcessingException​(Throwable cause)
              +
              Creates an instance.
              +
              +
              Parameters:
              +
              cause - The cause of this exception.
              +
              +
            • +
            + + + +
              +
            • +

              FrameProcessingException

              +
              public FrameProcessingException​(Throwable cause,
              +                                long presentationTimeUs)
              +
              Creates an instance.
              +
              +
              Parameters:
              +
              cause - The cause of this exception.
              +
              presentationTimeUs - The timestamp of the frame for which the exception occurred.
              +
              +
            • +
            +
          • +
          +
          +
        • +
        +
        +
        +
        + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/GlEffect.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/GlEffect.html new file mode 100644 index 0000000000..abea05f708 --- /dev/null +++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/GlEffect.html @@ -0,0 +1,261 @@ + + + + +GlEffect (ExoPlayer library) + + + + + + + + + + + + + +
        + +
        + +
        +
        + +

        Interface GlEffect

        +
        +
        +
        + +
        +
        + +
        +
        + +
        +
        +
        + +
        + +
        + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/GlMatrixTransformation.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/GlMatrixTransformation.html new file mode 100644 index 0000000000..ea71af268d --- /dev/null +++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/GlMatrixTransformation.html @@ -0,0 +1,319 @@ + + + + +GlMatrixTransformation (ExoPlayer library) + + + + + + + + + + + + + +
        + +
        + +
        +
        + +

        Interface GlMatrixTransformation

        +
        +
        +
        +
          +
        • +
          +
          All Superinterfaces:
          +
          GlEffect
          +
          +
          +
          All Known Subinterfaces:
          +
          MatrixTransformation
          +
          +
          +
          All Known Implementing Classes:
          +
          Presentation, ScaleToFitTransformation
          +
          +
          +
          public interface GlMatrixTransformation
          +extends GlEffect
          +
          Specifies a 4x4 transformation Matrix to apply in the vertex shader for each frame. + +

          The matrix is applied to points given in normalized device coordinates (-1 to 1 on x, y, and z + axes). Transformed pixels that are moved outside of the normal device coordinate range are + clipped. + +

          Output frame pixels outside of the transformed input frame will be black.

          +
        • +
        +
        +
        + +
        +
        +
          +
        • + +
          +
            +
          • + + +

            Method Detail

            + + + +
              +
            • +

              configure

              +
              default Size configure​(int inputWidth,
              +                       int inputHeight)
              +
              Configures the input and output dimensions. + +

              Must be called before getGlMatrixArray(long).

              +
              +
              Parameters:
              +
              inputWidth - The input frame width, in pixels.
              +
              inputHeight - The input frame height, in pixels.
              +
              Returns:
              +
              The output frame Size, in pixels.
              +
              +
            • +
            + + + +
              +
            • +

              getGlMatrixArray

              +
              float[] getGlMatrixArray​(long presentationTimeUs)
              +
              Returns the 4x4 transformation Matrix to apply to the frame with the given timestamp.
              +
            • +
            + + + + +
          • +
          +
          +
        • +
        +
        +
        +
        + +
        + +
        + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/MatrixTransformation.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/MatrixTransformation.html new file mode 100644 index 0000000000..8c251ed8ed --- /dev/null +++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/MatrixTransformation.html @@ -0,0 +1,294 @@ + + + + +MatrixTransformation (ExoPlayer library) + + + + + + + + + + + + + +
        + +
        + +
        +
        + +

        Interface MatrixTransformation

        +
        +
        +
        +
          +
        • +
          +
          All Superinterfaces:
          +
          GlEffect, GlMatrixTransformation
          +
          +
          +
          All Known Implementing Classes:
          +
          Presentation, ScaleToFitTransformation
          +
          +
          +
          public interface MatrixTransformation
          +extends GlMatrixTransformation
          +
          Specifies a 3x3 transformation Matrix to apply in the vertex shader for each frame. + +

          The matrix is applied to points given in normalized device coordinates (-1 to 1 on x and y + axes). Transformed pixels that are moved outside of the normal device coordinate range are + clipped. + +

          Output frame pixels outside of the transformed input frame will be black.

          +
        • +
        +
        +
        + +
        +
        +
          +
        • + +
          +
            +
          • + + +

            Method Detail

            + + + +
              +
            • +

              getMatrix

              +
              Matrix getMatrix​(long presentationTimeUs)
              +
              Returns the 3x3 transformation Matrix to apply to the frame with the given timestamp.
              +
            • +
            + + + + +
          • +
          +
          +
        • +
        +
        +
        +
        + +
        + +
        + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/Presentation.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/Presentation.Builder.html new file mode 100644 index 0000000000..66bff6ba5b --- /dev/null +++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/Presentation.Builder.html @@ -0,0 +1,420 @@ + + + + +Presentation.Builder (ExoPlayer library) + + + + + + + + + + + + + +
        + +
        + +
        +
        + +

        Class Presentation.Builder

        +
        +
        +
          +
        • java.lang.Object
        • +
        • +
            +
          • com.google.android.exoplayer2.transformer.Presentation.Builder
          • +
          +
        • +
        +
        + +
        +
        + +
        +
        +
          +
        • + +
          +
            +
          • + + +

            Constructor Detail

            + + + +
              +
            • +

              Builder

              +
              public Builder()
              +
              Creates a builder with default values.
              +
            • +
            +
          • +
          +
          + +
          +
            +
          • + + +

            Method Detail

            + + + +
              +
            • +

              setResolution

              +
              public Presentation.Builder setResolution​(int height)
              +
              Sets the output resolution using the output height. + +

              The default value, C.LENGTH_UNSET, corresponds to using the same height as the + input. Output width of the displayed frame will scale to preserve the frame's aspect ratio + after other transformations. + +

              For example, a 1920x1440 frame can be scaled to 640x480 by calling + setResolution(480).

              +
              +
              Parameters:
              +
              height - The output height of the displayed frame, in pixels.
              +
              Returns:
              +
              This builder.
              +
              +
            • +
            + + + +
              +
            • +

              setCrop

              +
              public Presentation.Builder setCrop​(float left,
              +                                    float right,
              +                                    float bottom,
              +                                    float top)
              +
              Crops a smaller (or larger frame), per normalized device coordinates (NDC), where the input + frame corresponds to the square ranging from -1 to 1 on the x and y axes. + +

              left and bottom default to -1, and right and top default + to 1, which corresponds to not applying any crop. To crop to a smaller subset of the input + frame, use values between -1 and 1. To crop to a larger frame, use values below -1 and above + 1. + +

              Width and height values set may be rescaled by setResolution(int), which is + applied after cropping changes. + +

              Only one of setCrop or setAspectRatio(float, int) can be called for one + Presentation.

              +
              +
              Parameters:
              +
              left - The left edge of the output frame, in NDC. Must be less than right.
              +
              right - The right edge of the output frame, in NDC. Must be greater than left.
              +
              bottom - The bottom edge of the output frame, in NDC. Must be less than top.
              +
              top - The top edge of the output frame, in NDC. Must be greater than bottom.
              +
              Returns:
              +
              This builder.
              +
              +
            • +
            + + + +
              +
            • +

              setAspectRatio

              +
              public Presentation.Builder setAspectRatio​(float aspectRatio,
              +                                           @com.google.android.exoplayer2.transformer.Presentation.Layout int layout)
              +
              Sets the aspect ratio (width/height ratio) for the output frame. + +

              Resizes a frame's width or height to conform to an aspectRatio, given a Presentation.Layout. aspectRatio defaults to C.LENGTH_UNSET, which corresponds to the + same aspect ratio as the input frame. layout defaults to Presentation.LAYOUT_SCALE_TO_FIT + +

              Width and height values set may be rescaled by setResolution(int), which is + applied after aspect ratio changes. + +

              Only one of setCrop(float, float, float, float) or setAspectRatio can be + called for one Presentation.

              +
              +
              Parameters:
              +
              aspectRatio - The aspect ratio (width/height ratio) of the output frame. Must be + positive.
              +
              Returns:
              +
              This builder.
              +
              +
            • +
            + + + + +
          • +
          +
          +
        • +
        +
        +
        +
        + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/PlaybackException.FieldNumber.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/Presentation.Layout.html similarity index 68% rename from docs/doc/reference/com/google/android/exoplayer2/PlaybackException.FieldNumber.html rename to docs/doc/reference/com/google/android/exoplayer2/transformer/Presentation.Layout.html index c4b4ea591c..1c0e34a9ca 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/PlaybackException.FieldNumber.html +++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/Presentation.Layout.html @@ -2,30 +2,30 @@ -PlaybackException.FieldNumber (ExoPlayer library) +Presentation.Layout (ExoPlayer library) - - - - - + + + + + - - + +
      - +
      • createForCodec

        public static TransformationException createForCodec​(Throwable cause,
        -                                                     String componentName,
        -                                                     Format configurationFormat,
        +                                                     boolean isVideo,
        +                                                     boolean isDecoder,
        +                                                     MediaFormat mediaFormat,
                                                              @Nullable
                                                              String mediaCodecName,
                                                              int errorCode)
        -
        Creates an instance for a decoder or encoder related exception.
        +
        Creates an instance for a decoder or encoder related exception. + +

        Use this method after the MediaFormat used to configure the Codec is known.

        Parameters:
        cause - The cause of the failure.
        -
        componentName - The name of the component used, e.g. 'VideoEncoder'.
        -
        configurationFormat - The Format used for configuring the decoder/encoder.
        +
        isVideo - Whether the decoder or encoder is configured for video.
        +
        isDecoder - Whether the exception is created for a decoder.
        +
        mediaFormat - The MediaFormat used for configuring the underlying MediaCodec.
        +
        mediaCodecName - The name of the MediaCodec used, if known.
        +
        errorCode - See errorCode.
        +
        Returns:
        +
        The created instance.
        +
        +
      • +
      + + + +
        +
      • +

        createForCodec

        +
        public static TransformationException createForCodec​(Throwable cause,
        +                                                     boolean isVideo,
        +                                                     boolean isDecoder,
        +                                                     Format format,
        +                                                     @Nullable
        +                                                     String mediaCodecName,
        +                                                     int errorCode)
        +
        Creates an instance for a decoder or encoder related exception. + +

        Use this method before configuring the Codec, or when the Codec is not + configured with a MediaFormat.

        +
        +
        Parameters:
        +
        cause - The cause of the failure.
        +
        isVideo - Whether the decoder or encoder is configured for video.
        +
        isDecoder - Whether the exception is created for a decoder.
        +
        format - The Format used for configuring the Codec.
        mediaCodecName - The name of the MediaCodec used, if known.
        errorCode - See errorCode.
        Returns:
        diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationRequest.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationRequest.Builder.html index 59330a7aa9..3f0dcd23c1 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationRequest.Builder.html +++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationRequest.Builder.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10}; +var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -203,26 +203,42 @@ extends TransformationRequest.Builder +setEnableRequestSdrToneMapping​(boolean enableRequestSdrToneMapping) + +
        Sets whether to request tone-mapping to standard dynamic range (SDR).
        + + + +TransformationRequest.Builder setFlattenForSlowMotion​(boolean flattenForSlowMotion)
        Sets whether the input should be flattened for media containing slow motion markers.
        - + TransformationRequest.Builder setResolution​(int outputHeight)
        Sets the output resolution using the output height.
        - + TransformationRequest.Builder -setTransformationMatrix​(Matrix transformationMatrix) +setRotationDegrees​(float rotationDegrees) -
        Sets the transformation matrix.
        +
        Sets the rotation, in degrees, counterclockwise, to apply to each frame.
        - + +TransformationRequest.Builder +setScale​(float scaleX, + float scaleY) + +
        Sets the x and y axis scaling factors to apply to each frame's width and height, stretching + the video along these axes appropriately.
        + + + TransformationRequest.Builder setVideoMimeType​(String videoMimeType) @@ -276,30 +292,6 @@ extends

        Method Detail

        - - - -
          -
        • -

          setTransformationMatrix

          -
          public TransformationRequest.Builder setTransformationMatrix​(Matrix transformationMatrix)
          -
          Sets the transformation matrix. The default value is to apply no change. - -

          This can be used to perform operations supported by Matrix, like scaling and - rotating the video. - -

          The video dimensions will be on the x axis, from -aspectRatio to aspectRatio, and on the y - axis, from -1 to 1. - -

          For now, resolution will not be affected by this method.

          -
          -
          Parameters:
          -
          transformationMatrix - The transformation to apply to video frames.
          -
          Returns:
          -
          This builder.
          -
          -
        • -
        @@ -307,10 +299,11 @@ extends

        setFlattenForSlowMotion

        public TransformationRequest.Builder setFlattenForSlowMotion​(boolean flattenForSlowMotion)
        -
        Sets whether the input should be flattened for media containing slow motion markers. The - transformed output is obtained by removing the slow motion metadata and by actually slowing - down the parts of the video and audio streams defined in this metadata. The default value for - flattenForSlowMotion is false. +
        Sets whether the input should be flattened for media containing slow motion markers. + +

        The transformed output is obtained by removing the slow motion metadata and by actually + slowing down the parts of the video and audio streams defined in this metadata. The default + value for flattenForSlowMotion is false.

        Only Samsung Extension Format (SEF) slow motion metadata type is supported. The transformation has no effect if the input does not contain this metadata type. @@ -324,7 +317,9 @@ extends

        If specifying a MediaSource.Factory using Transformer.Builder.setMediaSourceFactory(MediaSource.Factory), make sure that Mp4Extractor.FLAG_READ_SEF_DATA is set on the Mp4Extractor used. Otherwise, the slow - motion metadata will be ignored and the input won't be flattened.

        + motion metadata will be ignored and the input won't be flattened. + +

        Using slow motion flattening together with MediaItem.ClippingConfiguration is not supported yet.

        Parameters:
        flattenForSlowMotion - Whether to flatten for slow motion.
        @@ -333,6 +328,50 @@ extends
      + + + +
        +
      • +

        setScale

        +
        public TransformationRequest.Builder setScale​(float scaleX,
        +                                              float scaleY)
        +
        Sets the x and y axis scaling factors to apply to each frame's width and height, stretching + the video along these axes appropriately. + +

        The default value for scaleX and scaleY, 1, corresponds to not scaling + along the x and y axes, respectively.

        +
        +
        Parameters:
        +
        scaleX - The multiplier by which the frame will scale horizontally, along the x-axis.
        +
        scaleY - The multiplier by which the frame will scale vertically, along the y-axis.
        +
        Returns:
        +
        This builder.
        +
        +
      • +
      + + + +
        +
      • +

        setRotationDegrees

        +
        public TransformationRequest.Builder setRotationDegrees​(float rotationDegrees)
        +
        Sets the rotation, in degrees, counterclockwise, to apply to each frame. + +

        The output frame's width and height are automatically adjusted to preserve all input + pixels. The rotated input frame is fitted inside an enclosing black rectangle if its edges + aren't parallel to the x and y axes. + +

        The default value, 0, corresponds to not applying any rotation.

        +
        +
        Parameters:
        +
        rotationDegrees - The counterclockwise rotation, in degrees.
        +
        Returns:
        +
        This builder.
        +
        +
      • +
      @@ -340,21 +379,21 @@ extends

      setResolution

      public TransformationRequest.Builder setResolution​(int outputHeight)
      -
      Sets the output resolution using the output height. The default value C.LENGTH_UNSET - corresponds to using the same height as the input. Output width will scale to preserve the - input video's aspect ratio. +
      Sets the output resolution using the output height. -

      For now, only "popular" heights like 144, 240, 360, 480, 720, 1080, 1440, or 2160 are - supported, to ensure compatibility on different devices. +

      Output width of the displayed video will scale to preserve the video's aspect ratio after + other transformations. -

      For example, a 1920x1440 video can be scaled to 640x480 by calling setResolution(480).

      +

      For example, a 1920x1440 video can be scaled to 640x480 by calling setResolution(480). + +

      The default value, C.LENGTH_UNSET, leaves the width and height unchanged unless + scaling or @linkplain #setRotationDegrees(float) + rotation} are requested.

      Parameters:
      -
      outputHeight - The output height in pixels.
      +
      outputHeight - The output height of the displayed video, in pixels.
      Returns:
      This builder.
      -
      Throws:
      -
      IllegalArgumentException - If the outputHeight is not supported.
    @@ -366,8 +405,10 @@ extends setVideoMimeType
    public TransformationRequest.Builder setVideoMimeType​(@Nullable
                                                           String videoMimeType)
    -
    Sets the video MIME type of the output. The default value is null which corresponds - to using the same MIME type as the input. Supported MIME types are: +
    Sets the video MIME type of the output. + +

    The default value is null which corresponds to using the same MIME type as the + input. Supported MIME types are:

  • @@ -394,8 +435,10 @@ extends setAudioMimeType
    public TransformationRequest.Builder setAudioMimeType​(@Nullable
                                                           String audioMimeType)
    -
    Sets the audio MIME type of the output. The default value is null which corresponds - to using the same MIME type as the input. Supported MIME types are: +
    Sets the audio MIME type of the output. + +

    The default value is null which corresponds to using the same MIME type as the + input. Supported MIME types are:

    +
  • + + + + +
      +
    • +

      setEnableRequestSdrToneMapping

      +
      public TransformationRequest.Builder setEnableRequestSdrToneMapping​(boolean enableRequestSdrToneMapping)
      +
      Sets whether to request tone-mapping to standard dynamic range (SDR). If enabled and + supported, high dynamic range (HDR) input will be tone-mapped into an SDR opto-electrical + transfer function before processing. + +

      The setting has no effect if the input is already in SDR, or if tone-mapping is not + supported. Currently tone-mapping is only guaranteed to be supported from Android T onwards.

      +
      +
      Parameters:
      +
      enableRequestSdrToneMapping - Whether to request tone-mapping down to SDR.
      +
      Returns:
      +
      This builder.
    @@ -425,7 +489,7 @@ extends This method is experimental, and will be renamed or removed in a future release. The HDR editing feature is under development and is intended for developing/testing HDR processing - and encoding support. + and encoding support. HDR editing can't be enabled at the same time as SDR tone-mapping.
    Parameters:
    enableHdrEditing - Whether to attempt to process any input video stream as a high diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationRequest.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationRequest.html index 6ffff3fd86..e7f341bc6a 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationRequest.html +++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationRequest.html @@ -181,8 +181,8 @@ extends String audioMimeType -
    The requested output audio sample MIME type, or null if inferred from - the input.
    +
    The requested output audio sample MIME type, or null if inferred + from the input.
    @@ -194,31 +194,54 @@ extends boolean +enableRequestSdrToneMapping + +
    Whether to request tone-mapping to standard dynamic range (SDR).
    + + + +boolean flattenForSlowMotion
    Whether the input should be flattened for media containing slow motion markers.
    - + int outputHeight
    The requested height of the output video, or C.LENGTH_UNSET if inferred from the input.
    - -Matrix -transformationMatrix + +float +rotationDegrees -
    A transformation matrix to apply to video frames.
    +
    The requested rotation, in degrees, of the output video, or 0 if inferred from the input.
    + + + +float +scaleX + +
    The requested scale factor, on the x-axis, of the output video, or 1 if inferred from the + input.
    +float +scaleY + +
    The requested scale factor, on the y-axis, of the output video, or 1 if inferred from the + input.
    + + + String videoMimeType -
    The requested output video sample MIME type, or null if inferred from - the input.
    +
    The requested output video sample MIME type, or null if inferred + from the input.
    @@ -281,20 +304,6 @@ extends

    Field Detail

    - - - - @@ -309,6 +318,50 @@ extends
  • + + + + + + + + + + + + @@ -331,8 +384,8 @@ extends audioMimeType
    @Nullable
     public final String audioMimeType
    -
    The requested output audio sample MIME type, or null if inferred from - the input.
    +
    The requested output audio sample MIME type, or null if inferred + from the input.
    See Also:
    TransformationRequest.Builder.setAudioMimeType(String)
    @@ -347,14 +400,24 @@ public final String videoMimeType -
    The requested output video sample MIME type, or null if inferred from - the input.
    +
    The requested output video sample MIME type, or null if inferred + from the input.
    See Also:
    TransformationRequest.Builder.setVideoMimeType(String)
  • + + + +
      +
    • +

      enableRequestSdrToneMapping

      +
      public final boolean enableRequestSdrToneMapping
      +
      Whether to request tone-mapping to standard dynamic range (SDR).
      +
    • +
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/trackselection/TrackSelectionOverrides.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationResult.Builder.html similarity index 62% rename from docs/doc/reference/com/google/android/exoplayer2/trackselection/TrackSelectionOverrides.Builder.html rename to docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationResult.Builder.html index 5f94a750cf..1fb09171f4 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/trackselection/TrackSelectionOverrides.Builder.html +++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationResult.Builder.html @@ -2,7 +2,7 @@ -TrackSelectionOverrides.Builder (ExoPlayer library) +TransformationResult.Builder (ExoPlayer library) @@ -19,13 +19,13 @@ + + + + + + + + + +
    + +
    + +
    +
    + +

    Class TransformationResult

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.google.android.exoplayer2.transformer.TransformationResult
      • +
      +
    • +
    +
    +
      +
    • +
      +
      public final class TransformationResult
      +extends Object
      +
      Information about the result of a successful transformation.
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Field Detail

        + + + +
          +
        • +

          durationMs

          +
          public final long durationMs
          +
          The duration of the file in milliseconds, or C.TIME_UNSET if unset or unknown.
          +
        • +
        + + + +
          +
        • +

          fileSizeBytes

          +
          public final long fileSizeBytes
          +
          The size of the file in bytes, or C.LENGTH_UNSET if unset or unknown.
          +
        • +
        + + + +
          +
        • +

          averageAudioBitrate

          +
          public final int averageAudioBitrate
          +
          The average bitrate of the audio track data, or C.RATE_UNSET_INT if unset or unknown.
          +
        • +
        + + + +
          +
        • +

          averageVideoBitrate

          +
          public final int averageVideoBitrate
          +
          The average bitrate of the video track data, or C.RATE_UNSET_INT if unset or unknown.
          +
        • +
        + + + +
          +
        • +

          videoFrameCount

          +
          public final int videoFrameCount
          +
          The number of video frames.
          +
        • +
        +
      • +
      +
      + +
      + +
      +
    • +
    +
    +
    +
    + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/Transformer.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/Transformer.Builder.html index 562c5bffbf..592fe42d5a 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/transformer/Transformer.Builder.html +++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/Transformer.Builder.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":42,"i5":10,"i6":10,"i7":42,"i8":42,"i9":10,"i10":10,"i11":42,"i12":10,"i13":10,"i14":10}; +var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":42,"i5":10,"i6":10,"i7":10,"i8":42,"i9":42,"i10":10,"i11":10,"i12":42,"i13":10,"i14":10,"i15":10,"i16":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -205,7 +205,7 @@ extends Transformer.Builder removeAllListeners() -
    Removes all listeners.
    +
    Removes all listeners.
    @@ -234,12 +234,19 @@ extends Transformer.Builder +setDecoderFactory​(Codec.DecoderFactory decoderFactory) + +
    Sets the Codec.DecoderFactory that will be used by the transformer.
    + + + +Transformer.Builder setEncoderFactory​(Codec.EncoderFactory encoderFactory)
    Sets the Codec.EncoderFactory that will be used by the transformer.
    - + Transformer.Builder setFlattenForSlowMotion​(boolean flattenForSlowMotion) @@ -249,7 +256,7 @@ extends - + Transformer.Builder setListener​(Transformer.Listener listener) @@ -258,7 +265,7 @@ extends - + Transformer.Builder setLooper​(Looper looper) @@ -266,14 +273,14 @@ extends - + Transformer.Builder setMediaSourceFactory​(MediaSource.Factory mediaSourceFactory)
    Sets the MediaSource.Factory to be used to retrieve the inputs to transform.
    - + Transformer.Builder setOutputMimeType​(String outputMimeType) @@ -283,27 +290,34 @@ extends - + Transformer.Builder setRemoveAudio​(boolean removeAudio)
    Sets whether to remove the audio from the output.
    - + Transformer.Builder setRemoveVideo​(boolean removeVideo)
    Sets whether to remove the video from the output.
    - + Transformer.Builder setTransformationRequest​(TransformationRequest transformationRequest)
    Sets the TransformationRequest which configures the editing and transcoding options.
    + +Transformer.Builder +setVideoFrameEffects​(List<GlEffect> effects) + +
    Sets the effects to apply to each video frame.
    + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/Transformer.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/Transformer.html index 561410fb0d..66d8c3c773 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/transformer/Transformer.html +++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/Transformer.html @@ -296,7 +296,7 @@ extends void removeAllListeners() -
    Removes all listeners.
    +
    Removes all listeners.
    @@ -484,7 +484,7 @@ public void setListener​(

    removeAllListeners

    public void removeAllListeners()
    -
    +
    Removes all listeners.
    Throws:
    IllegalStateException - If this method is called from the wrong thread.
    @@ -502,13 +502,13 @@ public void setListener​(IOException
    Starts an asynchronous operation to transform the given MediaItem. -

    The transformation state is notified through the listener. +

    The transformation state is notified through the listener.

    Concurrent transformations on the same Transformer object are not allowed.

    The output is an MP4 file. It can contain at most one video track and one audio track. Other - track types are ignored. For adaptive bitrate media sources, the highest - bitrate video and audio streams are selected.

    + track types are ignored. For adaptive bitrate media sources, the + highest bitrate video and audio streams are selected.
    Parameters:
    mediaItem - The MediaItem to transform.
    @@ -533,13 +533,13 @@ public void startTransformation​(IOException
    Starts an asynchronous operation to transform the given MediaItem. -

    The transformation state is notified through the listener. +

    The transformation state is notified through the listener.

    Concurrent transformations on the same Transformer object are not allowed.

    The output is an MP4 file. It can contain at most one video track and one audio track. Other - track types are ignored. For adaptive bitrate media sources, the highest - bitrate video and audio streams are selected.

    + track types are ignored. For adaptive bitrate media sources, the + highest bitrate video and audio streams are selected.
    Parameters:
    mediaItem - The MediaItem to transform.
    @@ -576,8 +576,7 @@ public void startTransformation​(Returns the current Transformer.ProgressState and updates progressHolder with the current progress if it is available. -

    After a transformation completes, this - method returns PROGRESS_STATE_NO_TRANSFORMATION. +

    After a transformation completes, this method returns PROGRESS_STATE_NO_TRANSFORMATION.

    Parameters:
    progressHolder - A ProgressHolder, updated to hold the percentage progress if diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.BitrateMode.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.BitrateMode.html new file mode 100644 index 0000000000..fc705f4c9b --- /dev/null +++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.BitrateMode.html @@ -0,0 +1,193 @@ + + + + +VideoEncoderSettings.BitrateMode (ExoPlayer library) + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Annotation Type VideoEncoderSettings.BitrateMode

    +
    +
    +
    + +
    +
    +
    + +
    + +
    + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.Builder.html new file mode 100644 index 0000000000..9aee2a3be0 --- /dev/null +++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.Builder.html @@ -0,0 +1,469 @@ + + + + +VideoEncoderSettings.Builder (ExoPlayer library) + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Class VideoEncoderSettings.Builder

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.google.android.exoplayer2.transformer.VideoEncoderSettings.Builder
      • +
      +
    • +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.html new file mode 100644 index 0000000000..cdde2cdfa5 --- /dev/null +++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.html @@ -0,0 +1,582 @@ + + + + +VideoEncoderSettings (ExoPlayer library) + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Class VideoEncoderSettings

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.google.android.exoplayer2.transformer.VideoEncoderSettings
      • +
      +
    • +
    +
    +
      +
    • +
      +
      public final class VideoEncoderSettings
      +extends Object
      +
      Represents the video encoder settings.
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Field Detail

        + + + +
          +
        • +

          NO_VALUE

          +
          public static final int NO_VALUE
          +
          A value for various fields to indicate that the field's value is unknown or not applicable.
          +
          +
          See Also:
          +
          Constant Field Values
          +
          +
        • +
        + + + +
          +
        • +

          DEFAULT_COLOR_PROFILE

          +
          public static final int DEFAULT_COLOR_PROFILE
          +
          The default encoding color profile.
          +
          +
          See Also:
          +
          Constant Field Values
          +
          +
        • +
        + + + +
          +
        • +

          DEFAULT_I_FRAME_INTERVAL_SECONDS

          +
          public static final float DEFAULT_I_FRAME_INTERVAL_SECONDS
          +
          The default I-frame interval in seconds.
          +
          +
          See Also:
          +
          Constant Field Values
          +
          +
        • +
        + + + + + + + +
          +
        • +

          bitrate

          +
          public final int bitrate
          +
          The encoding bitrate.
          +
        • +
        + + + +
          +
        • +

          bitrateMode

          +
          public final @com.google.android.exoplayer2.transformer.VideoEncoderSettings.BitrateMode int bitrateMode
          + +
        • +
        + + + +
          +
        • +

          profile

          +
          public final int profile
          +
          The encoding profile.
          +
        • +
        + + + +
          +
        • +

          level

          +
          public final int level
          +
          The encoding level.
          +
        • +
        + + + +
          +
        • +

          colorProfile

          +
          public final int colorProfile
          +
          The encoding color profile.
          +
        • +
        + + + +
          +
        • +

          iFrameIntervalSeconds

          +
          public final float iFrameIntervalSeconds
          +
          The encoding I-Frame interval in seconds.
          +
        • +
        + + + +
          +
        • +

          operatingRate

          +
          public final int operatingRate
          +
          The encoder operating rate.
          +
        • +
        + + + +
          +
        • +

          priority

          +
          public final int priority
          +
          The encoder priority.
          +
        • +
        +
      • +
      +
      + +
      + +
      +
    • +
    +
    +
    +
    + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/package-summary.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/package-summary.html index f438f08e2d..d6aeda3d7a 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/transformer/package-summary.html +++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/package-summary.html @@ -104,15 +104,51 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); -Codec.DecoderFactory +Codec -
    A factory for decoder instances.
    +
    Provides a layer of abstraction for interacting with decoders and encoders.
    +Codec.DecoderFactory + +
    A factory for decoder instances.
    + + + Codec.EncoderFactory -
    A factory for encoder instances.
    +
    A factory for encoder instances.
    + + + +EncoderSelector + +
    Selector of MediaCodec encoder instances.
    + + + +GlEffect + +
    Interface for a video frame effect with a SingleFrameGlTextureProcessor implementation.
    + + + +GlMatrixTransformation + +
    Specifies a 4x4 transformation Matrix to apply in the vertex shader for each frame.
    + + + +MatrixTransformation + +
    Specifies a 3x3 transformation Matrix to apply in the vertex shader for each frame.
    + + + +SingleFrameGlTextureProcessor + +
    Manages a GLSL shader program for processing a frame.
    @@ -139,47 +175,103 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); -Codec +DefaultCodec -
    A wrapper around MediaCodec.
    +
    A default Codec implementation that uses MediaCodec.
    +DefaultEncoderFactory + +
    A default implementation of Codec.EncoderFactory.
    + + + EncoderUtil
    Utility methods for MediaCodec encoders.
    + +Presentation + +
    Controls how a frame is presented with options to set the output resolution, crop the input, and + choose how to map the input pixels onto the output frame geometry (for example, by stretching the + input frame to match the specified output frame, or fitting the input frame using letterboxing).
    + + +Presentation.Builder + +
    A builder for Presentation instances.
    + + + ProgressHolder
    Holds a progress percentage.
    + +ScaleToFitTransformation + +
    Specifies a simple rotation and/or scale to apply in the vertex shader.
    + + +ScaleToFitTransformation.Builder + +
    A builder for ScaleToFitTransformation instances.
    + + + TransformationRequest
    A media transformation request.
    - + TransformationRequest.Builder
    A builder for TransformationRequest instances.
    + +TransformationResult + +
    Information about the result of a successful transformation.
    + + +TransformationResult.Builder + +
    A builder for TransformationResult instances.
    + + + Transformer
    A transformer to transform media inputs.
    - + Transformer.Builder
    A builder for Transformer instances.
    + +VideoEncoderSettings + +
    Represents the video encoder settings.
    + + + +VideoEncoderSettings.Builder + +
    Builds VideoEncoderSettings instances.
    + +
  • @@ -192,6 +284,12 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); +FrameProcessingException + +
    Thrown when an exception occurs while applying effects to video frames.
    + + + TransformationException
    Thrown when a non-locally recoverable transformation failure occurs.
    @@ -209,17 +307,32 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); +Presentation.Layout + +
    Strategies controlling the layout of input pixels in the output frame.
    + + + TransformationException.ErrorCode
    Codes that identify causes of Transformer errors.
    - + Transformer.ProgressState
    Progress state.
    + +VideoEncoderSettings.BitrateMode + +
    The allowed values for bitrateMode, one of + + + Constant quality: MediaCodecInfo.EncoderCapabilities.BITRATE_MODE_CQ.
    + +
  • diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/package-tree.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/package-tree.html index d393cdea3e..c7f8c1832d 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/transformer/package-tree.html +++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/package-tree.html @@ -103,13 +103,19 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
  • diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/DefaultTimeBar.html b/docs/doc/reference/com/google/android/exoplayer2/ui/DefaultTimeBar.html index 4eb9cfff2e..83581ff688 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/ui/DefaultTimeBar.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ui/DefaultTimeBar.html @@ -366,7 +366,7 @@ implements View -ACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR, AUTOFILL_HINT_CREDIT_CARD_NUMBER, AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE, AUTOFILL_HINT_EMAIL_ADDRESS, AUTOFILL_HINT_NAME, AUTOFILL_HINT_PASSWORD, AUTOFILL_HINT_PHONE, AUTOFILL_HINT_POSTAL_ADDRESS, AUTOFILL_HINT_POSTAL_CODE, AUTOFILL_HINT_USERNAME, AUTOFILL_TYPE_DATE, AUTOFILL_TYPE_LIST, AUTOFILL_TYPE_NONE, AUTOFILL_TYPE_TEXT, AUTOFILL_TYPE_TOGGLE, DRAG_FLAG_GLOBAL, DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION, DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION, DRAG_FLAG_GLOBAL_URI_READ, DRAG_FLAG_GLOBAL_URI_WRITE, DRAG_FLAG_OPAQUE, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLE, FOCUSABLE_AUTO, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, IMPORTANT_FOR_AUTOFILL_AUTO, IMPORTANT_FOR_AUTOFILL_NO, IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_AUTOFILL_YES, IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_AUTO, IMPORTANT_FOR_CONTENT_CAPTURE_NO, IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_YES, IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, NOT_FOCUSABLE, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL, SCROLL_CAPTURE_HINT_AUTO, SCROLL_CAPTURE_HINT_EXCLUDE, SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS, SCROLL_CAPTURE_HINT_INCLUDE, SCROLL_INDICATOR_BOTTOM, SCROLL_INDICATOR_END, SCROLL_INDICATOR_LEFT, SCROLL_INDICATOR_RIGHT, SCROLL_INDICATOR_START, SCROLL_INDICATOR_TOP, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR, SYSTEM_UI_FLAG_LIGHT_STATUS_BAR, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_FIRST_STRONG_LTR, TEXT_DIRECTION_FIRST_STRONG_RTL, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y, Z
  • +ACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR, AUTOFILL_HINT_CREDIT_CARD_NUMBER, AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE, AUTOFILL_HINT_EMAIL_ADDRESS, AUTOFILL_HINT_NAME, AUTOFILL_HINT_PASSWORD, AUTOFILL_HINT_PHONE, AUTOFILL_HINT_POSTAL_ADDRESS, AUTOFILL_HINT_POSTAL_CODE, AUTOFILL_HINT_USERNAME, AUTOFILL_TYPE_DATE, AUTOFILL_TYPE_LIST, AUTOFILL_TYPE_NONE, AUTOFILL_TYPE_TEXT, AUTOFILL_TYPE_TOGGLE, DRAG_FLAG_ACCESSIBILITY_ACTION, DRAG_FLAG_GLOBAL, DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION, DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION, DRAG_FLAG_GLOBAL_URI_READ, DRAG_FLAG_GLOBAL_URI_WRITE, DRAG_FLAG_OPAQUE, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLE, FOCUSABLE_AUTO, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, IMPORTANT_FOR_AUTOFILL_AUTO, IMPORTANT_FOR_AUTOFILL_NO, IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_AUTOFILL_YES, IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_AUTO, IMPORTANT_FOR_CONTENT_CAPTURE_NO, IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_YES, IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, NOT_FOCUSABLE, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL, SCROLL_CAPTURE_HINT_AUTO, SCROLL_CAPTURE_HINT_EXCLUDE, SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS, SCROLL_CAPTURE_HINT_INCLUDE, SCROLL_INDICATOR_BOTTOM, SCROLL_INDICATOR_END, SCROLL_INDICATOR_LEFT, SCROLL_INDICATOR_RIGHT, SCROLL_INDICATOR_START, SCROLL_INDICATOR_TOP, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR, SYSTEM_UI_FLAG_LIGHT_STATUS_BAR, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_FIRST_STRONG_LTR, TEXT_DIRECTION_FIRST_STRONG_RTL, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y, Z
  • diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/PlayerControlView.html b/docs/doc/reference/com/google/android/exoplayer2/ui/PlayerControlView.html index 7ec9a82739..1006710267 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/ui/PlayerControlView.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ui/PlayerControlView.html @@ -438,7 +438,7 @@ extends View -ACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR, AUTOFILL_HINT_CREDIT_CARD_NUMBER, AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE, AUTOFILL_HINT_EMAIL_ADDRESS, AUTOFILL_HINT_NAME, AUTOFILL_HINT_PASSWORD, AUTOFILL_HINT_PHONE, AUTOFILL_HINT_POSTAL_ADDRESS, AUTOFILL_HINT_POSTAL_CODE, AUTOFILL_HINT_USERNAME, AUTOFILL_TYPE_DATE, AUTOFILL_TYPE_LIST, AUTOFILL_TYPE_NONE, AUTOFILL_TYPE_TEXT, AUTOFILL_TYPE_TOGGLE, DRAG_FLAG_GLOBAL, DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION, DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION, DRAG_FLAG_GLOBAL_URI_READ, DRAG_FLAG_GLOBAL_URI_WRITE, DRAG_FLAG_OPAQUE, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLE, FOCUSABLE_AUTO, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, IMPORTANT_FOR_AUTOFILL_AUTO, IMPORTANT_FOR_AUTOFILL_NO, IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_AUTOFILL_YES, IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_AUTO, IMPORTANT_FOR_CONTENT_CAPTURE_NO, IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_YES, IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, NOT_FOCUSABLE, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL, SCROLL_CAPTURE_HINT_AUTO, SCROLL_CAPTURE_HINT_EXCLUDE, SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS, SCROLL_CAPTURE_HINT_INCLUDE, SCROLL_INDICATOR_BOTTOM, SCROLL_INDICATOR_END, SCROLL_INDICATOR_LEFT, SCROLL_INDICATOR_RIGHT, SCROLL_INDICATOR_START, SCROLL_INDICATOR_TOP, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR, SYSTEM_UI_FLAG_LIGHT_STATUS_BAR, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_FIRST_STRONG_LTR, TEXT_DIRECTION_FIRST_STRONG_RTL, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y, Z
  • +ACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR, AUTOFILL_HINT_CREDIT_CARD_NUMBER, AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE, AUTOFILL_HINT_EMAIL_ADDRESS, AUTOFILL_HINT_NAME, AUTOFILL_HINT_PASSWORD, AUTOFILL_HINT_PHONE, AUTOFILL_HINT_POSTAL_ADDRESS, AUTOFILL_HINT_POSTAL_CODE, AUTOFILL_HINT_USERNAME, AUTOFILL_TYPE_DATE, AUTOFILL_TYPE_LIST, AUTOFILL_TYPE_NONE, AUTOFILL_TYPE_TEXT, AUTOFILL_TYPE_TOGGLE, DRAG_FLAG_ACCESSIBILITY_ACTION, DRAG_FLAG_GLOBAL, DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION, DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION, DRAG_FLAG_GLOBAL_URI_READ, DRAG_FLAG_GLOBAL_URI_WRITE, DRAG_FLAG_OPAQUE, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLE, FOCUSABLE_AUTO, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, IMPORTANT_FOR_AUTOFILL_AUTO, IMPORTANT_FOR_AUTOFILL_NO, IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_AUTOFILL_YES, IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_AUTO, IMPORTANT_FOR_CONTENT_CAPTURE_NO, IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_YES, IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, NOT_FOCUSABLE, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL, SCROLL_CAPTURE_HINT_AUTO, SCROLL_CAPTURE_HINT_EXCLUDE, SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS, SCROLL_CAPTURE_HINT_INCLUDE, SCROLL_INDICATOR_BOTTOM, SCROLL_INDICATOR_END, SCROLL_INDICATOR_LEFT, SCROLL_INDICATOR_RIGHT, SCROLL_INDICATOR_START, SCROLL_INDICATOR_TOP, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR, SYSTEM_UI_FLAG_LIGHT_STATUS_BAR, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_FIRST_STRONG_LTR, TEXT_DIRECTION_FIRST_STRONG_RTL, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y, Z
  • diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/PlayerView.html b/docs/doc/reference/com/google/android/exoplayer2/ui/PlayerView.html index ddf6e07516..f593e0cb08 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/ui/PlayerView.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ui/PlayerView.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":42,"i1":42,"i2":42,"i3":42,"i4":42,"i5":42,"i6":42,"i7":42,"i8":42,"i9":42,"i10":42,"i11":42,"i12":42,"i13":42,"i14":42,"i15":42,"i16":42,"i17":42,"i18":42,"i19":42,"i20":42,"i21":42,"i22":42,"i23":42,"i24":42,"i25":42,"i26":42,"i27":42,"i28":42,"i29":42,"i30":42,"i31":42,"i32":42,"i33":42,"i34":42,"i35":42,"i36":42,"i37":42,"i38":42,"i39":42,"i40":42,"i41":42,"i42":42,"i43":42,"i44":42,"i45":42,"i46":42,"i47":42,"i48":42,"i49":41}; +var data = {"i0":42,"i1":42,"i2":42,"i3":42,"i4":42,"i5":42,"i6":42,"i7":42,"i8":42,"i9":42,"i10":42,"i11":42,"i12":42,"i13":42,"i14":42,"i15":42,"i16":42,"i17":42,"i18":42,"i19":42,"i20":42,"i21":42,"i22":42,"i23":42,"i24":42,"i25":42,"i26":42,"i27":42,"i28":42,"i29":42,"i30":42,"i31":42,"i32":42,"i33":42,"i34":42,"i35":42,"i36":42,"i37":42,"i38":42,"i39":42,"i40":42,"i41":42,"i42":42,"i43":42,"i44":42,"i45":42,"i46":42,"i47":42,"i48":41}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -437,7 +437,7 @@ implements View -ACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR, AUTOFILL_HINT_CREDIT_CARD_NUMBER, AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE, AUTOFILL_HINT_EMAIL_ADDRESS, AUTOFILL_HINT_NAME, AUTOFILL_HINT_PASSWORD, AUTOFILL_HINT_PHONE, AUTOFILL_HINT_POSTAL_ADDRESS, AUTOFILL_HINT_POSTAL_CODE, AUTOFILL_HINT_USERNAME, AUTOFILL_TYPE_DATE, AUTOFILL_TYPE_LIST, AUTOFILL_TYPE_NONE, AUTOFILL_TYPE_TEXT, AUTOFILL_TYPE_TOGGLE, DRAG_FLAG_GLOBAL, DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION, DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION, DRAG_FLAG_GLOBAL_URI_READ, DRAG_FLAG_GLOBAL_URI_WRITE, DRAG_FLAG_OPAQUE, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLE, FOCUSABLE_AUTO, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, IMPORTANT_FOR_AUTOFILL_AUTO, IMPORTANT_FOR_AUTOFILL_NO, IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_AUTOFILL_YES, IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_AUTO, IMPORTANT_FOR_CONTENT_CAPTURE_NO, IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_YES, IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, NOT_FOCUSABLE, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL, SCROLL_CAPTURE_HINT_AUTO, SCROLL_CAPTURE_HINT_EXCLUDE, SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS, SCROLL_CAPTURE_HINT_INCLUDE, SCROLL_INDICATOR_BOTTOM, SCROLL_INDICATOR_END, SCROLL_INDICATOR_LEFT, SCROLL_INDICATOR_RIGHT, SCROLL_INDICATOR_START, SCROLL_INDICATOR_TOP, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR, SYSTEM_UI_FLAG_LIGHT_STATUS_BAR, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_FIRST_STRONG_LTR, TEXT_DIRECTION_FIRST_STRONG_RTL, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y, Z
  • +ACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR, AUTOFILL_HINT_CREDIT_CARD_NUMBER, AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE, AUTOFILL_HINT_EMAIL_ADDRESS, AUTOFILL_HINT_NAME, AUTOFILL_HINT_PASSWORD, AUTOFILL_HINT_PHONE, AUTOFILL_HINT_POSTAL_ADDRESS, AUTOFILL_HINT_POSTAL_CODE, AUTOFILL_HINT_USERNAME, AUTOFILL_TYPE_DATE, AUTOFILL_TYPE_LIST, AUTOFILL_TYPE_NONE, AUTOFILL_TYPE_TEXT, AUTOFILL_TYPE_TOGGLE, DRAG_FLAG_ACCESSIBILITY_ACTION, DRAG_FLAG_GLOBAL, DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION, DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION, DRAG_FLAG_GLOBAL_URI_READ, DRAG_FLAG_GLOBAL_URI_WRITE, DRAG_FLAG_OPAQUE, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLE, FOCUSABLE_AUTO, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, IMPORTANT_FOR_AUTOFILL_AUTO, IMPORTANT_FOR_AUTOFILL_NO, IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_AUTOFILL_YES, IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_AUTO, IMPORTANT_FOR_CONTENT_CAPTURE_NO, IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_YES, IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, NOT_FOCUSABLE, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL, SCROLL_CAPTURE_HINT_AUTO, SCROLL_CAPTURE_HINT_EXCLUDE, SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS, SCROLL_CAPTURE_HINT_INCLUDE, SCROLL_INDICATOR_BOTTOM, SCROLL_INDICATOR_END, SCROLL_INDICATOR_LEFT, SCROLL_INDICATOR_RIGHT, SCROLL_INDICATOR_START, SCROLL_INDICATOR_TOP, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR, SYSTEM_UI_FLAG_LIGHT_STATUS_BAR, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_FIRST_STRONG_LTR, TEXT_DIRECTION_FIRST_STRONG_RTL, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y, Z @@ -663,26 +663,19 @@ implements boolean -onTouchEvent​(MotionEvent event) +onTrackballEvent​(MotionEvent ev)
    Deprecated.
      boolean -onTrackballEvent​(MotionEvent ev) - -
    Deprecated.
    -  - - -boolean performClick()
    Deprecated.
      - + void setAspectRatioListener​(AspectRatioFrameLayout.AspectRatioListener listener) @@ -690,7 +683,7 @@ implements Sets the AspectRatioFrameLayout.AspectRatioListener. - + void setControllerAutoShow​(boolean controllerAutoShow) @@ -699,7 +692,7 @@ implements + void setControllerHideDuringAds​(boolean controllerHideDuringAds) @@ -707,7 +700,7 @@ implements Sets whether the playback controls are hidden when ads are playing. - + void setControllerHideOnTouch​(boolean controllerHideOnTouch) @@ -715,7 +708,7 @@ implements Sets whether the playback controls are hidden by touch events. - + void setControllerShowTimeoutMs​(int controllerShowTimeoutMs) @@ -723,7 +716,7 @@ implements Sets the playback controls timeout. - + void setControllerVisibilityListener​(PlayerControlView.VisibilityListener listener) @@ -731,7 +724,7 @@ implements Sets the PlayerControlView.VisibilityListener. - + void setCustomErrorMessage​(CharSequence message) @@ -739,7 +732,7 @@ implements Sets a custom error message to be displayed by the view. - + void setDefaultArtwork​(Drawable defaultArtwork) @@ -748,7 +741,7 @@ implements + void setErrorMessageProvider​(ErrorMessageProvider<? super PlaybackException> errorMessageProvider) @@ -756,7 +749,7 @@ implements Sets the optional ErrorMessageProvider. - + void setExtraAdGroupMarkers​(long[] extraAdGroupTimesMs, boolean[] extraPlayedAdGroups) @@ -766,7 +759,7 @@ implements + void setKeepContentOnPlayerReset​(boolean keepContentOnPlayerReset) @@ -775,7 +768,7 @@ implements + void setPlayer​(Player player) @@ -783,7 +776,7 @@ implements Sets the Player to use. - + void setRepeatToggleModes​(@com.google.android.exoplayer2.util.RepeatModeUtil.RepeatToggleModes int repeatToggleModes) @@ -791,7 +784,7 @@ implements Sets which repeat toggle modes are enabled. - + void setResizeMode​(@com.google.android.exoplayer2.ui.AspectRatioFrameLayout.ResizeMode int resizeMode) @@ -799,7 +792,7 @@ implements Sets the AspectRatioFrameLayout.ResizeMode. - + void setShowBuffering​(@com.google.android.exoplayer2.ui.PlayerView.ShowBuffering int showBuffering) @@ -807,7 +800,7 @@ implements Sets whether a buffering spinner is displayed when the player is in the buffering state. - + void setShowFastForwardButton​(boolean showFastForwardButton) @@ -815,7 +808,7 @@ implements Sets whether the fast forward button is shown. - + void setShowMultiWindowTimeBar​(boolean showMultiWindowTimeBar) @@ -823,7 +816,7 @@ implements Sets whether the time bar should show all windows, as opposed to just the current one. - + void setShowNextButton​(boolean showNextButton) @@ -831,7 +824,7 @@ implements Sets whether the next button is shown. - + void setShowPreviousButton​(boolean showPreviousButton) @@ -839,7 +832,7 @@ implements Sets whether the previous button is shown. - + void setShowRewindButton​(boolean showRewindButton) @@ -847,7 +840,7 @@ implements Sets whether the rewind button is shown. - + void setShowShuffleButton​(boolean showShuffleButton) @@ -855,7 +848,7 @@ implements Sets whether the shuffle button is shown. - + void setShutterBackgroundColor​(int color) @@ -863,7 +856,7 @@ implements Sets the background color of the exo_shutter view. - + void setUseArtwork​(boolean useArtwork) @@ -871,7 +864,7 @@ implements Sets whether artwork is displayed if present in the media. - + void setUseController​(boolean useController) @@ -879,14 +872,14 @@ implements Sets whether the playback controls can be shown. - + void setVisibility​(int visibility)
    Deprecated.
      - + void showController() @@ -894,7 +887,7 @@ implements Shows the playback controls. - + static void switchTargetView​(Player player, PlayerView oldPlayerView, @@ -924,7 +917,7 @@ implements View -addFocusables, addOnAttachStateChangeListener, addOnLayoutChangeListener, addOnUnhandledKeyEventListener, animate, announceForAccessibility, autofill, autofill, awakenScrollBars, awakenScrollBars, awakenScrollBars, bringToFront, buildDrawingCache, buildDrawingCache, buildLayer, callOnClick, cancelDragAndDrop, cancelLongPress, cancelPendingInputEvents, canResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, canScrollHorizontally, canScrollVertically, checkInputConnectionProxy, clearAnimation, clearViewTranslationCallback, combineMeasuredStates, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeScroll, computeSystemWindowInsets, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, createAccessibilityNodeInfo, createContextMenu, destroyDrawingCache, dispatchGenericMotionEvent, dispatchNestedFling, dispatchNestedPreFling, dispatchNestedPrePerformAccessibilityAction, dispatchNestedPreScroll, dispatchNestedScroll, dispatchPopulateAccessibilityEvent, draw, drawableHotspotChanged, findViewById, findViewWithTag, fitSystemWindows, focusSearch, forceHasOverlappingRendering, forceLayout, generateDisplayHash, generateViewId, getAccessibilityDelegate, getAccessibilityLiveRegion, getAccessibilityNodeProvider, getAccessibilityPaneTitle, getAccessibilityTraversalAfter, getAccessibilityTraversalBefore, getAlpha, getAnimation, getAnimationMatrix, getApplicationWindowToken, getAttributeResolutionStack, getAttributeSourceResourceMap, getAutofillHints, getAutofillId, getAutofillType, getAutofillValue, getBackground, getBackgroundTintBlendMode, getBackgroundTintList, getBackgroundTintMode, getBaseline, getBottom, getBottomFadingEdgeStrength, getBottomPaddingOffset, getCameraDistance, getClipBounds, getClipBounds, getClipToOutline, getContentCaptureSession, getContentDescription, getContext, getContextMenuInfo, getDefaultFocusHighlightEnabled, getDefaultSize, getDisplay, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getElevation, getExplicitStyle, getFilterTouchesWhenObscured, getFitsSystemWindows, getFocusable, getFocusables, getFocusedRect, getForeground, getForegroundGravity, getForegroundTintBlendMode, getForegroundTintList, getForegroundTintMode, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHasOverlappingRendering, getHeight, getHitRect, getHorizontalFadingEdgeLength, getHorizontalScrollbarHeight, getHorizontalScrollbarThumbDrawable, getHorizontalScrollbarTrackDrawable, getId, getImportantForAccessibility, getImportantForAutofill, getImportantForContentCapture, getKeepScreenOn, getKeyDispatcherState, getLabelFor, getLayerType, getLayoutDirection, getLayoutParams, getLeft, getLeftFadingEdgeStrength, getLeftPaddingOffset, getLocalVisibleRect, getLocationInSurface, getLocationInWindow, getLocationOnScreen, getMatrix, getMeasuredHeight, getMeasuredHeightAndState, getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState, getMinimumHeight, getMinimumWidth, getNextClusterForwardId, getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getOutlineAmbientShadowColor, getOutlineProvider, getOutlineSpotShadowColor, getOverScrollMode, getPaddingBottom, getPaddingEnd, getPaddingLeft, getPaddingRight, getPaddingStart, getPaddingTop, getParent, getParentForAccessibility, getPivotX, getPivotY, getPointerIcon, getReceiveContentMimeTypes, getResources, getRevealOnFocusHint, getRight, getRightFadingEdgeStrength, getRightPaddingOffset, getRootSurfaceControl, getRootView, getRootWindowInsets, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade, getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle, getScrollCaptureHint, getScrollIndicators, getScrollX, getScrollY, getSolidColor, getSourceLayoutResId, getStateDescription, getStateListAnimator, getSuggestedMinimumHeight, getSuggestedMinimumWidth, getSystemGestureExclusionRects, getSystemUiVisibility, getTag, getTag, getTextAlignment, getTextDirection, getTooltipText, getTop, getTopFadingEdgeStrength, getTopPaddingOffset, getTouchables, getTouchDelegate, getTransitionAlpha, getTransitionName, getTranslationX, getTranslationY, getTranslationZ, getUniqueDrawingId, getVerticalFadingEdgeLength, getVerticalScrollbarPosition, getVerticalScrollbarThumbDrawable, getVerticalScrollbarTrackDrawable, getVerticalScrollbarWidth, getViewTranslationResponse, getViewTreeObserver, getVisibility, getWidth, getWindowAttachCount, getWindowId, getWindowInsetsController, getWindowSystemUiVisibility, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, getZ, hasExplicitFocusable, hasFocusable, hasNestedScrollingParent, hasOnClickListeners, hasOnLongClickListeners, hasOverlappingRendering, hasPointerCapture, hasWindowFocus, inflate, invalidate, invalidate, invalidate, invalidateDrawable, invalidateOutline, isAccessibilityFocused, isAccessibilityHeading, isActivated, isAttachedToWindow, isClickable, isContextClickable, isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isFocusedByDefault, isForceDarkAllowed, isHapticFeedbackEnabled, isHardwareAccelerated, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isHovered, isImportantForAccessibility, isImportantForAutofill, isImportantForContentCapture, isInEditMode, isInLayout, isInTouchMode, isKeyboardNavigationCluster, isLaidOut, isLayoutDirectionResolved, isLayoutRequested, isLongClickable, isNestedScrollingEnabled, isOpaque, isPaddingOffsetRequired, isPaddingRelative, isPivotSet, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScreenReaderFocusable, isScrollbarFadingEnabled, isScrollContainer, isSelected, isShowingLayoutBounds, isShown, isSoundEffectsEnabled, isTemporarilyDetached, isTextAlignmentResolved, isTextDirectionResolved, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, isVisibleToUserForAutofill, keyboardNavigationClusterSearch, measure, mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom, onAnimationEnd, onAnimationStart, onApplyWindowInsets, onCancelPendingInputEvents, onCapturedPointerEvent, onCheckIsTextEditor, onConfigurationChanged, onCreateContextMenu, onCreateInputConnection, onCreateViewTranslationRequest, onCreateVirtualViewTranslationRequests, onDisplayHint, onDragEvent, onDraw, onDrawForeground, onDrawScrollBars, onFilterTouchEventForSecurity, onFinishInflate, onFinishTemporaryDetach, onFocusChanged, onGenericMotionEvent, onHoverChanged, onHoverEvent, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onOverScrolled, onPointerCaptureChange, onPopulateAccessibilityEvent, onProvideAutofillStructure, onProvideAutofillVirtualStructure, onProvideContentCaptureStructure, onProvideStructure, onProvideVirtualStructure, onReceiveContent, onRestoreInstanceState, onRtlPropertiesChanged, onSaveInstanceState, onScreenStateChanged, onScrollCaptureSearch, onScrollChanged, onSetAlpha, onSizeChanged, onStartTemporaryDetach, onViewTranslationResponse, onVirtualViewTranslationResponses, onVisibilityAggregated, onVisibilityChanged, onWindowFocusChanged, onWindowSystemUiVisibilityChanged, onWindowVisibilityChanged, overScrollBy, performAccessibilityAction, performContextClick, performContextClick, performHapticFeedback, performHapticFeedback, performLongClick, performLongClick, performReceiveContent, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, postInvalidateOnAnimation, postInvalidateOnAnimation, postOnAnimation, postOnAnimationDelayed, refreshDrawableState, releasePointerCapture, removeCallbacks, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, removeOnUnhandledKeyEventListener, requestApplyInsets, requestFitSystemWindows, requestFocus, requestFocus, requestFocusFromTouch, requestLayout, requestPointerCapture, requestRectangleOnScreen, requestRectangleOnScreen, requestUnbufferedDispatch, requestUnbufferedDispatch, requireViewById, resetPivot, resolveSize, resolveSizeAndState, restoreHierarchyState, saveAttributeDataForStyleable, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAccessibilityDelegate, setAccessibilityHeading, setAccessibilityLiveRegion, setAccessibilityPaneTitle, setAccessibilityTraversalAfter, setAccessibilityTraversalBefore, setActivated, setAllowClickWhenDisabled, setAlpha, setAnimation, setAnimationMatrix, setAutofillHints, setAutofillId, setBackground, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setBackgroundTintBlendMode, setBackgroundTintList, setBackgroundTintMode, setBottom, setCameraDistance, setClickable, setClipBounds, setClipToOutline, setContentCaptureSession, setContentDescription, setContextClickable, setDefaultFocusHighlightEnabled, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setElevation, setEnabled, setFadingEdgeLength, setFilterTouchesWhenObscured, setFitsSystemWindows, setFocusable, setFocusable, setFocusableInTouchMode, setFocusedByDefault, setForceDarkAllowed, setForeground, setForegroundTintBlendMode, setForegroundTintList, setForegroundTintMode, setHapticFeedbackEnabled, setHasTransientState, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setHorizontalScrollbarThumbDrawable, setHorizontalScrollbarTrackDrawable, setHovered, setId, setImportantForAccessibility, setImportantForAutofill, setImportantForContentCapture, setKeepScreenOn, setKeyboardNavigationCluster, setLabelFor, setLayerPaint, setLayerType, setLayoutDirection, setLayoutParams, setLeft, setLeftTopRightBottom, setLongClickable, setMeasuredDimension, setMinimumHeight, setMinimumWidth, setNestedScrollingEnabled, setNextClusterForwardId, setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnApplyWindowInsetsListener, setOnCapturedPointerListener, setOnClickListener, setOnContextClickListener, setOnCreateContextMenuListener, setOnDragListener, setOnFocusChangeListener, setOnGenericMotionListener, setOnHoverListener, setOnKeyListener, setOnLongClickListener, setOnReceiveContentListener, setOnScrollChangeListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setOutlineAmbientShadowColor, setOutlineProvider, setOutlineSpotShadowColor, setOverScrollMode, setPadding, setPaddingRelative, setPivotX, setPivotY, setPointerIcon, setPressed, setRenderEffect, setRevealOnFocusHint, setRight, setRotation, setRotationX, setRotationY, setSaveEnabled, setSaveFromParentEnabled, setScaleX, setScaleY, setScreenReaderFocusable, setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration, setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle, setScrollCaptureCallback, setScrollCaptureHint, setScrollContainer, setScrollIndicators, setScrollIndicators, setScrollX, setScrollY, setSelected, setSoundEffectsEnabled, setStateDescription, setStateListAnimator, setSystemGestureExclusionRects, setSystemUiVisibility, setTag, setTag, setTextAlignment, setTextDirection, setTooltipText, setTop, setTouchDelegate, setTransitionAlpha, setTransitionName, setTransitionVisibility, setTranslationX, setTranslationY, setTranslationZ, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVerticalScrollbarPosition, setVerticalScrollbarThumbDrawable, setVerticalScrollbarTrackDrawable, setViewTranslationCallback, setWillNotCacheDrawing, setWillNotDraw, setX, setY, setZ, showContextMenu, showContextMenu, startActionMode, startActionMode, startAnimation, startDrag, startDragAndDrop, startNestedScroll, stopNestedScroll, toString, transformMatrixToGlobal, transformMatrixToLocal, unscheduleDrawable, unscheduleDrawable, updateDragShadow, verifyDrawable, willNotCacheDrawing, willNotDraw +addFocusables, addOnAttachStateChangeListener, addOnLayoutChangeListener, addOnUnhandledKeyEventListener, animate, announceForAccessibility, autofill, autofill, awakenScrollBars, awakenScrollBars, awakenScrollBars, bringToFront, buildDrawingCache, buildDrawingCache, buildLayer, callOnClick, cancelDragAndDrop, cancelLongPress, cancelPendingInputEvents, canResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, canScrollHorizontally, canScrollVertically, checkInputConnectionProxy, clearAnimation, clearViewTranslationCallback, combineMeasuredStates, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeScroll, computeSystemWindowInsets, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, createAccessibilityNodeInfo, createContextMenu, destroyDrawingCache, dispatchGenericMotionEvent, dispatchNestedFling, dispatchNestedPreFling, dispatchNestedPrePerformAccessibilityAction, dispatchNestedPreScroll, dispatchNestedScroll, dispatchPopulateAccessibilityEvent, draw, drawableHotspotChanged, findViewById, findViewWithTag, fitSystemWindows, focusSearch, forceHasOverlappingRendering, forceLayout, generateDisplayHash, generateViewId, getAccessibilityDelegate, getAccessibilityLiveRegion, getAccessibilityNodeProvider, getAccessibilityPaneTitle, getAccessibilityTraversalAfter, getAccessibilityTraversalBefore, getAlpha, getAnimation, getAnimationMatrix, getApplicationWindowToken, getAttributeResolutionStack, getAttributeSourceResourceMap, getAutofillHints, getAutofillId, getAutofillType, getAutofillValue, getBackground, getBackgroundTintBlendMode, getBackgroundTintList, getBackgroundTintMode, getBaseline, getBottom, getBottomFadingEdgeStrength, getBottomPaddingOffset, getCameraDistance, getClipBounds, getClipBounds, getClipToOutline, getContentCaptureSession, getContentDescription, getContext, getContextMenuInfo, getDefaultFocusHighlightEnabled, getDefaultSize, getDisplay, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getElevation, getExplicitStyle, getFilterTouchesWhenObscured, getFitsSystemWindows, getFocusable, getFocusables, getFocusedRect, getForeground, getForegroundGravity, getForegroundTintBlendMode, getForegroundTintList, getForegroundTintMode, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHasOverlappingRendering, getHeight, getHitRect, getHorizontalFadingEdgeLength, getHorizontalScrollbarHeight, getHorizontalScrollbarThumbDrawable, getHorizontalScrollbarTrackDrawable, getId, getImportantForAccessibility, getImportantForAutofill, getImportantForContentCapture, getKeepScreenOn, getKeyDispatcherState, getLabelFor, getLayerType, getLayoutDirection, getLayoutParams, getLeft, getLeftFadingEdgeStrength, getLeftPaddingOffset, getLocalVisibleRect, getLocationInSurface, getLocationInWindow, getLocationOnScreen, getMatrix, getMeasuredHeight, getMeasuredHeightAndState, getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState, getMinimumHeight, getMinimumWidth, getNextClusterForwardId, getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getOutlineAmbientShadowColor, getOutlineProvider, getOutlineSpotShadowColor, getOverScrollMode, getPaddingBottom, getPaddingEnd, getPaddingLeft, getPaddingRight, getPaddingStart, getPaddingTop, getParent, getParentForAccessibility, getPivotX, getPivotY, getPointerIcon, getReceiveContentMimeTypes, getResources, getRevealOnFocusHint, getRight, getRightFadingEdgeStrength, getRightPaddingOffset, getRootSurfaceControl, getRootView, getRootWindowInsets, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade, getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle, getScrollCaptureHint, getScrollIndicators, getScrollX, getScrollY, getSolidColor, getSourceLayoutResId, getStateDescription, getStateListAnimator, getSuggestedMinimumHeight, getSuggestedMinimumWidth, getSystemGestureExclusionRects, getSystemUiVisibility, getTag, getTag, getTextAlignment, getTextDirection, getTooltipText, getTop, getTopFadingEdgeStrength, getTopPaddingOffset, getTouchables, getTouchDelegate, getTransitionAlpha, getTransitionName, getTranslationX, getTranslationY, getTranslationZ, getUniqueDrawingId, getVerticalFadingEdgeLength, getVerticalScrollbarPosition, getVerticalScrollbarThumbDrawable, getVerticalScrollbarTrackDrawable, getVerticalScrollbarWidth, getViewTranslationResponse, getViewTreeObserver, getVisibility, getWidth, getWindowAttachCount, getWindowId, getWindowInsetsController, getWindowSystemUiVisibility, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, getZ, hasExplicitFocusable, hasFocusable, hasNestedScrollingParent, hasOnClickListeners, hasOnLongClickListeners, hasOverlappingRendering, hasPointerCapture, hasWindowFocus, inflate, invalidate, invalidate, invalidate, invalidateDrawable, invalidateOutline, isAccessibilityFocused, isAccessibilityHeading, isActivated, isAttachedToWindow, isClickable, isContextClickable, isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isFocusedByDefault, isForceDarkAllowed, isHapticFeedbackEnabled, isHardwareAccelerated, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isHovered, isImportantForAccessibility, isImportantForAutofill, isImportantForContentCapture, isInEditMode, isInLayout, isInTouchMode, isKeyboardNavigationCluster, isLaidOut, isLayoutDirectionResolved, isLayoutRequested, isLongClickable, isNestedScrollingEnabled, isOpaque, isPaddingOffsetRequired, isPaddingRelative, isPivotSet, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScreenReaderFocusable, isScrollbarFadingEnabled, isScrollContainer, isSelected, isShowingLayoutBounds, isShown, isSoundEffectsEnabled, isTemporarilyDetached, isTextAlignmentResolved, isTextDirectionResolved, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, isVisibleToUserForAutofill, keyboardNavigationClusterSearch, measure, mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom, onAnimationEnd, onAnimationStart, onApplyWindowInsets, onCancelPendingInputEvents, onCapturedPointerEvent, onCheckIsTextEditor, onConfigurationChanged, onCreateContextMenu, onCreateInputConnection, onCreateViewTranslationRequest, onCreateVirtualViewTranslationRequests, onDisplayHint, onDragEvent, onDraw, onDrawForeground, onDrawScrollBars, onFilterTouchEventForSecurity, onFinishInflate, onFinishTemporaryDetach, onFocusChanged, onGenericMotionEvent, onHoverChanged, onHoverEvent, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onOverScrolled, onPointerCaptureChange, onPopulateAccessibilityEvent, onProvideAutofillStructure, onProvideAutofillVirtualStructure, onProvideContentCaptureStructure, onProvideStructure, onProvideVirtualStructure, onReceiveContent, onRestoreInstanceState, onRtlPropertiesChanged, onSaveInstanceState, onScreenStateChanged, onScrollCaptureSearch, onScrollChanged, onSetAlpha, onSizeChanged, onStartTemporaryDetach, onTouchEvent, onViewTranslationResponse, onVirtualViewTranslationResponses, onVisibilityAggregated, onVisibilityChanged, onWindowFocusChanged, onWindowSystemUiVisibilityChanged, onWindowVisibilityChanged, overScrollBy, performAccessibilityAction, performContextClick, performContextClick, performHapticFeedback, performHapticFeedback, performLongClick, performLongClick, performReceiveContent, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, postInvalidateOnAnimation, postInvalidateOnAnimation, postOnAnimation, postOnAnimationDelayed, refreshDrawableState, releasePointerCapture, removeCallbacks, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, removeOnUnhandledKeyEventListener, requestApplyInsets, requestFitSystemWindows, requestFocus, requestFocus, requestFocusFromTouch, requestLayout, requestPointerCapture, requestRectangleOnScreen, requestRectangleOnScreen, requestUnbufferedDispatch, requestUnbufferedDispatch, requireViewById, resetPivot, resolveSize, resolveSizeAndState, restoreHierarchyState, saveAttributeDataForStyleable, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAccessibilityDelegate, setAccessibilityHeading, setAccessibilityLiveRegion, setAccessibilityPaneTitle, setAccessibilityTraversalAfter, setAccessibilityTraversalBefore, setActivated, setAllowClickWhenDisabled, setAlpha, setAnimation, setAnimationMatrix, setAutofillHints, setAutofillId, setBackground, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setBackgroundTintBlendMode, setBackgroundTintList, setBackgroundTintMode, setBottom, setCameraDistance, setClickable, setClipBounds, setClipToOutline, setContentCaptureSession, setContentDescription, setContextClickable, setDefaultFocusHighlightEnabled, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setElevation, setEnabled, setFadingEdgeLength, setFilterTouchesWhenObscured, setFitsSystemWindows, setFocusable, setFocusable, setFocusableInTouchMode, setFocusedByDefault, setForceDarkAllowed, setForeground, setForegroundTintBlendMode, setForegroundTintList, setForegroundTintMode, setHapticFeedbackEnabled, setHasTransientState, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setHorizontalScrollbarThumbDrawable, setHorizontalScrollbarTrackDrawable, setHovered, setId, setImportantForAccessibility, setImportantForAutofill, setImportantForContentCapture, setKeepScreenOn, setKeyboardNavigationCluster, setLabelFor, setLayerPaint, setLayerType, setLayoutDirection, setLayoutParams, setLeft, setLeftTopRightBottom, setLongClickable, setMeasuredDimension, setMinimumHeight, setMinimumWidth, setNestedScrollingEnabled, setNextClusterForwardId, setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnApplyWindowInsetsListener, setOnCapturedPointerListener, setOnClickListener, setOnContextClickListener, setOnCreateContextMenuListener, setOnDragListener, setOnFocusChangeListener, setOnGenericMotionListener, setOnHoverListener, setOnKeyListener, setOnLongClickListener, setOnReceiveContentListener, setOnScrollChangeListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setOutlineAmbientShadowColor, setOutlineProvider, setOutlineSpotShadowColor, setOverScrollMode, setPadding, setPaddingRelative, setPivotX, setPivotY, setPointerIcon, setPressed, setRenderEffect, setRevealOnFocusHint, setRight, setRotation, setRotationX, setRotationY, setSaveEnabled, setSaveFromParentEnabled, setScaleX, setScaleY, setScreenReaderFocusable, setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration, setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle, setScrollCaptureCallback, setScrollCaptureHint, setScrollContainer, setScrollIndicators, setScrollIndicators, setScrollX, setScrollY, setSelected, setSoundEffectsEnabled, setStateDescription, setStateListAnimator, setSystemGestureExclusionRects, setSystemUiVisibility, setTag, setTag, setTextAlignment, setTextDirection, setTooltipText, setTop, setTouchDelegate, setTransitionAlpha, setTransitionName, setTransitionVisibility, setTranslationX, setTranslationY, setTranslationZ, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVerticalScrollbarPosition, setVerticalScrollbarThumbDrawable, setVerticalScrollbarTrackDrawable, setViewTranslationCallback, setWillNotCacheDrawing, setWillNotDraw, setX, setY, setZ, showContextMenu, showContextMenu, startActionMode, startActionMode, startAnimation, startDrag, startDragAndDrop, startNestedScroll, stopNestedScroll, toString, transformMatrixToGlobal, transformMatrixToLocal, unscheduleDrawable, unscheduleDrawable, updateDragShadow, verifyDrawable, willNotCacheDrawing, willNotDraw @@ -142,7 +145,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));

    Method Summary

    - + @@ -152,6 +155,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); @@ -179,6 +183,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
  • onFullScreenModeChanged

    void onFullScreenModeChanged​(boolean isFullScreen)
    +
    Deprecated.
    Called to indicate a fullscreen mode change.
    Parameters:
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerControlView.VisibilityListener.html b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerControlView.VisibilityListener.html index 22035a3dea..1355de51a0 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerControlView.VisibilityListener.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerControlView.VisibilityListener.html @@ -25,8 +25,8 @@ catch(err) { } //--> -var data = {"i0":6}; -var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; +var data = {"i0":38}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; @@ -125,8 +125,12 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    StyledPlayerControlView

    -
    public static interface StyledPlayerControlView.VisibilityListener
    -
    Listener to be notified about changes of the visibility of the UI control.
    +
    @Deprecated
    +public static interface StyledPlayerControlView.VisibilityListener
    +
  • @@ -141,7 +145,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));

    Method Summary

    All Methods Instance Methods Abstract Methods All Methods Instance Methods Abstract Methods Deprecated Methods 
    Modifier and Type Methodvoid onFullScreenModeChanged​(boolean isFullScreen) +
    Deprecated.
    Called to indicate a fullscreen mode change.
    - + @@ -151,6 +155,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); @@ -178,6 +183,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
  • onVisibilityChange

    void onVisibilityChange​(int visibility)
    +
    Deprecated.
    Called when the visibility changes.
    Parameters:
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerControlView.html b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerControlView.html index 3154a721ae..877101f0d0 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerControlView.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerControlView.html @@ -25,8 +25,8 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10}; -var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var data = {"i0":42,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":42,"i18":10,"i19":10,"i20":42,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; @@ -272,7 +272,10 @@ extends static interface 
  • @@ -286,7 +289,10 @@ extends static interface 
    All Methods Instance Methods Abstract Methods All Methods Instance Methods Abstract Methods Deprecated Methods 
    Modifier and Type Methodvoid onVisibilityChange​(int visibility) +
    Deprecated.
    Called when the visibility changes.
    StyledPlayerControlView.OnFullScreenModeChangedListener -
    Listener to be invoked to inform the fullscreen mode is changed.
    +
    StyledPlayerControlView.VisibilityListener -
    Listener to be notified about changes of the visibility of the UI control.
    +
    @@ -369,7 +375,7 @@ extends View -ACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR, AUTOFILL_HINT_CREDIT_CARD_NUMBER, AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE, AUTOFILL_HINT_EMAIL_ADDRESS, AUTOFILL_HINT_NAME, AUTOFILL_HINT_PASSWORD, AUTOFILL_HINT_PHONE, AUTOFILL_HINT_POSTAL_ADDRESS, AUTOFILL_HINT_POSTAL_CODE, AUTOFILL_HINT_USERNAME, AUTOFILL_TYPE_DATE, AUTOFILL_TYPE_LIST, AUTOFILL_TYPE_NONE, AUTOFILL_TYPE_TEXT, AUTOFILL_TYPE_TOGGLE, DRAG_FLAG_GLOBAL, DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION, DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION, DRAG_FLAG_GLOBAL_URI_READ, DRAG_FLAG_GLOBAL_URI_WRITE, DRAG_FLAG_OPAQUE, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLE, FOCUSABLE_AUTO, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, IMPORTANT_FOR_AUTOFILL_AUTO, IMPORTANT_FOR_AUTOFILL_NO, IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_AUTOFILL_YES, IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_AUTO, IMPORTANT_FOR_CONTENT_CAPTURE_NO, IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_YES, IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, NOT_FOCUSABLE, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL, SCROLL_CAPTURE_HINT_AUTO, SCROLL_CAPTURE_HINT_EXCLUDE, SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS, SCROLL_CAPTURE_HINT_INCLUDE, SCROLL_INDICATOR_BOTTOM, SCROLL_INDICATOR_END, SCROLL_INDICATOR_LEFT, SCROLL_INDICATOR_RIGHT, SCROLL_INDICATOR_START, SCROLL_INDICATOR_TOP, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR, SYSTEM_UI_FLAG_LIGHT_STATUS_BAR, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_FIRST_STRONG_LTR, TEXT_DIRECTION_FIRST_STRONG_RTL, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y, Z +ACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR, AUTOFILL_HINT_CREDIT_CARD_NUMBER, AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE, AUTOFILL_HINT_EMAIL_ADDRESS, AUTOFILL_HINT_NAME, AUTOFILL_HINT_PASSWORD, AUTOFILL_HINT_PHONE, AUTOFILL_HINT_POSTAL_ADDRESS, AUTOFILL_HINT_POSTAL_CODE, AUTOFILL_HINT_USERNAME, AUTOFILL_TYPE_DATE, AUTOFILL_TYPE_LIST, AUTOFILL_TYPE_NONE, AUTOFILL_TYPE_TEXT, AUTOFILL_TYPE_TOGGLE, DRAG_FLAG_ACCESSIBILITY_ACTION, DRAG_FLAG_GLOBAL, DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION, DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION, DRAG_FLAG_GLOBAL_URI_READ, DRAG_FLAG_GLOBAL_URI_WRITE, DRAG_FLAG_OPAQUE, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLE, FOCUSABLE_AUTO, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, IMPORTANT_FOR_AUTOFILL_AUTO, IMPORTANT_FOR_AUTOFILL_NO, IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_AUTOFILL_YES, IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_AUTO, IMPORTANT_FOR_CONTENT_CAPTURE_NO, IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_YES, IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, NOT_FOCUSABLE, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL, SCROLL_CAPTURE_HINT_AUTO, SCROLL_CAPTURE_HINT_EXCLUDE, SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS, SCROLL_CAPTURE_HINT_INCLUDE, SCROLL_INDICATOR_BOTTOM, SCROLL_INDICATOR_END, SCROLL_INDICATOR_LEFT, SCROLL_INDICATOR_RIGHT, SCROLL_INDICATOR_START, SCROLL_INDICATOR_TOP, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR, SYSTEM_UI_FLAG_LIGHT_STATUS_BAR, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_FIRST_STRONG_LTR, TEXT_DIRECTION_FIRST_STRONG_RTL, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y, Z @@ -421,7 +427,7 @@ extends -All Methods Instance Methods Concrete Methods  +All Methods Instance Methods Concrete Methods Deprecated Methods  Modifier and Type Method @@ -431,7 +437,10 @@ extends void addVisibilityListener​(StyledPlayerControlView.VisibilityListener listener) - + @@ -547,7 +556,10 @@ extends void removeVisibilityListener​(StyledPlayerControlView.VisibilityListener listener) - + @@ -570,7 +582,10 @@ extends void setOnFullScreenModeChangedListener​(StyledPlayerControlView.OnFullScreenModeChangedListener listener) -
    Sets a listener to be called when the fullscreen mode should be changed.
    + @@ -926,12 +941,12 @@ public 
  • addVisibilityListener

    -
    public void addVisibilityListener​(StyledPlayerControlView.VisibilityListener listener)
    - -
    -
    Parameters:
    -
    listener - The listener to be notified about visibility changes.
    -
    +
    @Deprecated
    +public void addVisibilityListener​(StyledPlayerControlView.VisibilityListener listener)
    +
  • @@ -940,12 +955,12 @@ public 
  • removeVisibilityListener

    -
    public void removeVisibilityListener​(StyledPlayerControlView.VisibilityListener listener)
    - -
    -
    Parameters:
    -
    listener - The listener to be removed.
    -
    +
    @Deprecated
    +public void removeVisibilityListener​(StyledPlayerControlView.VisibilityListener listener)
    +
  • @@ -1217,15 +1232,13 @@ public @com.google.android.exoplayer2.util.RepeatModeUtil.RepeatToggleModes diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.ControllerVisibilityListener.html b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.ControllerVisibilityListener.html new file mode 100644 index 0000000000..5a8a2a568a --- /dev/null +++ b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.ControllerVisibilityListener.html @@ -0,0 +1,258 @@ + + + + +StyledPlayerView.ControllerVisibilityListener (ExoPlayer library) + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Interface StyledPlayerView.ControllerVisibilityListener

    +
    +
    +
    +
      +
    • +
      +
      Enclosing class:
      +
      StyledPlayerView
      +
      +
      +
      public static interface StyledPlayerView.ControllerVisibilityListener
      +
      Listener to be notified about changes of the visibility of the UI controls.
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          onVisibilityChanged

          +
          void onVisibilityChanged​(int visibility)
          +
          Called when the visibility changes.
          +
          +
          Parameters:
          +
          visibility - The new visibility. Either View.VISIBLE or View.GONE.
          +
          +
        • +
        +
      • +
      +
      +
    • +
    +
    +
    +
    + +
    + +
    + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.FullscreenButtonClickListener.html b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.FullscreenButtonClickListener.html new file mode 100644 index 0000000000..2036f79f3b --- /dev/null +++ b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.FullscreenButtonClickListener.html @@ -0,0 +1,260 @@ + + + + +StyledPlayerView.FullscreenButtonClickListener (ExoPlayer library) + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Interface StyledPlayerView.FullscreenButtonClickListener

    +
    +
    +
    +
      +
    • +
      +
      Enclosing class:
      +
      StyledPlayerView
      +
      +
      +
      public static interface StyledPlayerView.FullscreenButtonClickListener
      +
      Listener invoked when the fullscreen button is clicked. The implementation is responsible for + changing the UI layout.
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          onFullscreenButtonClick

          +
          void onFullscreenButtonClick​(boolean isFullScreen)
          +
          Called when the fullscreen button is clicked.
          +
          +
          Parameters:
          +
          isFullScreen - true if the video rendering surface should be fullscreen, + false otherwise.
          +
          +
        • +
        +
      • +
      +
      +
    • +
    +
    +
    +
    + +
    + +
    + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.html b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.html index 181a38fca3..2beb883c79 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.html @@ -25,8 +25,8 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":9}; -var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":42,"i27":10,"i28":42,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; @@ -262,6 +262,20 @@ implements static interface  +StyledPlayerView.ControllerVisibilityListener + +
    Listener to be notified about changes of the visibility of the UI controls.
    + + + +static interface  +StyledPlayerView.FullscreenButtonClickListener + +
    Listener invoked when the fullscreen button is clicked.
    + + + +static interface  StyledPlayerView.ShowBuffering
    Determines when the buffering view is shown.
    @@ -341,7 +355,7 @@ implements View -ACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR, AUTOFILL_HINT_CREDIT_CARD_NUMBER, AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE, AUTOFILL_HINT_EMAIL_ADDRESS, AUTOFILL_HINT_NAME, AUTOFILL_HINT_PASSWORD, AUTOFILL_HINT_PHONE, AUTOFILL_HINT_POSTAL_ADDRESS, AUTOFILL_HINT_POSTAL_CODE, AUTOFILL_HINT_USERNAME, AUTOFILL_TYPE_DATE, AUTOFILL_TYPE_LIST, AUTOFILL_TYPE_NONE, AUTOFILL_TYPE_TEXT, AUTOFILL_TYPE_TOGGLE, DRAG_FLAG_GLOBAL, DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION, DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION, DRAG_FLAG_GLOBAL_URI_READ, DRAG_FLAG_GLOBAL_URI_WRITE, DRAG_FLAG_OPAQUE, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLE, FOCUSABLE_AUTO, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, IMPORTANT_FOR_AUTOFILL_AUTO, IMPORTANT_FOR_AUTOFILL_NO, IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_AUTOFILL_YES, IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_AUTO, IMPORTANT_FOR_CONTENT_CAPTURE_NO, IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_YES, IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, NOT_FOCUSABLE, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL, SCROLL_CAPTURE_HINT_AUTO, SCROLL_CAPTURE_HINT_EXCLUDE, SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS, SCROLL_CAPTURE_HINT_INCLUDE, SCROLL_INDICATOR_BOTTOM, SCROLL_INDICATOR_END, SCROLL_INDICATOR_LEFT, SCROLL_INDICATOR_RIGHT, SCROLL_INDICATOR_START, SCROLL_INDICATOR_TOP, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR, SYSTEM_UI_FLAG_LIGHT_STATUS_BAR, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_FIRST_STRONG_LTR, TEXT_DIRECTION_FIRST_STRONG_RTL, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y, Z +ACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR, AUTOFILL_HINT_CREDIT_CARD_NUMBER, AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE, AUTOFILL_HINT_EMAIL_ADDRESS, AUTOFILL_HINT_NAME, AUTOFILL_HINT_PASSWORD, AUTOFILL_HINT_PHONE, AUTOFILL_HINT_POSTAL_ADDRESS, AUTOFILL_HINT_POSTAL_CODE, AUTOFILL_HINT_USERNAME, AUTOFILL_TYPE_DATE, AUTOFILL_TYPE_LIST, AUTOFILL_TYPE_NONE, AUTOFILL_TYPE_TEXT, AUTOFILL_TYPE_TOGGLE, DRAG_FLAG_ACCESSIBILITY_ACTION, DRAG_FLAG_GLOBAL, DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION, DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION, DRAG_FLAG_GLOBAL_URI_READ, DRAG_FLAG_GLOBAL_URI_WRITE, DRAG_FLAG_OPAQUE, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLE, FOCUSABLE_AUTO, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, IMPORTANT_FOR_AUTOFILL_AUTO, IMPORTANT_FOR_AUTOFILL_NO, IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_AUTOFILL_YES, IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_AUTO, IMPORTANT_FOR_CONTENT_CAPTURE_NO, IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_YES, IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, NOT_FOCUSABLE, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL, SCROLL_CAPTURE_HINT_AUTO, SCROLL_CAPTURE_HINT_EXCLUDE, SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS, SCROLL_CAPTURE_HINT_INCLUDE, SCROLL_INDICATOR_BOTTOM, SCROLL_INDICATOR_END, SCROLL_INDICATOR_LEFT, SCROLL_INDICATOR_RIGHT, SCROLL_INDICATOR_START, SCROLL_INDICATOR_TOP, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR, SYSTEM_UI_FLAG_LIGHT_STATUS_BAR, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_FIRST_STRONG_LTR, TEXT_DIRECTION_FIRST_STRONG_RTL, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y, Z @@ -386,7 +400,7 @@ implements -All Methods Static Methods Instance Methods Concrete Methods  +All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods  Modifier and Type Method @@ -540,27 +554,22 @@ implements boolean -onTouchEvent​(MotionEvent event) +onTrackballEvent​(MotionEvent ev)   boolean -onTrackballEvent​(MotionEvent ev) -  - - -boolean performClick()   - + void setAspectRatioListener​(AspectRatioFrameLayout.AspectRatioListener listener) - + void setControllerAutoShow​(boolean controllerAutoShow) @@ -568,38 +577,50 @@ implements + void setControllerHideDuringAds​(boolean controllerHideDuringAds)
    Sets whether the playback controls are hidden when ads are playing.
    - + void setControllerHideOnTouch​(boolean controllerHideOnTouch)
    Sets whether the playback controls are hidden by touch events.
    - + void setControllerOnFullScreenModeChangedListener​(StyledPlayerControlView.OnFullScreenModeChangedListener listener) - + - + void setControllerShowTimeoutMs​(int controllerShowTimeoutMs)
    Sets the playback controls timeout.
    - + void setControllerVisibilityListener​(StyledPlayerControlView.VisibilityListener listener) + + + + +void +setControllerVisibilityListener​(StyledPlayerView.ControllerVisibilityListener listener) + @@ -636,130 +657,137 @@ implements void +setFullscreenButtonClickListener​(StyledPlayerView.FullscreenButtonClickListener listener) + + + + + +void setKeepContentOnPlayerReset​(boolean keepContentOnPlayerReset)
    Sets whether the currently displayed video frame or media artwork is kept visible when the player is reset.
    - + void setPlayer​(Player player)
    Sets the Player to use.
    - + void setRepeatToggleModes​(@com.google.android.exoplayer2.util.RepeatModeUtil.RepeatToggleModes int repeatToggleModes)
    Sets which repeat toggle modes are enabled.
    - + void setResizeMode​(@com.google.android.exoplayer2.ui.AspectRatioFrameLayout.ResizeMode int resizeMode) - + void setShowBuffering​(@com.google.android.exoplayer2.ui.StyledPlayerView.ShowBuffering int showBuffering)
    Sets whether a buffering spinner is displayed when the player is in the buffering state.
    - + void setShowFastForwardButton​(boolean showFastForwardButton)
    Sets whether the fast forward button is shown.
    - + void setShowMultiWindowTimeBar​(boolean showMultiWindowTimeBar)
    Sets whether the time bar should show all windows, as opposed to just the current one.
    - + void setShowNextButton​(boolean showNextButton)
    Sets whether the next button is shown.
    - + void setShowPreviousButton​(boolean showPreviousButton)
    Sets whether the previous button is shown.
    - + void setShowRewindButton​(boolean showRewindButton)
    Sets whether the rewind button is shown.
    - + void setShowShuffleButton​(boolean showShuffleButton)
    Sets whether the shuffle button is shown.
    - + void setShowSubtitleButton​(boolean showSubtitleButton)
    Sets whether the subtitle button is shown.
    - + void setShowVrButton​(boolean showVrButton)
    Sets whether the vr button is shown.
    - + void setShutterBackgroundColor​(int color)
    Sets the background color of the exo_shutter view.
    - + void setUseArtwork​(boolean useArtwork)
    Sets whether artwork is displayed if present in the media.
    - + void setUseController​(boolean useController)
    Sets whether the playback controls can be shown.
    - + void setVisibility​(int visibility)   - + void showController()
    Shows the playback controls.
    - + static void switchTargetView​(Player player, StyledPlayerView oldPlayerView, @@ -788,7 +816,7 @@ implements View -addFocusables, addOnAttachStateChangeListener, addOnLayoutChangeListener, addOnUnhandledKeyEventListener, animate, announceForAccessibility, autofill, autofill, awakenScrollBars, awakenScrollBars, awakenScrollBars, bringToFront, buildDrawingCache, buildDrawingCache, buildLayer, callOnClick, cancelDragAndDrop, cancelLongPress, cancelPendingInputEvents, canResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, canScrollHorizontally, canScrollVertically, checkInputConnectionProxy, clearAnimation, clearViewTranslationCallback, combineMeasuredStates, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeScroll, computeSystemWindowInsets, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, createAccessibilityNodeInfo, createContextMenu, destroyDrawingCache, dispatchGenericMotionEvent, dispatchNestedFling, dispatchNestedPreFling, dispatchNestedPrePerformAccessibilityAction, dispatchNestedPreScroll, dispatchNestedScroll, dispatchPopulateAccessibilityEvent, draw, drawableHotspotChanged, findViewById, findViewWithTag, fitSystemWindows, focusSearch, forceHasOverlappingRendering, forceLayout, generateDisplayHash, generateViewId, getAccessibilityDelegate, getAccessibilityLiveRegion, getAccessibilityNodeProvider, getAccessibilityPaneTitle, getAccessibilityTraversalAfter, getAccessibilityTraversalBefore, getAlpha, getAnimation, getAnimationMatrix, getApplicationWindowToken, getAttributeResolutionStack, getAttributeSourceResourceMap, getAutofillHints, getAutofillId, getAutofillType, getAutofillValue, getBackground, getBackgroundTintBlendMode, getBackgroundTintList, getBackgroundTintMode, getBaseline, getBottom, getBottomFadingEdgeStrength, getBottomPaddingOffset, getCameraDistance, getClipBounds, getClipBounds, getClipToOutline, getContentCaptureSession, getContentDescription, getContext, getContextMenuInfo, getDefaultFocusHighlightEnabled, getDefaultSize, getDisplay, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getElevation, getExplicitStyle, getFilterTouchesWhenObscured, getFitsSystemWindows, getFocusable, getFocusables, getFocusedRect, getForeground, getForegroundGravity, getForegroundTintBlendMode, getForegroundTintList, getForegroundTintMode, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHasOverlappingRendering, getHeight, getHitRect, getHorizontalFadingEdgeLength, getHorizontalScrollbarHeight, getHorizontalScrollbarThumbDrawable, getHorizontalScrollbarTrackDrawable, getId, getImportantForAccessibility, getImportantForAutofill, getImportantForContentCapture, getKeepScreenOn, getKeyDispatcherState, getLabelFor, getLayerType, getLayoutDirection, getLayoutParams, getLeft, getLeftFadingEdgeStrength, getLeftPaddingOffset, getLocalVisibleRect, getLocationInSurface, getLocationInWindow, getLocationOnScreen, getMatrix, getMeasuredHeight, getMeasuredHeightAndState, getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState, getMinimumHeight, getMinimumWidth, getNextClusterForwardId, getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getOutlineAmbientShadowColor, getOutlineProvider, getOutlineSpotShadowColor, getOverScrollMode, getPaddingBottom, getPaddingEnd, getPaddingLeft, getPaddingRight, getPaddingStart, getPaddingTop, getParent, getParentForAccessibility, getPivotX, getPivotY, getPointerIcon, getReceiveContentMimeTypes, getResources, getRevealOnFocusHint, getRight, getRightFadingEdgeStrength, getRightPaddingOffset, getRootSurfaceControl, getRootView, getRootWindowInsets, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade, getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle, getScrollCaptureHint, getScrollIndicators, getScrollX, getScrollY, getSolidColor, getSourceLayoutResId, getStateDescription, getStateListAnimator, getSuggestedMinimumHeight, getSuggestedMinimumWidth, getSystemGestureExclusionRects, getSystemUiVisibility, getTag, getTag, getTextAlignment, getTextDirection, getTooltipText, getTop, getTopFadingEdgeStrength, getTopPaddingOffset, getTouchables, getTouchDelegate, getTransitionAlpha, getTransitionName, getTranslationX, getTranslationY, getTranslationZ, getUniqueDrawingId, getVerticalFadingEdgeLength, getVerticalScrollbarPosition, getVerticalScrollbarThumbDrawable, getVerticalScrollbarTrackDrawable, getVerticalScrollbarWidth, getViewTranslationResponse, getViewTreeObserver, getVisibility, getWidth, getWindowAttachCount, getWindowId, getWindowInsetsController, getWindowSystemUiVisibility, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, getZ, hasExplicitFocusable, hasFocusable, hasNestedScrollingParent, hasOnClickListeners, hasOnLongClickListeners, hasOverlappingRendering, hasPointerCapture, hasWindowFocus, inflate, invalidate, invalidate, invalidate, invalidateDrawable, invalidateOutline, isAccessibilityFocused, isAccessibilityHeading, isActivated, isAttachedToWindow, isClickable, isContextClickable, isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isFocusedByDefault, isForceDarkAllowed, isHapticFeedbackEnabled, isHardwareAccelerated, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isHovered, isImportantForAccessibility, isImportantForAutofill, isImportantForContentCapture, isInEditMode, isInLayout, isInTouchMode, isKeyboardNavigationCluster, isLaidOut, isLayoutDirectionResolved, isLayoutRequested, isLongClickable, isNestedScrollingEnabled, isOpaque, isPaddingOffsetRequired, isPaddingRelative, isPivotSet, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScreenReaderFocusable, isScrollbarFadingEnabled, isScrollContainer, isSelected, isShowingLayoutBounds, isShown, isSoundEffectsEnabled, isTemporarilyDetached, isTextAlignmentResolved, isTextDirectionResolved, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, isVisibleToUserForAutofill, keyboardNavigationClusterSearch, measure, mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom, onAnimationEnd, onAnimationStart, onApplyWindowInsets, onCancelPendingInputEvents, onCapturedPointerEvent, onCheckIsTextEditor, onConfigurationChanged, onCreateContextMenu, onCreateInputConnection, onCreateViewTranslationRequest, onCreateVirtualViewTranslationRequests, onDisplayHint, onDragEvent, onDraw, onDrawForeground, onDrawScrollBars, onFilterTouchEventForSecurity, onFinishInflate, onFinishTemporaryDetach, onFocusChanged, onGenericMotionEvent, onHoverChanged, onHoverEvent, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onOverScrolled, onPointerCaptureChange, onPopulateAccessibilityEvent, onProvideAutofillStructure, onProvideAutofillVirtualStructure, onProvideContentCaptureStructure, onProvideStructure, onProvideVirtualStructure, onReceiveContent, onRestoreInstanceState, onRtlPropertiesChanged, onSaveInstanceState, onScreenStateChanged, onScrollCaptureSearch, onScrollChanged, onSetAlpha, onSizeChanged, onStartTemporaryDetach, onViewTranslationResponse, onVirtualViewTranslationResponses, onVisibilityAggregated, onVisibilityChanged, onWindowFocusChanged, onWindowSystemUiVisibilityChanged, onWindowVisibilityChanged, overScrollBy, performAccessibilityAction, performContextClick, performContextClick, performHapticFeedback, performHapticFeedback, performLongClick, performLongClick, performReceiveContent, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, postInvalidateOnAnimation, postInvalidateOnAnimation, postOnAnimation, postOnAnimationDelayed, refreshDrawableState, releasePointerCapture, removeCallbacks, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, removeOnUnhandledKeyEventListener, requestApplyInsets, requestFitSystemWindows, requestFocus, requestFocus, requestFocusFromTouch, requestLayout, requestPointerCapture, requestRectangleOnScreen, requestRectangleOnScreen, requestUnbufferedDispatch, requestUnbufferedDispatch, requireViewById, resetPivot, resolveSize, resolveSizeAndState, restoreHierarchyState, saveAttributeDataForStyleable, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAccessibilityDelegate, setAccessibilityHeading, setAccessibilityLiveRegion, setAccessibilityPaneTitle, setAccessibilityTraversalAfter, setAccessibilityTraversalBefore, setActivated, setAllowClickWhenDisabled, setAlpha, setAnimation, setAnimationMatrix, setAutofillHints, setAutofillId, setBackground, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setBackgroundTintBlendMode, setBackgroundTintList, setBackgroundTintMode, setBottom, setCameraDistance, setClickable, setClipBounds, setClipToOutline, setContentCaptureSession, setContentDescription, setContextClickable, setDefaultFocusHighlightEnabled, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setElevation, setEnabled, setFadingEdgeLength, setFilterTouchesWhenObscured, setFitsSystemWindows, setFocusable, setFocusable, setFocusableInTouchMode, setFocusedByDefault, setForceDarkAllowed, setForeground, setForegroundTintBlendMode, setForegroundTintList, setForegroundTintMode, setHapticFeedbackEnabled, setHasTransientState, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setHorizontalScrollbarThumbDrawable, setHorizontalScrollbarTrackDrawable, setHovered, setId, setImportantForAccessibility, setImportantForAutofill, setImportantForContentCapture, setKeepScreenOn, setKeyboardNavigationCluster, setLabelFor, setLayerPaint, setLayerType, setLayoutDirection, setLayoutParams, setLeft, setLeftTopRightBottom, setLongClickable, setMeasuredDimension, setMinimumHeight, setMinimumWidth, setNestedScrollingEnabled, setNextClusterForwardId, setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnApplyWindowInsetsListener, setOnCapturedPointerListener, setOnClickListener, setOnContextClickListener, setOnCreateContextMenuListener, setOnDragListener, setOnFocusChangeListener, setOnGenericMotionListener, setOnHoverListener, setOnKeyListener, setOnLongClickListener, setOnReceiveContentListener, setOnScrollChangeListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setOutlineAmbientShadowColor, setOutlineProvider, setOutlineSpotShadowColor, setOverScrollMode, setPadding, setPaddingRelative, setPivotX, setPivotY, setPointerIcon, setPressed, setRenderEffect, setRevealOnFocusHint, setRight, setRotation, setRotationX, setRotationY, setSaveEnabled, setSaveFromParentEnabled, setScaleX, setScaleY, setScreenReaderFocusable, setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration, setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle, setScrollCaptureCallback, setScrollCaptureHint, setScrollContainer, setScrollIndicators, setScrollIndicators, setScrollX, setScrollY, setSelected, setSoundEffectsEnabled, setStateDescription, setStateListAnimator, setSystemGestureExclusionRects, setSystemUiVisibility, setTag, setTag, setTextAlignment, setTextDirection, setTooltipText, setTop, setTouchDelegate, setTransitionAlpha, setTransitionName, setTransitionVisibility, setTranslationX, setTranslationY, setTranslationZ, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVerticalScrollbarPosition, setVerticalScrollbarThumbDrawable, setVerticalScrollbarTrackDrawable, setViewTranslationCallback, setWillNotCacheDrawing, setWillNotDraw, setX, setY, setZ, showContextMenu, showContextMenu, startActionMode, startActionMode, startAnimation, startDrag, startDragAndDrop, startNestedScroll, stopNestedScroll, toString, transformMatrixToGlobal, transformMatrixToLocal, unscheduleDrawable, unscheduleDrawable, updateDragShadow, verifyDrawable, willNotCacheDrawing, willNotDraw +addFocusables, addOnAttachStateChangeListener, addOnLayoutChangeListener, addOnUnhandledKeyEventListener, animate, announceForAccessibility, autofill, autofill, awakenScrollBars, awakenScrollBars, awakenScrollBars, bringToFront, buildDrawingCache, buildDrawingCache, buildLayer, callOnClick, cancelDragAndDrop, cancelLongPress, cancelPendingInputEvents, canResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, canScrollHorizontally, canScrollVertically, checkInputConnectionProxy, clearAnimation, clearViewTranslationCallback, combineMeasuredStates, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeScroll, computeSystemWindowInsets, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, createAccessibilityNodeInfo, createContextMenu, destroyDrawingCache, dispatchGenericMotionEvent, dispatchNestedFling, dispatchNestedPreFling, dispatchNestedPrePerformAccessibilityAction, dispatchNestedPreScroll, dispatchNestedScroll, dispatchPopulateAccessibilityEvent, draw, drawableHotspotChanged, findViewById, findViewWithTag, fitSystemWindows, focusSearch, forceHasOverlappingRendering, forceLayout, generateDisplayHash, generateViewId, getAccessibilityDelegate, getAccessibilityLiveRegion, getAccessibilityNodeProvider, getAccessibilityPaneTitle, getAccessibilityTraversalAfter, getAccessibilityTraversalBefore, getAlpha, getAnimation, getAnimationMatrix, getApplicationWindowToken, getAttributeResolutionStack, getAttributeSourceResourceMap, getAutofillHints, getAutofillId, getAutofillType, getAutofillValue, getBackground, getBackgroundTintBlendMode, getBackgroundTintList, getBackgroundTintMode, getBaseline, getBottom, getBottomFadingEdgeStrength, getBottomPaddingOffset, getCameraDistance, getClipBounds, getClipBounds, getClipToOutline, getContentCaptureSession, getContentDescription, getContext, getContextMenuInfo, getDefaultFocusHighlightEnabled, getDefaultSize, getDisplay, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getElevation, getExplicitStyle, getFilterTouchesWhenObscured, getFitsSystemWindows, getFocusable, getFocusables, getFocusedRect, getForeground, getForegroundGravity, getForegroundTintBlendMode, getForegroundTintList, getForegroundTintMode, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHasOverlappingRendering, getHeight, getHitRect, getHorizontalFadingEdgeLength, getHorizontalScrollbarHeight, getHorizontalScrollbarThumbDrawable, getHorizontalScrollbarTrackDrawable, getId, getImportantForAccessibility, getImportantForAutofill, getImportantForContentCapture, getKeepScreenOn, getKeyDispatcherState, getLabelFor, getLayerType, getLayoutDirection, getLayoutParams, getLeft, getLeftFadingEdgeStrength, getLeftPaddingOffset, getLocalVisibleRect, getLocationInSurface, getLocationInWindow, getLocationOnScreen, getMatrix, getMeasuredHeight, getMeasuredHeightAndState, getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState, getMinimumHeight, getMinimumWidth, getNextClusterForwardId, getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getOutlineAmbientShadowColor, getOutlineProvider, getOutlineSpotShadowColor, getOverScrollMode, getPaddingBottom, getPaddingEnd, getPaddingLeft, getPaddingRight, getPaddingStart, getPaddingTop, getParent, getParentForAccessibility, getPivotX, getPivotY, getPointerIcon, getReceiveContentMimeTypes, getResources, getRevealOnFocusHint, getRight, getRightFadingEdgeStrength, getRightPaddingOffset, getRootSurfaceControl, getRootView, getRootWindowInsets, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade, getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle, getScrollCaptureHint, getScrollIndicators, getScrollX, getScrollY, getSolidColor, getSourceLayoutResId, getStateDescription, getStateListAnimator, getSuggestedMinimumHeight, getSuggestedMinimumWidth, getSystemGestureExclusionRects, getSystemUiVisibility, getTag, getTag, getTextAlignment, getTextDirection, getTooltipText, getTop, getTopFadingEdgeStrength, getTopPaddingOffset, getTouchables, getTouchDelegate, getTransitionAlpha, getTransitionName, getTranslationX, getTranslationY, getTranslationZ, getUniqueDrawingId, getVerticalFadingEdgeLength, getVerticalScrollbarPosition, getVerticalScrollbarThumbDrawable, getVerticalScrollbarTrackDrawable, getVerticalScrollbarWidth, getViewTranslationResponse, getViewTreeObserver, getVisibility, getWidth, getWindowAttachCount, getWindowId, getWindowInsetsController, getWindowSystemUiVisibility, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, getZ, hasExplicitFocusable, hasFocusable, hasNestedScrollingParent, hasOnClickListeners, hasOnLongClickListeners, hasOverlappingRendering, hasPointerCapture, hasWindowFocus, inflate, invalidate, invalidate, invalidate, invalidateDrawable, invalidateOutline, isAccessibilityFocused, isAccessibilityHeading, isActivated, isAttachedToWindow, isClickable, isContextClickable, isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isFocusedByDefault, isForceDarkAllowed, isHapticFeedbackEnabled, isHardwareAccelerated, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isHovered, isImportantForAccessibility, isImportantForAutofill, isImportantForContentCapture, isInEditMode, isInLayout, isInTouchMode, isKeyboardNavigationCluster, isLaidOut, isLayoutDirectionResolved, isLayoutRequested, isLongClickable, isNestedScrollingEnabled, isOpaque, isPaddingOffsetRequired, isPaddingRelative, isPivotSet, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScreenReaderFocusable, isScrollbarFadingEnabled, isScrollContainer, isSelected, isShowingLayoutBounds, isShown, isSoundEffectsEnabled, isTemporarilyDetached, isTextAlignmentResolved, isTextDirectionResolved, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, isVisibleToUserForAutofill, keyboardNavigationClusterSearch, measure, mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom, onAnimationEnd, onAnimationStart, onApplyWindowInsets, onCancelPendingInputEvents, onCapturedPointerEvent, onCheckIsTextEditor, onConfigurationChanged, onCreateContextMenu, onCreateInputConnection, onCreateViewTranslationRequest, onCreateVirtualViewTranslationRequests, onDisplayHint, onDragEvent, onDraw, onDrawForeground, onDrawScrollBars, onFilterTouchEventForSecurity, onFinishInflate, onFinishTemporaryDetach, onFocusChanged, onGenericMotionEvent, onHoverChanged, onHoverEvent, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onOverScrolled, onPointerCaptureChange, onPopulateAccessibilityEvent, onProvideAutofillStructure, onProvideAutofillVirtualStructure, onProvideContentCaptureStructure, onProvideStructure, onProvideVirtualStructure, onReceiveContent, onRestoreInstanceState, onRtlPropertiesChanged, onSaveInstanceState, onScreenStateChanged, onScrollCaptureSearch, onScrollChanged, onSetAlpha, onSizeChanged, onStartTemporaryDetach, onTouchEvent, onViewTranslationResponse, onVirtualViewTranslationResponses, onVisibilityAggregated, onVisibilityChanged, onWindowFocusChanged, onWindowSystemUiVisibilityChanged, onWindowVisibilityChanged, overScrollBy, performAccessibilityAction, performContextClick, performContextClick, performHapticFeedback, performHapticFeedback, performLongClick, performLongClick, performReceiveContent, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, postInvalidateOnAnimation, postInvalidateOnAnimation, postOnAnimation, postOnAnimationDelayed, refreshDrawableState, releasePointerCapture, removeCallbacks, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, removeOnUnhandledKeyEventListener, requestApplyInsets, requestFitSystemWindows, requestFocus, requestFocus, requestFocusFromTouch, requestLayout, requestPointerCapture, requestRectangleOnScreen, requestRectangleOnScreen, requestUnbufferedDispatch, requestUnbufferedDispatch, requireViewById, resetPivot, resolveSize, resolveSizeAndState, restoreHierarchyState, saveAttributeDataForStyleable, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAccessibilityDelegate, setAccessibilityHeading, setAccessibilityLiveRegion, setAccessibilityPaneTitle, setAccessibilityTraversalAfter, setAccessibilityTraversalBefore, setActivated, setAllowClickWhenDisabled, setAlpha, setAnimation, setAnimationMatrix, setAutofillHints, setAutofillId, setBackground, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setBackgroundTintBlendMode, setBackgroundTintList, setBackgroundTintMode, setBottom, setCameraDistance, setClickable, setClipBounds, setClipToOutline, setContentCaptureSession, setContentDescription, setContextClickable, setDefaultFocusHighlightEnabled, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setElevation, setEnabled, setFadingEdgeLength, setFilterTouchesWhenObscured, setFitsSystemWindows, setFocusable, setFocusable, setFocusableInTouchMode, setFocusedByDefault, setForceDarkAllowed, setForeground, setForegroundTintBlendMode, setForegroundTintList, setForegroundTintMode, setHapticFeedbackEnabled, setHasTransientState, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setHorizontalScrollbarThumbDrawable, setHorizontalScrollbarTrackDrawable, setHovered, setId, setImportantForAccessibility, setImportantForAutofill, setImportantForContentCapture, setKeepScreenOn, setKeyboardNavigationCluster, setLabelFor, setLayerPaint, setLayerType, setLayoutDirection, setLayoutParams, setLeft, setLeftTopRightBottom, setLongClickable, setMeasuredDimension, setMinimumHeight, setMinimumWidth, setNestedScrollingEnabled, setNextClusterForwardId, setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnApplyWindowInsetsListener, setOnCapturedPointerListener, setOnClickListener, setOnContextClickListener, setOnCreateContextMenuListener, setOnDragListener, setOnFocusChangeListener, setOnGenericMotionListener, setOnHoverListener, setOnKeyListener, setOnLongClickListener, setOnReceiveContentListener, setOnScrollChangeListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setOutlineAmbientShadowColor, setOutlineProvider, setOutlineSpotShadowColor, setOverScrollMode, setPadding, setPaddingRelative, setPivotX, setPivotY, setPointerIcon, setPressed, setRenderEffect, setRevealOnFocusHint, setRight, setRotation, setRotationX, setRotationY, setSaveEnabled, setSaveFromParentEnabled, setScaleX, setScaleY, setScreenReaderFocusable, setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration, setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle, setScrollCaptureCallback, setScrollCaptureHint, setScrollContainer, setScrollIndicators, setScrollIndicators, setScrollX, setScrollY, setSelected, setSoundEffectsEnabled, setStateDescription, setStateListAnimator, setSystemGestureExclusionRects, setSystemUiVisibility, setTag, setTag, setTextAlignment, setTextDirection, setTooltipText, setTop, setTouchDelegate, setTransitionAlpha, setTransitionName, setTransitionVisibility, setTranslationX, setTranslationY, setTranslationZ, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVerticalScrollbarPosition, setVerticalScrollbarThumbDrawable, setVerticalScrollbarTrackDrawable, setViewTranslationCallback, setWillNotCacheDrawing, setWillNotDraw, setX, setY, setZ, showContextMenu, showContextMenu, startActionMode, startActionMode, startAnimation, startDrag, startDragAndDrop, startNestedScroll, stopNestedScroll, toString, transformMatrixToGlobal, transformMatrixToLocal, unscheduleDrawable, unscheduleDrawable, updateDragShadow, verifyDrawable, willNotCacheDrawing, willNotDraw @@ -307,26 +306,19 @@ implements void -onCues​(List<Cue> cues) - -
    Called when there is a change in the Cues.
    - - - -void setApplyEmbeddedFontSizes​(boolean applyEmbeddedFontSizes)
    Sets whether font sizes embedded within the cues should be applied.
    - + void setApplyEmbeddedStyles​(boolean applyEmbeddedStyles)
    Sets whether styling embedded within the cues should be applied.
    - + void setBottomPaddingFraction​(float bottomPaddingFraction) @@ -335,14 +327,14 @@ implements + void setCues​(List<Cue> cues)
    Sets the cues to be displayed by the view.
    - + void setFixedTextSize​(int unit, float size) @@ -350,7 +342,7 @@ implements Sets the text size to a given unit and value. - + void setFractionalTextSize​(float fractionOfHeight) @@ -358,7 +350,7 @@ implements + void setFractionalTextSize​(float fractionOfHeight, boolean ignorePadding) @@ -366,14 +358,14 @@ implements Sets the text size to be a fraction of the height of this view. - + void setStyle​(CaptionStyleCompat style)
    Sets the caption style.
    - + void setUserDefaultStyle() @@ -381,14 +373,14 @@ implements + void setUserDefaultTextSize()
    Sets the text size based on CaptioningManager.getFontScale() if CaptioningManager is available and enabled.
    - + void setViewType​(@com.google.android.exoplayer2.ui.SubtitleView.ViewType int viewType) @@ -425,13 +417,6 @@ implements clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    - - + - + @@ -280,62 +280,69 @@ extends -All Methods Instance Methods Concrete Methods  +All Methods Static Methods Instance Methods Concrete Methods  Modifier and Type Method Description -boolean -getIsDisabled() +static Map<TrackGroup,​TrackSelectionOverride> +filterOverrides​(Map<TrackGroup,​TrackSelectionOverride> overrides, + List<Tracks.Group> trackGroups, + boolean allowMultipleOverrides) -
    Returns whether the renderer is disabled.
    +
    Returns the subset of overrides that apply to the specified trackGroups.
    -List<DefaultTrackSelector.SelectionOverride> -getOverrides() +boolean +getIsDisabled() -
    Returns the list of selected track selection overrides.
    +
    Returns whether the disabled option is selected.
    -void -init​(MappingTrackSelector.MappedTrackInfo mappedTrackInfo, - int rendererIndex, - boolean isDisabled, - List<DefaultTrackSelector.SelectionOverride> overrides, - Comparator<Format> trackFormatComparator, - TrackSelectionView.TrackSelectionListener listener) +Map<TrackGroup,​TrackSelectionOverride> +getOverrides() -
    Initialize the view to select tracks for a specified renderer using MappingTrackSelector.MappedTrackInfo and - a set of DefaultTrackSelector.Parameters.
    +
    Returns the selected track overrides.
    void +init​(List<Tracks.Group> trackGroups, + boolean isDisabled, + Map<TrackGroup,​TrackSelectionOverride> overrides, + Comparator<Format> trackFormatComparator, + TrackSelectionView.TrackSelectionListener listener) + +
    Initialize the view to select tracks from a specified list of track groups.
    + + + +void setAllowAdaptiveSelections​(boolean allowAdaptiveSelections)
    Sets whether adaptive selections (consisting of more than one track) can be made using this selection view.
    - + void setAllowMultipleOverrides​(boolean allowMultipleOverrides)
    Sets whether tracks from multiple track groups can be selected.
    - + void setShowDisableOption​(boolean showDisableOption) -
    Sets whether an option is available for disabling the renderer.
    +
    Sets whether the disabled option can be selected.
    - + void setTrackNameProvider​(TrackNameProvider trackNameProvider) @@ -441,6 +448,28 @@ extends + + +
      +
    • +

      filterOverrides

      +
      public static Map<TrackGroup,​TrackSelectionOverride> filterOverrides​(Map<TrackGroup,​TrackSelectionOverride> overrides,
      +                                                                           List<Tracks.Group> trackGroups,
      +                                                                           boolean allowMultipleOverrides)
      +
      Returns the subset of overrides that apply to the specified trackGroups. If + allowMultipleOverrides is then at most one override is retained, which will be + the one whose track group is first in trackGroups.
      +
      +
      Parameters:
      +
      overrides - The overrides to filter.
      +
      trackGroups - The track groups whose overrides should be retained.
      +
      allowMultipleOverrides - Whether more than one override can be retained.
      +
      Returns:
      +
      The filtered overrides.
      +
      +
    • +
    @@ -466,10 +495,10 @@ extends

    setAllowMultipleOverrides

    public void setAllowMultipleOverrides​(boolean allowMultipleOverrides)
    -
    +
    Sets whether tracks from multiple track groups can be selected. This results in multiple TrackSelectionOverrides being returned by getOverrides().
    Parameters:
    -
    allowMultipleOverrides - Whether multiple track selection overrides can be selected.
    +
    allowMultipleOverrides - Whether tracks from multiple track groups can be selected.
    @@ -480,10 +509,10 @@ extends

    setShowDisableOption

    public void setShowDisableOption​(boolean showDisableOption)
    -
    Sets whether an option is available for disabling the renderer.
    +
    Sets whether the disabled option can be selected.
    Parameters:
    -
    showDisableOption - Whether the disable option is shown.
    +
    showDisableOption - Whether the disabled option can be selected.
    @@ -502,33 +531,31 @@ extends
    + @@ -539,7 +566,7 @@ extends

    getIsDisabled

    public boolean getIsDisabled()
    -
    Returns whether the renderer is disabled.
    +
    Returns whether the disabled option is selected.
    @@ -548,9 +575,8 @@ extends
  • getOverrides

    -
    public List<DefaultTrackSelector.SelectionOverride> getOverrides()
    -
    Returns the list of selected track selection overrides. There will be at most one override for - each track group.
    +
    public Map<TrackGroup,​TrackSelectionOverride> getOverrides()
    +
    Returns the selected track overrides.
  • diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/package-summary.html b/docs/doc/reference/com/google/android/exoplayer2/ui/package-summary.html index 9d0b1a9fce..0b5964ddad 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/ui/package-summary.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ui/package-summary.html @@ -147,8 +147,9 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); StyledPlayerControlView.OnFullScreenModeChangedListener - -
    Listener to be invoked to inform the fullscreen mode is changed.
    +Deprecated. + @@ -159,8 +160,21 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); StyledPlayerControlView.VisibilityListener +Deprecated. + + + + +StyledPlayerView.ControllerVisibilityListener -
    Listener to be notified about changes of the visibility of the UI control.
    +
    Listener to be notified about changes of the visibility of the UI controls.
    + + + +StyledPlayerView.FullscreenButtonClickListener + +
    Listener invoked when the fullscreen button is clicked.
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/package-tree.html b/docs/doc/reference/com/google/android/exoplayer2/ui/package-tree.html index 1745e54b15..62f3d68a89 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/ui/package-tree.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ui/package-tree.html @@ -125,7 +125,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
  • com.google.android.exoplayer2.ui.PlayerView (implements com.google.android.exoplayer2.ui.AdViewProvider)
  • com.google.android.exoplayer2.ui.StyledPlayerControlView
  • com.google.android.exoplayer2.ui.StyledPlayerView (implements com.google.android.exoplayer2.ui.AdViewProvider)
  • -
  • com.google.android.exoplayer2.ui.SubtitleView (implements com.google.android.exoplayer2.Player.Listener)
  • +
  • com.google.android.exoplayer2.ui.SubtitleView
  • android.widget.LinearLayout @@ -154,6 +154,8 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
  • com.google.android.exoplayer2.ui.StyledPlayerControlView.OnFullScreenModeChangedListener
  • com.google.android.exoplayer2.ui.StyledPlayerControlView.ProgressUpdateListener
  • com.google.android.exoplayer2.ui.StyledPlayerControlView.VisibilityListener
  • +
  • com.google.android.exoplayer2.ui.StyledPlayerView.ControllerVisibilityListener
  • +
  • com.google.android.exoplayer2.ui.StyledPlayerView.FullscreenButtonClickListener
  • com.google.android.exoplayer2.ui.TimeBar
  • com.google.android.exoplayer2.ui.TimeBar.OnScrubListener
  • com.google.android.exoplayer2.ui.TrackNameProvider
  • diff --git a/docs/doc/reference/com/google/android/exoplayer2/upstream/DataReader.html b/docs/doc/reference/com/google/android/exoplayer2/upstream/DataReader.html index bd12cb1e6f..cafaf860d5 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/upstream/DataReader.html +++ b/docs/doc/reference/com/google/android/exoplayer2/upstream/DataReader.html @@ -126,7 +126,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    All Known Implementing Classes:
    -
    AesCipherDataSource, AssetDataSource, BaseDataSource, ByteArrayDataSource, CacheDataSource, ContentDataSource, CronetDataSource, DataSchemeDataSource, DefaultDataSource, DefaultExtractorInput, DefaultHttpDataSource, DummyDataSource, FakeDataSource, FakeExtractorInput, FileDataSource, ForwardingExtractorInput, OkHttpDataSource, PriorityDataSource, RawResourceDataSource, ResolvingDataSource, RtmpDataSource, StatsDataSource, TeeDataSource, UdpDataSource
    +
    AesCipherDataSource, AssetDataSource, BaseDataSource, ByteArrayDataSource, CacheDataSource, ContentDataSource, CronetDataSource, DataSchemeDataSource, DefaultDataSource, DefaultExtractorInput, DefaultHttpDataSource, FakeDataSource, FakeExtractorInput, FileDataSource, ForwardingExtractorInput, OkHttpDataSource, PlaceholderDataSource, PriorityDataSource, RawResourceDataSource, ResolvingDataSource, RtmpDataSource, StatsDataSource, TeeDataSource, UdpDataSource

    public interface DataReader
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/upstream/DataSource.html b/docs/doc/reference/com/google/android/exoplayer2/upstream/DataSource.html index 7e160dd261..ac55f5f711 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/upstream/DataSource.html +++ b/docs/doc/reference/com/google/android/exoplayer2/upstream/DataSource.html @@ -130,7 +130,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    All Known Implementing Classes:
    -
    AesCipherDataSource, AssetDataSource, BaseDataSource, ByteArrayDataSource, CacheDataSource, ContentDataSource, CronetDataSource, DataSchemeDataSource, DefaultDataSource, DefaultHttpDataSource, DummyDataSource, FakeDataSource, FileDataSource, OkHttpDataSource, PriorityDataSource, RawResourceDataSource, ResolvingDataSource, RtmpDataSource, StatsDataSource, TeeDataSource, UdpDataSource
    +
    AesCipherDataSource, AssetDataSource, BaseDataSource, ByteArrayDataSource, CacheDataSource, ContentDataSource, CronetDataSource, DataSchemeDataSource, DefaultDataSource, DefaultHttpDataSource, FakeDataSource, FileDataSource, OkHttpDataSource, PlaceholderDataSource, PriorityDataSource, RawResourceDataSource, ResolvingDataSource, RtmpDataSource, StatsDataSource, TeeDataSource, UdpDataSource

    public interface DataSource
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/upstream/DummyDataSource.html b/docs/doc/reference/com/google/android/exoplayer2/upstream/PlaceholderDataSource.html
    similarity index 96%
    rename from docs/doc/reference/com/google/android/exoplayer2/upstream/DummyDataSource.html
    rename to docs/doc/reference/com/google/android/exoplayer2/upstream/PlaceholderDataSource.html
    index 3161c8ea2a..723fb227cf 100644
    --- a/docs/doc/reference/com/google/android/exoplayer2/upstream/DummyDataSource.html
    +++ b/docs/doc/reference/com/google/android/exoplayer2/upstream/PlaceholderDataSource.html
    @@ -2,7 +2,7 @@
     
     
     
    -DummyDataSource (ExoPlayer library)
    +PlaceholderDataSource (ExoPlayer library)
     
     
     
    @@ -19,7 +19,7 @@