Update JavaDoc for exoplayer:2.18.2
#minor-release PiperOrigin-RevId: 490202192
This commit is contained in:
parent
788f74740b
commit
6f1cf6dab4
File diff suppressed because one or more lines are too long
@ -123,6 +123,7 @@
|
||||
<li><a href="com/google/android/exoplayer2/audio/AudioProcessor.html" title="interface in com.google.android.exoplayer2.audio"><span class="interfaceName">AudioProcessor</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/audio/AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/audio/AudioProcessor.UnhandledAudioFormatException.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.UnhandledAudioFormatException</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/audio/AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio"><span class="interfaceName">AudioProcessorChain</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/audio/AudioRendererEventListener.html" title="interface in com.google.android.exoplayer2.audio"><span class="interfaceName">AudioRendererEventListener</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/audio/AudioRendererEventListener.EventDispatcher.html" title="class in com.google.android.exoplayer2.audio">AudioRendererEventListener.EventDispatcher</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/audio/AudioSink.html" title="interface in com.google.android.exoplayer2.audio"><span class="interfaceName">AudioSink</span></a></li>
|
||||
@ -248,6 +249,7 @@
|
||||
<li><a href="com/google/android/exoplayer2/transformer/Codec.EncoderFactory.html" title="interface in com.google.android.exoplayer2.transformer"><span class="interfaceName">Codec.EncoderFactory</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/CodecSpecificDataUtil.html" title="class in com.google.android.exoplayer2.util">CodecSpecificDataUtil</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/video/ColorInfo.html" title="class in com.google.android.exoplayer2.video">ColorInfo</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/ColorLut.html" title="interface in com.google.android.exoplayer2.effect"><span class="interfaceName">ColorLut</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/ColorParser.html" title="class in com.google.android.exoplayer2.util">ColorParser</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/metadata/id3/CommentFrame.html" title="class in com.google.android.exoplayer2.metadata.id3">CommentFrame</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/source/CompositeMediaSource.html" title="class in com.google.android.exoplayer2.source">CompositeMediaSource</a></li>
|
||||
@ -262,6 +264,7 @@
|
||||
<li><a href="com/google/android/exoplayer2/upstream/ContentDataSource.ContentDataSourceException.html" title="class in com.google.android.exoplayer2.upstream">ContentDataSource.ContentDataSourceException</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/upstream/cache/ContentMetadata.html" title="interface in com.google.android.exoplayer2.upstream.cache"><span class="interfaceName">ContentMetadata</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/upstream/cache/ContentMetadataMutations.html" title="class in com.google.android.exoplayer2.upstream.cache">ContentMetadataMutations</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/Contrast.html" title="class in com.google.android.exoplayer2.effect">Contrast</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/CopyOnWriteMultiset.html" title="class in com.google.android.exoplayer2.util">CopyOnWriteMultiset</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/ext/cronet/CronetDataSource.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/ext/cronet/CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a></li>
|
||||
@ -269,6 +272,7 @@
|
||||
<li><a href="com/google/android/exoplayer2/ext/cronet/CronetDataSourceFactory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSourceFactory</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/ext/cronet/CronetEngineWrapper.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetEngineWrapper</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/ext/cronet/CronetUtil.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetUtil</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/Crop.html" title="class in com.google.android.exoplayer2.effect">Crop</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/decoder/CryptoConfig.html" title="interface in com.google.android.exoplayer2.decoder"><span class="interfaceName">CryptoConfig</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/decoder/CryptoException.html" title="class in com.google.android.exoplayer2.decoder">CryptoException</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/decoder/CryptoInfo.html" title="class in com.google.android.exoplayer2.decoder">CryptoInfo</a></li>
|
||||
@ -314,6 +318,9 @@
|
||||
<li><a href="com/google/android/exoplayer2/upstream/DataSpec.Flags.html" title="annotation in com.google.android.exoplayer2.upstream">DataSpec.Flags</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/upstream/DataSpec.HttpMethod.html" title="annotation in com.google.android.exoplayer2.upstream">DataSpec.HttpMethod</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/DebugTextViewHelper.html" title="class in com.google.android.exoplayer2.util">DebugTextViewHelper</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/DebugViewProvider.html" title="interface in com.google.android.exoplayer2.util"><span class="interfaceName">DebugViewProvider</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/testutil/DecodeOneFrameUtil.html" title="class in com.google.android.exoplayer2.testutil">DecodeOneFrameUtil</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/testutil/DecodeOneFrameUtil.Listener.html" title="interface in com.google.android.exoplayer2.testutil"><span class="interfaceName">DecodeOneFrameUtil.Listener</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/decoder/Decoder.html" title="interface in com.google.android.exoplayer2.decoder"><span class="interfaceName">Decoder</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/audio/DecoderAudioRenderer.html" title="class in com.google.android.exoplayer2.audio">DecoderAudioRenderer</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/decoder/DecoderCounters.html" title="class in com.google.android.exoplayer2.decoder">DecoderCounters</a></li>
|
||||
@ -332,6 +339,7 @@
|
||||
<li><a href="com/google/android/exoplayer2/analytics/DefaultAnalyticsCollector.html" title="class in com.google.android.exoplayer2.analytics">DefaultAnalyticsCollector</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/audio/DefaultAudioSink.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/audio/DefaultAudioSink.AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio"><span class="interfaceName">DefaultAudioSink.AudioProcessorChain</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/audio/DefaultAudioSink.AudioTrackBufferSizeProvider.html" title="interface in com.google.android.exoplayer2.audio"><span class="interfaceName">DefaultAudioSink.AudioTrackBufferSizeProvider</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/audio/DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/audio/DefaultAudioSink.DefaultAudioProcessorChain.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.DefaultAudioProcessorChain</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/audio/DefaultAudioSink.InvalidAudioTrackTimestampException.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.InvalidAudioTrackTimestampException</a></li>
|
||||
@ -361,6 +369,7 @@
|
||||
<li><a href="com/google/android/exoplayer2/drm/DefaultDrmSessionManager.Mode.html" title="annotation in com.google.android.exoplayer2.drm">DefaultDrmSessionManager.Mode</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/drm/DefaultDrmSessionManagerProvider.html" title="class in com.google.android.exoplayer2.drm">DefaultDrmSessionManagerProvider</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/DefaultEncoderFactory.html" title="class in com.google.android.exoplayer2.transformer">DefaultEncoderFactory</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/DefaultEncoderFactory.Builder.html" title="class in com.google.android.exoplayer2.transformer">DefaultEncoderFactory.Builder</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/extractor/DefaultExtractorInput.html" title="class in com.google.android.exoplayer2.extractor">DefaultExtractorInput</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/extractor/DefaultExtractorsFactory.html" title="class in com.google.android.exoplayer2.extractor">DefaultExtractorsFactory</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/source/hls/DefaultHlsDataSourceFactory.html" title="class in com.google.android.exoplayer2.source.hls">DefaultHlsDataSourceFactory</a></li>
|
||||
@ -380,6 +389,8 @@
|
||||
<li><a href="com/google/android/exoplayer2/ext/media2/DefaultMediaItemConverter.html" title="class in com.google.android.exoplayer2.ext.media2">DefaultMediaItemConverter</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/source/DefaultMediaSourceFactory.html" title="class in com.google.android.exoplayer2.source">DefaultMediaSourceFactory</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/source/DefaultMediaSourceFactory.AdsLoaderProvider.html" title="interface in com.google.android.exoplayer2.source"><span class="interfaceName">DefaultMediaSourceFactory.AdsLoaderProvider</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/DefaultMuxer.html" title="class in com.google.android.exoplayer2.transformer">DefaultMuxer</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/DefaultMuxer.Factory.html" title="class in com.google.android.exoplayer2.transformer">DefaultMuxer.Factory</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/analytics/DefaultPlaybackSessionManager.html" title="class in com.google.android.exoplayer2.analytics">DefaultPlaybackSessionManager</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/DefaultRenderersFactory.ExtensionRendererMode.html" title="annotation in com.google.android.exoplayer2">DefaultRenderersFactory.ExtensionRendererMode</a></li>
|
||||
@ -400,6 +411,7 @@
|
||||
<li><a href="com/google/android/exoplayer2/source/dash/manifest/Descriptor.html" title="class in com.google.android.exoplayer2.source.dash.manifest">Descriptor</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/DeviceInfo.html" title="class in com.google.android.exoplayer2">DeviceInfo</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/DeviceInfo.PlaybackType.html" title="annotation in com.google.android.exoplayer2">DeviceInfo.PlaybackType</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/DeviceMappedEncoderBitrateProvider.html" title="class in com.google.android.exoplayer2.transformer">DeviceMappedEncoderBitrateProvider</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/video/DolbyVisionConfig.html" title="class in com.google.android.exoplayer2.video">DolbyVisionConfig</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/offline/Download.html" title="class in com.google.android.exoplayer2.offline">Download</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/offline/Download.FailureReason.html" title="annotation in com.google.android.exoplayer2.offline">Download.FailureReason</a></li>
|
||||
@ -449,12 +461,13 @@
|
||||
<li><a href="com/google/android/exoplayer2/extractor/ts/DvbSubtitleReader.html" title="class in com.google.android.exoplayer2.extractor.ts">DvbSubtitleReader</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/extractor/mkv/EbmlProcessor.html" title="interface in com.google.android.exoplayer2.extractor.mkv"><span class="interfaceName">EbmlProcessor</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/extractor/mkv/EbmlProcessor.ElementType.html" title="annotation in com.google.android.exoplayer2.extractor.mkv">EbmlProcessor.ElementType</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/Effect.html" title="interface in com.google.android.exoplayer2.util"><span class="interfaceName">Effect</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/EGLSurfaceTexture.html" title="class in com.google.android.exoplayer2.util">EGLSurfaceTexture</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/EGLSurfaceTexture.GlException.html" title="class in com.google.android.exoplayer2.util">EGLSurfaceTexture.GlException</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/EGLSurfaceTexture.SecureMode.html" title="annotation in com.google.android.exoplayer2.util">EGLSurfaceTexture.SecureMode</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/EGLSurfaceTexture.TextureImageListener.html" title="interface in com.google.android.exoplayer2.util"><span class="interfaceName">EGLSurfaceTexture.TextureImageListener</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/extractor/ts/ElementaryStreamReader.html" title="interface in com.google.android.exoplayer2.extractor.ts"><span class="interfaceName">ElementaryStreamReader</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/source/EmptySampleStream.html" title="class in com.google.android.exoplayer2.source">EmptySampleStream</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/EncoderBitrateProvider.html" title="interface in com.google.android.exoplayer2.transformer"><span class="interfaceName">EncoderBitrateProvider</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/EncoderSelector.html" title="interface in com.google.android.exoplayer2.transformer"><span class="interfaceName">EncoderSelector</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/EncoderUtil.html" title="class in com.google.android.exoplayer2.transformer">EncoderUtil</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/ErrorMessageProvider.html" title="interface in com.google.android.exoplayer2.util"><span class="interfaceName">ErrorMessageProvider</span></a></li>
|
||||
@ -588,7 +601,11 @@
|
||||
<li><a href="com/google/android/exoplayer2/source/ForwardingTimeline.html" title="class in com.google.android.exoplayer2.source">ForwardingTimeline</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/extractor/mp4/FragmentedMp4Extractor.html" title="class in com.google.android.exoplayer2.extractor.mp4">FragmentedMp4Extractor</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/extractor/mp4/FragmentedMp4Extractor.Flags.html" title="annotation in com.google.android.exoplayer2.extractor.mp4">FragmentedMp4Extractor.Flags</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/FrameProcessingException.html" title="class in com.google.android.exoplayer2.transformer">FrameProcessingException</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/FrameInfo.html" title="class in com.google.android.exoplayer2.util">FrameInfo</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util"><span class="interfaceName">FrameProcessor</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/FrameProcessor.Factory.html" title="interface in com.google.android.exoplayer2.util"><span class="interfaceName">FrameProcessor.Factory</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/FrameProcessor.Listener.html" title="interface in com.google.android.exoplayer2.util"><span class="interfaceName">FrameProcessor.Listener</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/drm/FrameworkCryptoConfig.html" title="class in com.google.android.exoplayer2.drm">FrameworkCryptoConfig</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/drm/FrameworkMediaDrm.html" title="class in com.google.android.exoplayer2.drm">FrameworkMediaDrm</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/extractor/GaplessInfoHolder.html" title="class in com.google.android.exoplayer2.extractor">GaplessInfoHolder</a></li>
|
||||
@ -596,9 +613,15 @@
|
||||
<li><a href="com/google/android/exoplayer2/ext/av1/Gav1DecoderException.html" title="class in com.google.android.exoplayer2.ext.av1">Gav1DecoderException</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/ext/av1/Gav1Library.html" title="class in com.google.android.exoplayer2.ext.av1">Gav1Library</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/metadata/id3/GeobFrame.html" title="class in com.google.android.exoplayer2.metadata.id3">GeobFrame</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/GlEffect.html" title="interface in com.google.android.exoplayer2.transformer"><span class="interfaceName">GlEffect</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer"><span class="interfaceName">GlMatrixTransformation</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/GlEffect.html" title="interface in com.google.android.exoplayer2.effect"><span class="interfaceName">GlEffect</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/GlEffectsFrameProcessor.html" title="class in com.google.android.exoplayer2.effect">GlEffectsFrameProcessor</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/GlEffectsFrameProcessor.Factory.html" title="class in com.google.android.exoplayer2.effect">GlEffectsFrameProcessor.Factory</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect"><span class="interfaceName">GlMatrixTransformation</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/GlProgram.html" title="class in com.google.android.exoplayer2.util">GlProgram</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect"><span class="interfaceName">GlTextureProcessor</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/GlTextureProcessor.ErrorListener.html" title="interface in com.google.android.exoplayer2.effect"><span class="interfaceName">GlTextureProcessor.ErrorListener</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/GlTextureProcessor.InputListener.html" title="interface in com.google.android.exoplayer2.effect"><span class="interfaceName">GlTextureProcessor.InputListener</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/GlTextureProcessor.OutputListener.html" title="interface in com.google.android.exoplayer2.effect"><span class="interfaceName">GlTextureProcessor.OutputListener</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/GlUtil.html" title="class in com.google.android.exoplayer2.util">GlUtil</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/GlUtil.GlException.html" title="class in com.google.android.exoplayer2.util">GlUtil.GlException</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/extractor/ts/H262Reader.html" title="class in com.google.android.exoplayer2.extractor.ts">H262Reader</a></li>
|
||||
@ -644,6 +667,8 @@
|
||||
<li><a href="com/google/android/exoplayer2/text/span/HorizontalTextInVerticalContextSpan.html" title="class in com.google.android.exoplayer2.text.span">HorizontalTextInVerticalContextSpan</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/testutil/HostActivity.html" title="class in com.google.android.exoplayer2.testutil">HostActivity</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/testutil/HostActivity.HostedTest.html" title="interface in com.google.android.exoplayer2.testutil"><span class="interfaceName">HostActivity.HostedTest</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/HslAdjustment.html" title="class in com.google.android.exoplayer2.effect">HslAdjustment</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/HslAdjustment.Builder.html" title="class in com.google.android.exoplayer2.effect">HslAdjustment.Builder</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/upstream/HttpDataSource.html" title="interface in com.google.android.exoplayer2.upstream"><span class="interfaceName">HttpDataSource</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/upstream/HttpDataSource.BaseFactory.html" title="class in com.google.android.exoplayer2.upstream">HttpDataSource.BaseFactory</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/upstream/HttpDataSource.CleartextNotPermittedException.html" title="class in com.google.android.exoplayer2.upstream">HttpDataSource.CleartextNotPermittedException</a></li>
|
||||
@ -683,6 +708,7 @@
|
||||
<li><a href="com/google/android/exoplayer2/extractor/ts/LatmReader.html" title="class in com.google.android.exoplayer2.extractor.ts">LatmReader</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/ext/leanback/LeanbackPlayerAdapter.html" title="class in com.google.android.exoplayer2.ext.leanback">LeanbackPlayerAdapter</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/upstream/cache/LeastRecentlyUsedCacheEvictor.html" title="class in com.google.android.exoplayer2.upstream.cache">LeastRecentlyUsedCacheEvictor</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/LegacyMediaPlayerWrapper.html" title="class in com.google.android.exoplayer2">LegacyMediaPlayerWrapper</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/ext/flac/LibflacAudioRenderer.html" title="class in com.google.android.exoplayer2.ext.flac">LibflacAudioRenderer</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/ext/av1/Libgav1VideoRenderer.html" title="class in com.google.android.exoplayer2.ext.av1">Libgav1VideoRenderer</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/ext/opus/LibopusAudioRenderer.html" title="class in com.google.android.exoplayer2.ext.opus">LibopusAudioRenderer</a></li>
|
||||
@ -720,7 +746,7 @@
|
||||
<li><a href="com/google/android/exoplayer2/source/MaskingMediaPeriod.PrepareListener.html" title="interface in com.google.android.exoplayer2.source"><span class="interfaceName">MaskingMediaPeriod.PrepareListener</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/source/MaskingMediaSource.html" title="class in com.google.android.exoplayer2.source">MaskingMediaSource</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/source/MaskingMediaSource.PlaceholderTimeline.html" title="class in com.google.android.exoplayer2.source">MaskingMediaSource.PlaceholderTimeline</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/MatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer"><span class="interfaceName">MatrixTransformation</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/MatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect"><span class="interfaceName">MatrixTransformation</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/extractor/mkv/MatroskaExtractor.html" title="class in com.google.android.exoplayer2.extractor.mkv">MatroskaExtractor</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/extractor/mkv/MatroskaExtractor.Flags.html" title="annotation in com.google.android.exoplayer2.extractor.mkv">MatroskaExtractor.Flags</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/extractor/mkv/MatroskaExtractor.Track.html" title="class in com.google.android.exoplayer2.extractor.mkv">MatroskaExtractor.Track</a></li>
|
||||
@ -823,6 +849,9 @@
|
||||
<li><a href="com/google/android/exoplayer2/extractor/ts/MpegAudioReader.html" title="class in com.google.android.exoplayer2.extractor.ts">MpegAudioReader</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/audio/MpegAudioUtil.html" title="class in com.google.android.exoplayer2.audio">MpegAudioUtil</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/audio/MpegAudioUtil.Header.html" title="class in com.google.android.exoplayer2.audio">MpegAudioUtil.Header</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/Muxer.html" title="interface in com.google.android.exoplayer2.transformer"><span class="interfaceName">Muxer</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/Muxer.Factory.html" title="interface in com.google.android.exoplayer2.transformer"><span class="interfaceName">Muxer.Factory</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/Muxer.MuxerException.html" title="class in com.google.android.exoplayer2.transformer">Muxer.MuxerException</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/NalUnitUtil.html" title="class in com.google.android.exoplayer2.util">NalUnitUtil</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/NalUnitUtil.H265SpsData.html" title="class in com.google.android.exoplayer2.util">NalUnitUtil.H265SpsData</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/NalUnitUtil.PpsData.html" title="class in com.google.android.exoplayer2.util">NalUnitUtil.PpsData</a></li>
|
||||
@ -906,9 +935,8 @@
|
||||
<li><a href="com/google/android/exoplayer2/ui/PlayerView.html" title="class in com.google.android.exoplayer2.ui">PlayerView</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/ui/PlayerView.ShowBuffering.html" title="annotation in com.google.android.exoplayer2.ui">PlayerView.ShowBuffering</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/extractor/PositionHolder.html" title="class in com.google.android.exoplayer2.extractor">PositionHolder</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/Presentation.html" title="class in com.google.android.exoplayer2.transformer">Presentation</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/Presentation.Builder.html" title="class in com.google.android.exoplayer2.transformer">Presentation.Builder</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/Presentation.Layout.html" title="annotation in com.google.android.exoplayer2.transformer">Presentation.Layout</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/Presentation.html" title="class in com.google.android.exoplayer2.effect">Presentation</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/Presentation.Layout.html" title="annotation in com.google.android.exoplayer2.effect">Presentation.Layout</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/upstream/PriorityDataSource.html" title="class in com.google.android.exoplayer2.upstream">PriorityDataSource</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/upstream/PriorityDataSource.Factory.html" title="class in com.google.android.exoplayer2.upstream">PriorityDataSource.Factory</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/upstream/PriorityDataSourceFactory.html" title="class in com.google.android.exoplayer2.upstream">PriorityDataSourceFactory</a></li>
|
||||
@ -958,6 +986,10 @@
|
||||
<li><a href="com/google/android/exoplayer2/upstream/ResolvingDataSource.html" title="class in com.google.android.exoplayer2.upstream">ResolvingDataSource</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/upstream/ResolvingDataSource.Factory.html" title="class in com.google.android.exoplayer2.upstream">ResolvingDataSource.Factory</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/upstream/ResolvingDataSource.Resolver.html" title="interface in com.google.android.exoplayer2.upstream"><span class="interfaceName">ResolvingDataSource.Resolver</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/RgbAdjustment.html" title="class in com.google.android.exoplayer2.effect">RgbAdjustment</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/RgbAdjustment.Builder.html" title="class in com.google.android.exoplayer2.effect">RgbAdjustment.Builder</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/RgbFilter.html" title="class in com.google.android.exoplayer2.effect">RgbFilter</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/RgbMatrix.html" title="interface in com.google.android.exoplayer2.effect"><span class="interfaceName">RgbMatrix</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/robolectric/RobolectricUtil.html" title="class in com.google.android.exoplayer2.robolectric">RobolectricUtil</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/ext/rtmp/RtmpDataSource.html" title="class in com.google.android.exoplayer2.ext.rtmp">RtmpDataSource</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/ext/rtmp/RtmpDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.rtmp">RtmpDataSource.Factory</a></li>
|
||||
@ -981,8 +1013,8 @@
|
||||
<li><a href="com/google/android/exoplayer2/source/SampleStream.html" title="interface in com.google.android.exoplayer2.source"><span class="interfaceName">SampleStream</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/source/SampleStream.ReadDataResult.html" title="annotation in com.google.android.exoplayer2.source">SampleStream.ReadDataResult</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/source/SampleStream.ReadFlags.html" title="annotation in com.google.android.exoplayer2.source">SampleStream.ReadFlags</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/ScaleToFitTransformation.html" title="class in com.google.android.exoplayer2.transformer">ScaleToFitTransformation</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/ScaleToFitTransformation.Builder.html" title="class in com.google.android.exoplayer2.transformer">ScaleToFitTransformation.Builder</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/ScaleToFitTransformation.html" title="class in com.google.android.exoplayer2.effect">ScaleToFitTransformation</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/ScaleToFitTransformation.Builder.html" title="class in com.google.android.exoplayer2.effect">ScaleToFitTransformation.Builder</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/scheduler/Scheduler.html" title="interface in com.google.android.exoplayer2.scheduler"><span class="interfaceName">Scheduler</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/extractor/ts/SectionPayloadReader.html" title="interface in com.google.android.exoplayer2.extractor.ts"><span class="interfaceName">SectionPayloadReader</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/extractor/ts/SectionReader.html" title="class in com.google.android.exoplayer2.extractor.ts">SectionReader</a></li>
|
||||
@ -1025,6 +1057,9 @@
|
||||
<li><a href="com/google/android/exoplayer2/source/SilenceMediaSource.html" title="class in com.google.android.exoplayer2.source">SilenceMediaSource</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/source/SilenceMediaSource.Factory.html" title="class in com.google.android.exoplayer2.source">SilenceMediaSource.Factory</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/audio/SilenceSkippingAudioProcessor.html" title="class in com.google.android.exoplayer2.audio">SilenceSkippingAudioProcessor</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/SimpleBasePlayer.html" title="class in com.google.android.exoplayer2">SimpleBasePlayer</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/SimpleBasePlayer.State.html" title="class in com.google.android.exoplayer2">SimpleBasePlayer.State</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/SimpleBasePlayer.State.Builder.html" title="class in com.google.android.exoplayer2">SimpleBasePlayer.State.Builder</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/upstream/cache/SimpleCache.html" title="class in com.google.android.exoplayer2.upstream.cache">SimpleCache</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/decoder/SimpleDecoder.html" title="class in com.google.android.exoplayer2.decoder">SimpleDecoder</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/decoder/SimpleDecoderOutputBuffer.html" title="class in com.google.android.exoplayer2.decoder">SimpleDecoderOutputBuffer</a></li>
|
||||
@ -1032,12 +1067,14 @@
|
||||
<li><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/metadata/SimpleMetadataDecoder.html" title="class in com.google.android.exoplayer2.metadata">SimpleMetadataDecoder</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/text/SimpleSubtitleDecoder.html" title="class in com.google.android.exoplayer2.text">SimpleSubtitleDecoder</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/SingleFrameGlTextureProcessor.html" title="interface in com.google.android.exoplayer2.transformer"><span class="interfaceName">SingleFrameGlTextureProcessor</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/SingleColorLut.html" title="class in com.google.android.exoplayer2.effect">SingleColorLut</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect">SingleFrameGlTextureProcessor</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/source/ads/SinglePeriodAdTimeline.html" title="class in com.google.android.exoplayer2.source.ads">SinglePeriodAdTimeline</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/source/SinglePeriodTimeline.html" title="class in com.google.android.exoplayer2.source">SinglePeriodTimeline</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/source/chunk/SingleSampleMediaChunk.html" title="class in com.google.android.exoplayer2.source.chunk">SingleSampleMediaChunk</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/source/SingleSampleMediaSource.html" title="class in com.google.android.exoplayer2.source">SingleSampleMediaSource</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/source/SingleSampleMediaSource.Factory.html" title="class in com.google.android.exoplayer2.source">SingleSampleMediaSource.Factory</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/Size.html" title="class in com.google.android.exoplayer2.util">Size</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/upstream/SlidingPercentile.html" title="class in com.google.android.exoplayer2.upstream">SlidingPercentile</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/metadata/mp4/SlowMotionData.html" title="class in com.google.android.exoplayer2.metadata.mp4">SlowMotionData</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/metadata/mp4/SlowMotionData.Segment.html" title="class in com.google.android.exoplayer2.metadata.mp4">SlowMotionData.Segment</a></li>
|
||||
@ -1103,6 +1140,7 @@
|
||||
<li><a href="com/google/android/exoplayer2/text/SubtitleOutputBuffer.html" title="class in com.google.android.exoplayer2.text">SubtitleOutputBuffer</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/ui/SubtitleView.html" title="class in com.google.android.exoplayer2.ui">SubtitleView</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/ui/SubtitleView.ViewType.html" title="annotation in com.google.android.exoplayer2.ui">SubtitleView.ViewType</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/SurfaceInfo.html" title="class in com.google.android.exoplayer2.util">SurfaceInfo</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/mediacodec/SynchronousMediaCodecAdapter.html" title="class in com.google.android.exoplayer2.mediacodec">SynchronousMediaCodecAdapter</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/mediacodec/SynchronousMediaCodecAdapter.Factory.html" title="class in com.google.android.exoplayer2.mediacodec">SynchronousMediaCodecAdapter.Factory</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/SystemClock.html" title="class in com.google.android.exoplayer2.util">SystemClock</a></li>
|
||||
@ -1122,6 +1160,7 @@
|
||||
<li><a href="com/google/android/exoplayer2/metadata/id3/TextInformationFrame.html" title="class in com.google.android.exoplayer2.metadata.id3">TextInformationFrame</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/text/TextOutput.html" title="interface in com.google.android.exoplayer2.text"><span class="interfaceName">TextOutput</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/text/TextRenderer.html" title="class in com.google.android.exoplayer2.text">TextRenderer</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/effect/TextureInfo.html" title="class in com.google.android.exoplayer2.effect">TextureInfo</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/ThumbRating.html" title="class in com.google.android.exoplayer2">ThumbRating</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/ui/TimeBar.html" title="interface in com.google.android.exoplayer2.ui"><span class="interfaceName">TimeBar</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/ui/TimeBar.OnScrubListener.html" title="interface in com.google.android.exoplayer2.ui"><span class="interfaceName">TimeBar.OnScrubListener</span></a></li>
|
||||
@ -1176,7 +1215,6 @@
|
||||
<li><a href="com/google/android/exoplayer2/transformer/TransformationResult.Builder.html" title="class in com.google.android.exoplayer2.transformer">TransformationResult.Builder</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/Transformer.html" title="class in com.google.android.exoplayer2.transformer">Transformer</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/Transformer.Builder.html" title="class in com.google.android.exoplayer2.transformer">Transformer.Builder</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/Transformer.DebugViewProvider.html" title="interface in com.google.android.exoplayer2.transformer"><span class="interfaceName">Transformer.DebugViewProvider</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/Transformer.Listener.html" title="interface in com.google.android.exoplayer2.transformer"><span class="interfaceName">Transformer.Listener</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/transformer/Transformer.ProgressState.html" title="annotation in com.google.android.exoplayer2.transformer">Transformer.ProgressState</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/extractor/TrueHdSampleRechunker.html" title="class in com.google.android.exoplayer2.extractor">TrueHdSampleRechunker</a></li>
|
||||
@ -1240,6 +1278,7 @@
|
||||
<li><a href="com/google/android/exoplayer2/drm/WidevineUtil.html" title="class in com.google.android.exoplayer2.drm">WidevineUtil</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/ext/workmanager/WorkManagerScheduler.html" title="class in com.google.android.exoplayer2.ext.workmanager">WorkManagerScheduler</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/ext/workmanager/WorkManagerScheduler.SchedulerWorker.html" title="class in com.google.android.exoplayer2.ext.workmanager">WorkManagerScheduler.SchedulerWorker</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/source/WrappingMediaSource.html" title="class in com.google.android.exoplayer2.source">WrappingMediaSource</a></li>
|
||||
<li><a href="com/google/android/exoplayer2/offline/WritableDownloadIndex.html" title="interface in com.google.android.exoplayer2.offline"><span class="interfaceName">WritableDownloadIndex</span></a></li>
|
||||
<li><a href="com/google/android/exoplayer2/util/XmlPullParserUtil.html" title="class in com.google.android.exoplayer2.util">XmlPullParserUtil</a></li>
|
||||
</ul>
|
||||
|
@ -128,302 +128,306 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/effect/package-summary.html">com.google.android.exoplayer2.effect</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/ext/av1/package-summary.html">com.google.android.exoplayer2.ext.av1</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/ext/cast/package-summary.html">com.google.android.exoplayer2.ext.cast</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/ext/cronet/package-summary.html">com.google.android.exoplayer2.ext.cronet</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/ext/ffmpeg/package-summary.html">com.google.android.exoplayer2.ext.ffmpeg</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/ext/flac/package-summary.html">com.google.android.exoplayer2.ext.flac</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/ext/ima/package-summary.html">com.google.android.exoplayer2.ext.ima</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/ext/leanback/package-summary.html">com.google.android.exoplayer2.ext.leanback</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/ext/media2/package-summary.html">com.google.android.exoplayer2.ext.media2</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/ext/mediasession/package-summary.html">com.google.android.exoplayer2.ext.mediasession</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/ext/okhttp/package-summary.html">com.google.android.exoplayer2.ext.okhttp</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/ext/opus/package-summary.html">com.google.android.exoplayer2.ext.opus</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/ext/rtmp/package-summary.html">com.google.android.exoplayer2.ext.rtmp</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/ext/vp9/package-summary.html">com.google.android.exoplayer2.ext.vp9</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/ext/workmanager/package-summary.html">com.google.android.exoplayer2.ext.workmanager</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/extractor/package-summary.html">com.google.android.exoplayer2.extractor</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/extractor/amr/package-summary.html">com.google.android.exoplayer2.extractor.amr</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/extractor/avi/package-summary.html">com.google.android.exoplayer2.extractor.avi</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/extractor/flac/package-summary.html">com.google.android.exoplayer2.extractor.flac</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/extractor/flv/package-summary.html">com.google.android.exoplayer2.extractor.flv</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/extractor/jpeg/package-summary.html">com.google.android.exoplayer2.extractor.jpeg</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/extractor/mkv/package-summary.html">com.google.android.exoplayer2.extractor.mkv</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/extractor/mp3/package-summary.html">com.google.android.exoplayer2.extractor.mp3</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/extractor/mp4/package-summary.html">com.google.android.exoplayer2.extractor.mp4</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/extractor/ogg/package-summary.html">com.google.android.exoplayer2.extractor.ogg</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/extractor/ts/package-summary.html">com.google.android.exoplayer2.extractor.ts</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/extractor/wav/package-summary.html">com.google.android.exoplayer2.extractor.wav</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/mediacodec/package-summary.html">com.google.android.exoplayer2.mediacodec</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/metadata/package-summary.html">com.google.android.exoplayer2.metadata</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/metadata/dvbsi/package-summary.html">com.google.android.exoplayer2.metadata.dvbsi</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/metadata/emsg/package-summary.html">com.google.android.exoplayer2.metadata.emsg</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/metadata/flac/package-summary.html">com.google.android.exoplayer2.metadata.flac</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/metadata/icy/package-summary.html">com.google.android.exoplayer2.metadata.icy</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/metadata/id3/package-summary.html">com.google.android.exoplayer2.metadata.id3</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/metadata/mp4/package-summary.html">com.google.android.exoplayer2.metadata.mp4</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/metadata/scte35/package-summary.html">com.google.android.exoplayer2.metadata.scte35</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/metadata/vorbis/package-summary.html">com.google.android.exoplayer2.metadata.vorbis</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/offline/package-summary.html">com.google.android.exoplayer2.offline</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/robolectric/package-summary.html">com.google.android.exoplayer2.robolectric</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/scheduler/package-summary.html">com.google.android.exoplayer2.scheduler</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/source/package-summary.html">com.google.android.exoplayer2.source</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/source/ads/package-summary.html">com.google.android.exoplayer2.source.ads</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/source/chunk/package-summary.html">com.google.android.exoplayer2.source.chunk</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/source/dash/package-summary.html">com.google.android.exoplayer2.source.dash</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/source/dash/manifest/package-summary.html">com.google.android.exoplayer2.source.dash.manifest</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/source/dash/offline/package-summary.html">com.google.android.exoplayer2.source.dash.offline</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/source/hls/package-summary.html">com.google.android.exoplayer2.source.hls</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/source/hls/offline/package-summary.html">com.google.android.exoplayer2.source.hls.offline</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/source/hls/playlist/package-summary.html">com.google.android.exoplayer2.source.hls.playlist</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/source/mediaparser/package-summary.html">com.google.android.exoplayer2.source.mediaparser</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/source/rtsp/package-summary.html">com.google.android.exoplayer2.source.rtsp</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/source/rtsp/reader/package-summary.html">com.google.android.exoplayer2.source.rtsp.reader</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/source/smoothstreaming/package-summary.html">com.google.android.exoplayer2.source.smoothstreaming</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/source/smoothstreaming/manifest/package-summary.html">com.google.android.exoplayer2.source.smoothstreaming.manifest</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/source/smoothstreaming/offline/package-summary.html">com.google.android.exoplayer2.source.smoothstreaming.offline</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/testutil/package-summary.html">com.google.android.exoplayer2.testutil</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/testutil/truth/package-summary.html">com.google.android.exoplayer2.testutil.truth</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/text/package-summary.html">com.google.android.exoplayer2.text</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/text/cea/package-summary.html">com.google.android.exoplayer2.text.cea</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/text/dvb/package-summary.html">com.google.android.exoplayer2.text.dvb</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/text/pgs/package-summary.html">com.google.android.exoplayer2.text.pgs</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/text/span/package-summary.html">com.google.android.exoplayer2.text.span</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/text/ssa/package-summary.html">com.google.android.exoplayer2.text.ssa</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/text/subrip/package-summary.html">com.google.android.exoplayer2.text.subrip</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/text/ttml/package-summary.html">com.google.android.exoplayer2.text.ttml</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/text/tx3g/package-summary.html">com.google.android.exoplayer2.text.tx3g</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/text/webvtt/package-summary.html">com.google.android.exoplayer2.text.webvtt</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/trackselection/package-summary.html">com.google.android.exoplayer2.trackselection</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/transformer/package-summary.html">com.google.android.exoplayer2.transformer</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/ui/package-summary.html">com.google.android.exoplayer2.ui</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/upstream/package-summary.html">com.google.android.exoplayer2.upstream</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/upstream/cache/package-summary.html">com.google.android.exoplayer2.upstream.cache</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/upstream/crypto/package-summary.html">com.google.android.exoplayer2.upstream.crypto</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/util/package-summary.html">com.google.android.exoplayer2.util</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/video/package-summary.html">com.google.android.exoplayer2.video</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="com/google/android/exoplayer2/video/spherical/package-summary.html">com.google.android.exoplayer2.video.spherical</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
|
File diff suppressed because one or more lines are too long
@ -183,14 +183,14 @@ implements <a href="Renderer.html" title="interface in com.google.android.exopla
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface com.google.android.exoplayer2.<a href="Renderer.html" title="interface in com.google.android.exoplayer2">Renderer</a></h3>
|
||||
<code><a href="Renderer.html#MSG_CUSTOM_BASE">MSG_CUSTOM_BASE</a>, <a href="Renderer.html#MSG_SET_AUDIO_ATTRIBUTES">MSG_SET_AUDIO_ATTRIBUTES</a>, <a href="Renderer.html#MSG_SET_AUDIO_SESSION_ID">MSG_SET_AUDIO_SESSION_ID</a>, <a href="Renderer.html#MSG_SET_AUX_EFFECT_INFO">MSG_SET_AUX_EFFECT_INFO</a>, <a href="Renderer.html#MSG_SET_CAMERA_MOTION_LISTENER">MSG_SET_CAMERA_MOTION_LISTENER</a>, <a href="Renderer.html#MSG_SET_CHANGE_FRAME_RATE_STRATEGY">MSG_SET_CHANGE_FRAME_RATE_STRATEGY</a>, <a href="Renderer.html#MSG_SET_SCALING_MODE">MSG_SET_SCALING_MODE</a>, <a href="Renderer.html#MSG_SET_SKIP_SILENCE_ENABLED">MSG_SET_SKIP_SILENCE_ENABLED</a>, <a href="Renderer.html#MSG_SET_VIDEO_FRAME_METADATA_LISTENER">MSG_SET_VIDEO_FRAME_METADATA_LISTENER</a>, <a href="Renderer.html#MSG_SET_VIDEO_OUTPUT">MSG_SET_VIDEO_OUTPUT</a>, <a href="Renderer.html#MSG_SET_VOLUME">MSG_SET_VOLUME</a>, <a href="Renderer.html#MSG_SET_WAKEUP_LISTENER">MSG_SET_WAKEUP_LISTENER</a>, <a href="Renderer.html#STATE_DISABLED">STATE_DISABLED</a>, <a href="Renderer.html#STATE_ENABLED">STATE_ENABLED</a>, <a href="Renderer.html#STATE_STARTED">STATE_STARTED</a></code></li>
|
||||
<code><a href="Renderer.html#MSG_CUSTOM_BASE">MSG_CUSTOM_BASE</a>, <a href="Renderer.html#MSG_SET_AUDIO_ATTRIBUTES">MSG_SET_AUDIO_ATTRIBUTES</a>, <a href="Renderer.html#MSG_SET_AUDIO_SESSION_ID">MSG_SET_AUDIO_SESSION_ID</a>, <a href="Renderer.html#MSG_SET_AUX_EFFECT_INFO">MSG_SET_AUX_EFFECT_INFO</a>, <a href="Renderer.html#MSG_SET_CAMERA_MOTION_LISTENER">MSG_SET_CAMERA_MOTION_LISTENER</a>, <a href="Renderer.html#MSG_SET_CHANGE_FRAME_RATE_STRATEGY">MSG_SET_CHANGE_FRAME_RATE_STRATEGY</a>, <a href="Renderer.html#MSG_SET_PREFERRED_AUDIO_DEVICE">MSG_SET_PREFERRED_AUDIO_DEVICE</a>, <a href="Renderer.html#MSG_SET_SCALING_MODE">MSG_SET_SCALING_MODE</a>, <a href="Renderer.html#MSG_SET_SKIP_SILENCE_ENABLED">MSG_SET_SKIP_SILENCE_ENABLED</a>, <a href="Renderer.html#MSG_SET_VIDEO_FRAME_METADATA_LISTENER">MSG_SET_VIDEO_FRAME_METADATA_LISTENER</a>, <a href="Renderer.html#MSG_SET_VIDEO_OUTPUT">MSG_SET_VIDEO_OUTPUT</a>, <a href="Renderer.html#MSG_SET_VOLUME">MSG_SET_VOLUME</a>, <a href="Renderer.html#MSG_SET_WAKEUP_LISTENER">MSG_SET_WAKEUP_LISTENER</a>, <a href="Renderer.html#STATE_DISABLED">STATE_DISABLED</a>, <a href="Renderer.html#STATE_ENABLED">STATE_ENABLED</a>, <a href="Renderer.html#STATE_STARTED">STATE_STARTED</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="fields.inherited.from.class.com.google.android.exoplayer2.RendererCapabilities">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface com.google.android.exoplayer2.<a href="RendererCapabilities.html" title="interface in com.google.android.exoplayer2">RendererCapabilities</a></h3>
|
||||
<code><a href="RendererCapabilities.html#ADAPTIVE_NOT_SEAMLESS">ADAPTIVE_NOT_SEAMLESS</a>, <a href="RendererCapabilities.html#ADAPTIVE_NOT_SUPPORTED">ADAPTIVE_NOT_SUPPORTED</a>, <a href="RendererCapabilities.html#ADAPTIVE_SEAMLESS">ADAPTIVE_SEAMLESS</a>, <a href="RendererCapabilities.html#ADAPTIVE_SUPPORT_MASK">ADAPTIVE_SUPPORT_MASK</a>, <a href="RendererCapabilities.html#DECODER_SUPPORT_FALLBACK">DECODER_SUPPORT_FALLBACK</a>, <a href="RendererCapabilities.html#DECODER_SUPPORT_PRIMARY">DECODER_SUPPORT_PRIMARY</a>, <a href="RendererCapabilities.html#FORMAT_EXCEEDS_CAPABILITIES">FORMAT_EXCEEDS_CAPABILITIES</a>, <a href="RendererCapabilities.html#FORMAT_HANDLED">FORMAT_HANDLED</a>, <a href="RendererCapabilities.html#FORMAT_SUPPORT_MASK">FORMAT_SUPPORT_MASK</a>, <a href="RendererCapabilities.html#FORMAT_UNSUPPORTED_DRM">FORMAT_UNSUPPORTED_DRM</a>, <a href="RendererCapabilities.html#FORMAT_UNSUPPORTED_SUBTYPE">FORMAT_UNSUPPORTED_SUBTYPE</a>, <a href="RendererCapabilities.html#FORMAT_UNSUPPORTED_TYPE">FORMAT_UNSUPPORTED_TYPE</a>, <a href="RendererCapabilities.html#HARDWARE_ACCELERATION_NOT_SUPPORTED">HARDWARE_ACCELERATION_NOT_SUPPORTED</a>, <a href="RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORT_MASK">HARDWARE_ACCELERATION_SUPPORT_MASK</a>, <a href="RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORTED">HARDWARE_ACCELERATION_SUPPORTED</a>, <a href="RendererCapabilities.html#MODE_SUPPORT_MASK">MODE_SUPPORT_MASK</a>, <a href="RendererCapabilities.html#TUNNELING_NOT_SUPPORTED">TUNNELING_NOT_SUPPORTED</a>, <a href="RendererCapabilities.html#TUNNELING_SUPPORT_MASK">TUNNELING_SUPPORT_MASK</a>, <a href="RendererCapabilities.html#TUNNELING_SUPPORTED">TUNNELING_SUPPORTED</a></code></li>
|
||||
<code><a href="RendererCapabilities.html#ADAPTIVE_NOT_SEAMLESS">ADAPTIVE_NOT_SEAMLESS</a>, <a href="RendererCapabilities.html#ADAPTIVE_NOT_SUPPORTED">ADAPTIVE_NOT_SUPPORTED</a>, <a href="RendererCapabilities.html#ADAPTIVE_SEAMLESS">ADAPTIVE_SEAMLESS</a>, <a href="RendererCapabilities.html#ADAPTIVE_SUPPORT_MASK">ADAPTIVE_SUPPORT_MASK</a>, <a href="RendererCapabilities.html#DECODER_SUPPORT_FALLBACK">DECODER_SUPPORT_FALLBACK</a>, <a href="RendererCapabilities.html#DECODER_SUPPORT_FALLBACK_MIMETYPE">DECODER_SUPPORT_FALLBACK_MIMETYPE</a>, <a href="RendererCapabilities.html#DECODER_SUPPORT_PRIMARY">DECODER_SUPPORT_PRIMARY</a>, <a href="RendererCapabilities.html#FORMAT_EXCEEDS_CAPABILITIES">FORMAT_EXCEEDS_CAPABILITIES</a>, <a href="RendererCapabilities.html#FORMAT_HANDLED">FORMAT_HANDLED</a>, <a href="RendererCapabilities.html#FORMAT_SUPPORT_MASK">FORMAT_SUPPORT_MASK</a>, <a href="RendererCapabilities.html#FORMAT_UNSUPPORTED_DRM">FORMAT_UNSUPPORTED_DRM</a>, <a href="RendererCapabilities.html#FORMAT_UNSUPPORTED_SUBTYPE">FORMAT_UNSUPPORTED_SUBTYPE</a>, <a href="RendererCapabilities.html#FORMAT_UNSUPPORTED_TYPE">FORMAT_UNSUPPORTED_TYPE</a>, <a href="RendererCapabilities.html#HARDWARE_ACCELERATION_NOT_SUPPORTED">HARDWARE_ACCELERATION_NOT_SUPPORTED</a>, <a href="RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORT_MASK">HARDWARE_ACCELERATION_SUPPORT_MASK</a>, <a href="RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORTED">HARDWARE_ACCELERATION_SUPPORTED</a>, <a href="RendererCapabilities.html#MODE_SUPPORT_MASK">MODE_SUPPORT_MASK</a>, <a href="RendererCapabilities.html#TUNNELING_NOT_SUPPORTED">TUNNELING_NOT_SUPPORTED</a>, <a href="RendererCapabilities.html#TUNNELING_SUPPORT_MASK">TUNNELING_SUPPORT_MASK</a>, <a href="RendererCapabilities.html#TUNNELING_SUPPORTED">TUNNELING_SUPPORTED</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -117,7 +117,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<a href="https://developer.android.com/reference/java/lang/annotation/Retention.html" title="class or interface in java.lang.annotation" class="externalLink">@Retention</a>(<a href="https://developer.android.com/reference/java/lang/annotation/RetentionPolicy.html?is-external=true#SOURCE" title="class or interface in java.lang.annotation" class="externalLink" target="_top">SOURCE</a>)
|
||||
<a href="https://developer.android.com/reference/java/lang/annotation/Target.html" title="class or interface in java.lang.annotation" class="externalLink">@Target</a>(<a href="https://developer.android.com/reference/java/lang/annotation/ElementType.html?is-external=true#TYPE_USE" title="class or interface in java.lang.annotation" class="externalLink" target="_top">TYPE_USE</a>)
|
||||
public static @interface <span class="memberNameLabel">C.ColorSpace</span></pre>
|
||||
<div class="block">Video colorspaces. One of <a href="Format.html#NO_VALUE"><code>Format.NO_VALUE</code></a>, <a href="C.html#COLOR_SPACE_BT709"><code>C.COLOR_SPACE_BT709</code></a>, <a href="C.html#COLOR_SPACE_BT601"><code>C.COLOR_SPACE_BT601</code></a> or <a href="C.html#COLOR_SPACE_BT2020"><code>C.COLOR_SPACE_BT2020</code></a>.</div>
|
||||
<div class="block">Video colorspaces. One of <a href="Format.html#NO_VALUE"><code>Format.NO_VALUE</code></a>, <a href="C.html#COLOR_SPACE_BT601"><code>C.COLOR_SPACE_BT601</code></a>, <a href="C.html#COLOR_SPACE_BT709"><code>C.COLOR_SPACE_BT709</code></a> or <a href="C.html#COLOR_SPACE_BT2020"><code>C.COLOR_SPACE_BT2020</code></a>.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -4262,20 +4262,6 @@ public static final int TYPE_OTHER</pre>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="COLOR_SPACE_BT709">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>COLOR_SPACE_BT709</h4>
|
||||
<pre>public static final int COLOR_SPACE_BT709</pre>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="https://developer.android.com/reference/android/media/MediaFormat.html#COLOR_STANDARD_BT709" title="class or interface in android.media" class="externalLink" target="_top"><code>MediaFormat.COLOR_STANDARD_BT709</code></a>,
|
||||
<a href="../../../../constant-values.html#com.google.android.exoplayer2.C.COLOR_SPACE_BT709">Constant Field Values</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="COLOR_SPACE_BT601">
|
||||
<!-- -->
|
||||
</a>
|
||||
@ -4290,6 +4276,20 @@ public static final int TYPE_OTHER</pre>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="COLOR_SPACE_BT709">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>COLOR_SPACE_BT709</h4>
|
||||
<pre>public static final int COLOR_SPACE_BT709</pre>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="https://developer.android.com/reference/android/media/MediaFormat.html#COLOR_STANDARD_BT709" title="class or interface in android.media" class="externalLink" target="_top"><code>MediaFormat.COLOR_STANDARD_BT709</code></a>,
|
||||
<a href="../../../../constant-values.html#com.google.android.exoplayer2.C.COLOR_SPACE_BT709">Constant Field Values</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="COLOR_SPACE_BT2020">
|
||||
<!-- -->
|
||||
</a>
|
||||
|
@ -290,7 +290,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setFallbackMinPlaybackSpeed</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultLivePlaybackSpeedControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLivePlaybackSpeedControl.Builder</a> setFallbackMinPlaybackSpeed​(float fallbackMinPlaybackSpeed)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultLivePlaybackSpeedControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLivePlaybackSpeedControl.Builder</a> setFallbackMinPlaybackSpeed​(float fallbackMinPlaybackSpeed)</pre>
|
||||
<div class="block">Sets the minimum playback speed that should be used if no minimum playback speed is defined
|
||||
by the media.
|
||||
|
||||
@ -309,7 +310,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setFallbackMaxPlaybackSpeed</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultLivePlaybackSpeedControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLivePlaybackSpeedControl.Builder</a> setFallbackMaxPlaybackSpeed​(float fallbackMaxPlaybackSpeed)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultLivePlaybackSpeedControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLivePlaybackSpeedControl.Builder</a> setFallbackMaxPlaybackSpeed​(float fallbackMaxPlaybackSpeed)</pre>
|
||||
<div class="block">Sets the maximum playback speed that should be used if no maximum playback speed is defined
|
||||
by the media.
|
||||
|
||||
@ -328,7 +330,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMinUpdateIntervalMs</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultLivePlaybackSpeedControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLivePlaybackSpeedControl.Builder</a> setMinUpdateIntervalMs​(long minUpdateIntervalMs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultLivePlaybackSpeedControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLivePlaybackSpeedControl.Builder</a> setMinUpdateIntervalMs​(long minUpdateIntervalMs)</pre>
|
||||
<div class="block">Sets the minimum interval between playback speed changes, in milliseconds.
|
||||
|
||||
<p>The default is <a href="DefaultLivePlaybackSpeedControl.html#DEFAULT_MIN_UPDATE_INTERVAL_MS"><code>DefaultLivePlaybackSpeedControl.DEFAULT_MIN_UPDATE_INTERVAL_MS</code></a>.</div>
|
||||
@ -347,7 +350,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setProportionalControlFactor</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultLivePlaybackSpeedControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLivePlaybackSpeedControl.Builder</a> setProportionalControlFactor​(float proportionalControlFactor)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultLivePlaybackSpeedControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLivePlaybackSpeedControl.Builder</a> setProportionalControlFactor​(float proportionalControlFactor)</pre>
|
||||
<div class="block">Sets the proportional control factor used to adjust the playback speed.
|
||||
|
||||
<p>The factor by which playback will be sped up is calculated as <code>1.0 +
|
||||
@ -369,7 +373,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMaxLiveOffsetErrorMsForUnitSpeed</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultLivePlaybackSpeedControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLivePlaybackSpeedControl.Builder</a> setMaxLiveOffsetErrorMsForUnitSpeed​(long maxLiveOffsetErrorMsForUnitSpeed)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultLivePlaybackSpeedControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLivePlaybackSpeedControl.Builder</a> setMaxLiveOffsetErrorMsForUnitSpeed​(long maxLiveOffsetErrorMsForUnitSpeed)</pre>
|
||||
<div class="block">Sets the maximum difference between the current live offset and the target live offset, in
|
||||
milliseconds, for which unit speed (1.0f) is used.
|
||||
|
||||
@ -389,7 +394,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setTargetLiveOffsetIncrementOnRebufferMs</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultLivePlaybackSpeedControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLivePlaybackSpeedControl.Builder</a> setTargetLiveOffsetIncrementOnRebufferMs​(long targetLiveOffsetIncrementOnRebufferMs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultLivePlaybackSpeedControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLivePlaybackSpeedControl.Builder</a> setTargetLiveOffsetIncrementOnRebufferMs​(long targetLiveOffsetIncrementOnRebufferMs)</pre>
|
||||
<div class="block">Sets the increment applied to the target live offset each time the player is rebuffering, in
|
||||
milliseconds.</div>
|
||||
<dl>
|
||||
@ -407,7 +413,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMinPossibleLiveOffsetSmoothingFactor</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultLivePlaybackSpeedControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLivePlaybackSpeedControl.Builder</a> setMinPossibleLiveOffsetSmoothingFactor​(float minPossibleLiveOffsetSmoothingFactor)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultLivePlaybackSpeedControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLivePlaybackSpeedControl.Builder</a> setMinPossibleLiveOffsetSmoothingFactor​(float minPossibleLiveOffsetSmoothingFactor)</pre>
|
||||
<div class="block">Sets the smoothing factor when smoothing the minimum possible live offset that can be
|
||||
achieved during playback.
|
||||
|
||||
|
@ -286,7 +286,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAllocator</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultLoadControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLoadControl.Builder</a> setAllocator​(<a href="upstream/DefaultAllocator.html" title="class in com.google.android.exoplayer2.upstream">DefaultAllocator</a> allocator)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultLoadControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLoadControl.Builder</a> setAllocator​(<a href="upstream/DefaultAllocator.html" title="class in com.google.android.exoplayer2.upstream">DefaultAllocator</a> allocator)</pre>
|
||||
<div class="block">Sets the <a href="upstream/DefaultAllocator.html" title="class in com.google.android.exoplayer2.upstream"><code>DefaultAllocator</code></a> used by the loader.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -304,7 +305,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setBufferDurationsMs</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultLoadControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLoadControl.Builder</a> setBufferDurationsMs​(int minBufferMs,
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultLoadControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLoadControl.Builder</a> setBufferDurationsMs​(int minBufferMs,
|
||||
int maxBufferMs,
|
||||
int bufferForPlaybackMs,
|
||||
int bufferForPlaybackAfterRebufferMs)</pre>
|
||||
@ -333,7 +335,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setTargetBufferBytes</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultLoadControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLoadControl.Builder</a> setTargetBufferBytes​(int targetBufferBytes)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultLoadControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLoadControl.Builder</a> setTargetBufferBytes​(int targetBufferBytes)</pre>
|
||||
<div class="block">Sets the target buffer size in bytes. If set to <a href="C.html#LENGTH_UNSET"><code>C.LENGTH_UNSET</code></a>, the target buffer
|
||||
size will be calculated based on the selected tracks.</div>
|
||||
<dl>
|
||||
@ -352,7 +355,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPrioritizeTimeOverSizeThresholds</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultLoadControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLoadControl.Builder</a> setPrioritizeTimeOverSizeThresholds​(boolean prioritizeTimeOverSizeThresholds)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultLoadControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLoadControl.Builder</a> setPrioritizeTimeOverSizeThresholds​(boolean prioritizeTimeOverSizeThresholds)</pre>
|
||||
<div class="block">Sets whether the load control prioritizes buffer time constraints over buffer size
|
||||
constraints.</div>
|
||||
<dl>
|
||||
@ -372,7 +376,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setBackBuffer</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultLoadControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLoadControl.Builder</a> setBackBuffer​(int backBufferDurationMs,
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultLoadControl.Builder.html" title="class in com.google.android.exoplayer2">DefaultLoadControl.Builder</a> setBackBuffer​(int backBufferDurationMs,
|
||||
boolean retainBackBufferFromKeyframe)</pre>
|
||||
<div class="block">Sets the back buffer duration, and whether the back buffer is retained from the previous
|
||||
keyframe.</div>
|
||||
|
@ -569,7 +569,8 @@ implements <a href="RenderersFactory.html" title="interface in com.google.androi
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setExtensionRendererMode</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a> setExtensionRendererMode​(@com.google.android.exoplayer2.DefaultRenderersFactory.ExtensionRendererMode int extensionRendererMode)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a> setExtensionRendererMode​(@com.google.android.exoplayer2.DefaultRenderersFactory.ExtensionRendererMode int extensionRendererMode)</pre>
|
||||
<div class="block">Sets the extension renderer mode, which determines if and how available extension renderers are
|
||||
used. Note that extensions must be included in the application build for them to be considered
|
||||
available.
|
||||
@ -589,7 +590,8 @@ implements <a href="RenderersFactory.html" title="interface in com.google.androi
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>forceEnableMediaCodecAsynchronousQueueing</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a> forceEnableMediaCodecAsynchronousQueueing()</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a> forceEnableMediaCodecAsynchronousQueueing()</pre>
|
||||
<div class="block">Enables <a href="mediacodec/MediaCodecRenderer.html" title="class in com.google.android.exoplayer2.mediacodec"><code>MediaCodecRenderer</code></a> instances to
|
||||
operate their <a href="https://developer.android.com/reference/android/media/MediaCodec.html" title="class or interface in android.media" class="externalLink" target="_top"><code>MediaCodec</code></a> in asynchronous mode and perform asynchronous queueing.
|
||||
|
||||
@ -607,7 +609,8 @@ implements <a href="RenderersFactory.html" title="interface in com.google.androi
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>forceDisableMediaCodecAsynchronousQueueing</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a> forceDisableMediaCodecAsynchronousQueueing()</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a> forceDisableMediaCodecAsynchronousQueueing()</pre>
|
||||
<div class="block">Disables <a href="mediacodec/MediaCodecRenderer.html" title="class in com.google.android.exoplayer2.mediacodec"><code>MediaCodecRenderer</code></a> instances from
|
||||
operating their <a href="https://developer.android.com/reference/android/media/MediaCodec.html" title="class or interface in android.media" class="externalLink" target="_top"><code>MediaCodec</code></a> in asynchronous mode and perform asynchronous queueing.
|
||||
<a href="https://developer.android.com/reference/android/media/MediaCodec.html" title="class or interface in android.media" class="externalLink" target="_top"><code>MediaCodec</code></a> instances will be operated synchronous mode.</div>
|
||||
@ -623,7 +626,8 @@ implements <a href="RenderersFactory.html" title="interface in com.google.androi
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>experimentalSetSynchronizeCodecInteractionsWithQueueingEnabled</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a> experimentalSetSynchronizeCodecInteractionsWithQueueingEnabled​(boolean enabled)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a> experimentalSetSynchronizeCodecInteractionsWithQueueingEnabled​(boolean enabled)</pre>
|
||||
<div class="block">Enable synchronizing codec interactions with asynchronous buffer queueing.
|
||||
|
||||
<p>This method is experimental, and will be renamed or removed in a future release.</div>
|
||||
@ -642,7 +646,8 @@ implements <a href="RenderersFactory.html" title="interface in com.google.androi
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setEnableDecoderFallback</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a> setEnableDecoderFallback​(boolean enableDecoderFallback)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a> setEnableDecoderFallback​(boolean enableDecoderFallback)</pre>
|
||||
<div class="block">Sets whether to enable fallback to lower-priority decoders if decoder initialization fails.
|
||||
This may result in using a decoder that is less efficient or slower than the primary decoder.</div>
|
||||
<dl>
|
||||
@ -660,7 +665,8 @@ implements <a href="RenderersFactory.html" title="interface in com.google.androi
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMediaCodecSelector</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a> setMediaCodecSelector​(<a href="mediacodec/MediaCodecSelector.html" title="interface in com.google.android.exoplayer2.mediacodec">MediaCodecSelector</a> mediaCodecSelector)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a> setMediaCodecSelector​(<a href="mediacodec/MediaCodecSelector.html" title="interface in com.google.android.exoplayer2.mediacodec">MediaCodecSelector</a> mediaCodecSelector)</pre>
|
||||
<div class="block">Sets a <a href="mediacodec/MediaCodecSelector.html" title="interface in com.google.android.exoplayer2.mediacodec"><code>MediaCodecSelector</code></a> for use by <a href="https://developer.android.com/reference/android/media/MediaCodec.html" title="class or interface in android.media" class="externalLink" target="_top"><code>MediaCodec</code></a> based renderers.
|
||||
|
||||
<p>The default value is <a href="mediacodec/MediaCodecSelector.html#DEFAULT"><code>MediaCodecSelector.DEFAULT</code></a>.</div>
|
||||
@ -678,7 +684,8 @@ implements <a href="RenderersFactory.html" title="interface in com.google.androi
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setEnableAudioFloatOutput</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a> setEnableAudioFloatOutput​(boolean enableFloatOutput)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a> setEnableAudioFloatOutput​(boolean enableFloatOutput)</pre>
|
||||
<div class="block">Sets whether floating point audio should be output when possible.
|
||||
|
||||
<p>Enabling floating point output disables audio processing, but may allow for higher quality
|
||||
@ -699,7 +706,8 @@ implements <a href="RenderersFactory.html" title="interface in com.google.androi
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setEnableAudioOffload</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a> setEnableAudioOffload​(boolean enableOffload)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a> setEnableAudioOffload​(boolean enableOffload)</pre>
|
||||
<div class="block">Sets whether audio should be played using the offload path.
|
||||
|
||||
<p>Audio offload disables ExoPlayer audio processing, but significantly reduces the energy
|
||||
@ -725,7 +733,8 @@ implements <a href="RenderersFactory.html" title="interface in com.google.androi
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setEnableAudioTrackPlaybackParams</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a> setEnableAudioTrackPlaybackParams​(boolean enableAudioTrackPlaybackParams)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a> setEnableAudioTrackPlaybackParams​(boolean enableAudioTrackPlaybackParams)</pre>
|
||||
<div class="block">Sets whether to enable setting playback speed using <a href="https://developer.android.com/reference/android/media/AudioTrack.html#setPlaybackParams(android.media.PlaybackParams)" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack.setPlaybackParams(PlaybackParams)</code></a>, which is supported from API level
|
||||
23, rather than using application-level audio speed adjustment. This setting has no effect on
|
||||
builds before API level 23 (application-level speed adjustment will be used in all cases).
|
||||
@ -751,7 +760,8 @@ implements <a href="RenderersFactory.html" title="interface in com.google.androi
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAllowedVideoJoiningTimeMs</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a> setAllowedVideoJoiningTimeMs​(long allowedVideoJoiningTimeMs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultRenderersFactory.html" title="class in com.google.android.exoplayer2">DefaultRenderersFactory</a> setAllowedVideoJoiningTimeMs​(long allowedVideoJoiningTimeMs)</pre>
|
||||
<div class="block">Sets the maximum duration for which video renderers can attempt to seamlessly join an ongoing
|
||||
playback.
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":18,"i1":18};
|
||||
var data = {"i0":18,"i1":18,"i2":18};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],16:["t5","Default Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@ -151,12 +151,19 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>default void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onExperimentalOffloadedPlayback(boolean)">onExperimentalOffloadedPlayback</a></span>​(boolean offloadedPlayback)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Called when the value of <a href="https://developer.android.com/reference/android/media/AudioTrack.html#isOffloadedPlayback()" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack.isOffloadedPlayback()</code></a> changes.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>default void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onExperimentalOffloadSchedulingEnabledChanged(boolean)">onExperimentalOffloadSchedulingEnabledChanged</a></span>​(boolean offloadSchedulingEnabled)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Called when the player has started or stopped offload scheduling using <a href="ExoPlayer.html#experimentalSetOffloadSchedulingEnabled(boolean)"><code>ExoPlayer.experimentalSetOffloadSchedulingEnabled(boolean)</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>default void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onExperimentalSleepingForOffloadChanged(boolean)">onExperimentalSleepingForOffloadChanged</a></span>​(boolean sleepingForOffload)</code></th>
|
||||
<td class="colLast">
|
||||
@ -195,7 +202,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<a id="onExperimentalSleepingForOffloadChanged(boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onExperimentalSleepingForOffloadChanged</h4>
|
||||
<pre class="methodSignature">default void onExperimentalSleepingForOffloadChanged​(boolean sleepingForOffload)</pre>
|
||||
@ -204,6 +211,21 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<p>This method is experimental, and will be renamed or removed in a future release.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="onExperimentalOffloadedPlayback(boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>onExperimentalOffloadedPlayback</h4>
|
||||
<pre class="methodSignature">default void onExperimentalOffloadedPlayback​(boolean offloadedPlayback)</pre>
|
||||
<div class="block">Called when the value of <a href="https://developer.android.com/reference/android/media/AudioTrack.html#isOffloadedPlayback()" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack.isOffloadedPlayback()</code></a> changes.
|
||||
|
||||
<p>This should not be generally required to be acted upon. But when offload is critical for
|
||||
efficiency, or audio features (gapless, playback speed), this will let the app know.
|
||||
|
||||
<p>This method is experimental, and will be renamed or removed in a future release.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
@ -587,7 +587,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>experimentalSetForegroundModeTimeoutMs</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> experimentalSetForegroundModeTimeoutMs​(long timeoutMs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> experimentalSetForegroundModeTimeoutMs​(long timeoutMs)</pre>
|
||||
<div class="block">Sets a limit on the time a call to <a href="ExoPlayer.html#setForegroundMode(boolean)"><code>ExoPlayer.setForegroundMode(boolean)</code></a> can spend. If a call to <a href="ExoPlayer.html#setForegroundMode(boolean)"><code>ExoPlayer.setForegroundMode(boolean)</code></a> takes more than <code>timeoutMs</code> milliseconds to complete, the player
|
||||
will raise an error via <a href="Player.Listener.html#onPlayerError(com.google.android.exoplayer2.PlaybackException)"><code>Player.Listener.onPlayerError(com.google.android.exoplayer2.PlaybackException)</code></a>.
|
||||
|
||||
@ -604,7 +605,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setRenderersFactory</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setRenderersFactory​(<a href="RenderersFactory.html" title="interface in com.google.android.exoplayer2">RenderersFactory</a> renderersFactory)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setRenderersFactory​(<a href="RenderersFactory.html" title="interface in com.google.android.exoplayer2">RenderersFactory</a> renderersFactory)</pre>
|
||||
<div class="block">Sets the <a href="RenderersFactory.html" title="interface in com.google.android.exoplayer2"><code>RenderersFactory</code></a> that will be used by the player.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -622,7 +624,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMediaSourceFactory</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setMediaSourceFactory​(<a href="source/MediaSource.Factory.html" title="interface in com.google.android.exoplayer2.source">MediaSource.Factory</a> mediaSourceFactory)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setMediaSourceFactory​(<a href="source/MediaSource.Factory.html" title="interface in com.google.android.exoplayer2.source">MediaSource.Factory</a> mediaSourceFactory)</pre>
|
||||
<div class="block">Sets the <a href="source/MediaSource.Factory.html" title="interface in com.google.android.exoplayer2.source"><code>MediaSource.Factory</code></a> that will be used by the player.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -640,7 +643,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setTrackSelector</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setTrackSelector​(<a href="trackselection/TrackSelector.html" title="class in com.google.android.exoplayer2.trackselection">TrackSelector</a> trackSelector)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setTrackSelector​(<a href="trackselection/TrackSelector.html" title="class in com.google.android.exoplayer2.trackselection">TrackSelector</a> trackSelector)</pre>
|
||||
<div class="block">Sets the <a href="trackselection/TrackSelector.html" title="class in com.google.android.exoplayer2.trackselection"><code>TrackSelector</code></a> that will be used by the player.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -658,7 +662,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLoadControl</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setLoadControl​(<a href="LoadControl.html" title="interface in com.google.android.exoplayer2">LoadControl</a> loadControl)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setLoadControl​(<a href="LoadControl.html" title="interface in com.google.android.exoplayer2">LoadControl</a> loadControl)</pre>
|
||||
<div class="block">Sets the <a href="LoadControl.html" title="interface in com.google.android.exoplayer2"><code>LoadControl</code></a> that will be used by the player.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -676,7 +681,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setBandwidthMeter</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setBandwidthMeter​(<a href="upstream/BandwidthMeter.html" title="interface in com.google.android.exoplayer2.upstream">BandwidthMeter</a> bandwidthMeter)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setBandwidthMeter​(<a href="upstream/BandwidthMeter.html" title="interface in com.google.android.exoplayer2.upstream">BandwidthMeter</a> bandwidthMeter)</pre>
|
||||
<div class="block">Sets the <a href="upstream/BandwidthMeter.html" title="interface in com.google.android.exoplayer2.upstream"><code>BandwidthMeter</code></a> that will be used by the player.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -694,7 +700,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLooper</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setLooper​(<a href="https://developer.android.com/reference/android/os/Looper.html" title="class or interface in android.os" class="externalLink" target="_top">Looper</a> looper)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setLooper​(<a href="https://developer.android.com/reference/android/os/Looper.html" title="class or interface in android.os" class="externalLink" target="_top">Looper</a> looper)</pre>
|
||||
<div class="block">Sets the <a href="https://developer.android.com/reference/android/os/Looper.html" title="class or interface in android.os" class="externalLink" target="_top"><code>Looper</code></a> that must be used for all calls to the player and that is used to
|
||||
call listeners on.</div>
|
||||
<dl>
|
||||
@ -713,7 +720,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAnalyticsCollector</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setAnalyticsCollector​(<a href="analytics/AnalyticsCollector.html" title="interface in com.google.android.exoplayer2.analytics">AnalyticsCollector</a> analyticsCollector)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setAnalyticsCollector​(<a href="analytics/AnalyticsCollector.html" title="interface in com.google.android.exoplayer2.analytics">AnalyticsCollector</a> analyticsCollector)</pre>
|
||||
<div class="block">Sets the <a href="analytics/AnalyticsCollector.html" title="interface in com.google.android.exoplayer2.analytics"><code>AnalyticsCollector</code></a> that will collect and forward all player events.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -731,7 +739,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPriorityTaskManager</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setPriorityTaskManager​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setPriorityTaskManager​(@Nullable
|
||||
<a href="util/PriorityTaskManager.html" title="class in com.google.android.exoplayer2.util">PriorityTaskManager</a> priorityTaskManager)</pre>
|
||||
<div class="block">Sets an <a href="util/PriorityTaskManager.html" title="class in com.google.android.exoplayer2.util"><code>PriorityTaskManager</code></a> that will be used by the player.
|
||||
|
||||
@ -752,7 +761,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAudioAttributes</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setAudioAttributes​(<a href="audio/AudioAttributes.html" title="class in com.google.android.exoplayer2.audio">AudioAttributes</a> audioAttributes,
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setAudioAttributes​(<a href="audio/AudioAttributes.html" title="class in com.google.android.exoplayer2.audio">AudioAttributes</a> audioAttributes,
|
||||
boolean handleAudioFocus)</pre>
|
||||
<div class="block">Sets <a href="audio/AudioAttributes.html" title="class in com.google.android.exoplayer2.audio"><code>AudioAttributes</code></a> that will be used by the player and whether to handle audio
|
||||
focus.
|
||||
@ -775,7 +785,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setWakeMode</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setWakeMode​(<a href="C.WakeMode.html" title="annotation in com.google.android.exoplayer2">@WakeMode</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setWakeMode​(<a href="C.WakeMode.html" title="annotation in com.google.android.exoplayer2">@WakeMode</a>
|
||||
@com.google.android.exoplayer2.C.WakeMode int wakeMode)</pre>
|
||||
<div class="block">Sets the <a href="C.WakeMode.html" title="annotation in com.google.android.exoplayer2"><code>C.WakeMode</code></a> that will be used by the player.
|
||||
|
||||
@ -802,7 +813,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setHandleAudioBecomingNoisy</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setHandleAudioBecomingNoisy​(boolean handleAudioBecomingNoisy)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setHandleAudioBecomingNoisy​(boolean handleAudioBecomingNoisy)</pre>
|
||||
<div class="block">Sets whether the player should pause automatically when audio is rerouted from a headset to
|
||||
device speakers. See the <a href="https://developer.android.com/guide/topics/media-apps/volume-and-earphones#becoming-noisy">
|
||||
audio becoming noisy</a> documentation for more information.</div>
|
||||
@ -823,7 +835,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSkipSilenceEnabled</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setSkipSilenceEnabled​(boolean skipSilenceEnabled)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setSkipSilenceEnabled​(boolean skipSilenceEnabled)</pre>
|
||||
<div class="block">Sets whether silences silences in the audio stream is enabled.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -841,7 +854,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setVideoScalingMode</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setVideoScalingMode​(<a href="C.VideoScalingMode.html" title="annotation in com.google.android.exoplayer2">@VideoScalingMode</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setVideoScalingMode​(<a href="C.VideoScalingMode.html" title="annotation in com.google.android.exoplayer2">@VideoScalingMode</a>
|
||||
@com.google.android.exoplayer2.C.VideoScalingMode int videoScalingMode)</pre>
|
||||
<div class="block">Sets the <a href="C.VideoScalingMode.html" title="annotation in com.google.android.exoplayer2"><code>C.VideoScalingMode</code></a> that will be used by the player.
|
||||
|
||||
@ -863,7 +877,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setVideoChangeFrameRateStrategy</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setVideoChangeFrameRateStrategy​(<a href="C.VideoChangeFrameRateStrategy.html" title="annotation in com.google.android.exoplayer2">@VideoChangeFrameRateStrategy</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setVideoChangeFrameRateStrategy​(<a href="C.VideoChangeFrameRateStrategy.html" title="annotation in com.google.android.exoplayer2">@VideoChangeFrameRateStrategy</a>
|
||||
@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int videoChangeFrameRateStrategy)</pre>
|
||||
<div class="block">Sets a <a href="C.VideoChangeFrameRateStrategy.html" title="annotation in com.google.android.exoplayer2"><code>C.VideoChangeFrameRateStrategy</code></a> that will be used by the player when provided
|
||||
with a video output <a href="https://developer.android.com/reference/android/view/Surface.html" title="class or interface in android.view" class="externalLink" target="_top"><code>Surface</code></a>.
|
||||
@ -888,7 +903,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setUseLazyPreparation</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setUseLazyPreparation​(boolean useLazyPreparation)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setUseLazyPreparation​(boolean useLazyPreparation)</pre>
|
||||
<div class="block">Sets whether media sources should be initialized lazily.
|
||||
|
||||
<p>If false, all initial preparation steps (e.g., manifest loads) happen immediately. If
|
||||
@ -910,7 +926,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSeekParameters</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setSeekParameters​(<a href="SeekParameters.html" title="class in com.google.android.exoplayer2">SeekParameters</a> seekParameters)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setSeekParameters​(<a href="SeekParameters.html" title="class in com.google.android.exoplayer2">SeekParameters</a> seekParameters)</pre>
|
||||
<div class="block">Sets the parameters that control how seek operations are performed.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -928,7 +945,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSeekBackIncrementMs</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setSeekBackIncrementMs​(@IntRange(from=1L)
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setSeekBackIncrementMs​(@IntRange(from=1L)
|
||||
long seekBackIncrementMs)</pre>
|
||||
<div class="block">Sets the <a href="Player.html#seekBack()"><code>Player.seekBack()</code></a> increment.</div>
|
||||
<dl>
|
||||
@ -948,7 +966,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSeekForwardIncrementMs</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setSeekForwardIncrementMs​(@IntRange(from=1L)
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setSeekForwardIncrementMs​(@IntRange(from=1L)
|
||||
long seekForwardIncrementMs)</pre>
|
||||
<div class="block">Sets the <a href="Player.html#seekForward()"><code>Player.seekForward()</code></a> increment.</div>
|
||||
<dl>
|
||||
@ -968,7 +987,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setReleaseTimeoutMs</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setReleaseTimeoutMs​(long releaseTimeoutMs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setReleaseTimeoutMs​(long releaseTimeoutMs)</pre>
|
||||
<div class="block">Sets a timeout for calls to <a href="Player.html#release()"><code>Player.release()</code></a> and <a href="ExoPlayer.html#setForegroundMode(boolean)"><code>ExoPlayer.setForegroundMode(boolean)</code></a>.
|
||||
|
||||
<p>If a call to <a href="Player.html#release()"><code>Player.release()</code></a> or <a href="ExoPlayer.html#setForegroundMode(boolean)"><code>ExoPlayer.setForegroundMode(boolean)</code></a> takes more than <code>
|
||||
@ -989,7 +1009,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDetachSurfaceTimeoutMs</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setDetachSurfaceTimeoutMs​(long detachSurfaceTimeoutMs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setDetachSurfaceTimeoutMs​(long detachSurfaceTimeoutMs)</pre>
|
||||
<div class="block">Sets a timeout for detaching a surface from the player.
|
||||
|
||||
<p>If detaching a surface or replacing a surface takes more than <code>
|
||||
@ -1010,7 +1031,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPauseAtEndOfMediaItems</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setPauseAtEndOfMediaItems​(boolean pauseAtEndOfMediaItems)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setPauseAtEndOfMediaItems​(boolean pauseAtEndOfMediaItems)</pre>
|
||||
<div class="block">Sets whether to pause playback at the end of each media item.
|
||||
|
||||
<p>This means the player will pause at the end of each window in the current <a href="Player.html#getCurrentTimeline()"><code>timeline</code></a>. Listeners will be informed by a call to <a href="Player.Listener.html#onPlayWhenReadyChanged(boolean,@com.google.android.exoplayer2.Player.PlayWhenReadyChangeReasonint)"><code>Player.Listener.onPlayWhenReadyChanged(boolean, int)</code></a> with the reason <a href="Player.html#PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM"><code>Player.PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM</code></a> when this happens.</div>
|
||||
@ -1030,7 +1052,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLivePlaybackSpeedControl</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setLivePlaybackSpeedControl​(<a href="LivePlaybackSpeedControl.html" title="interface in com.google.android.exoplayer2">LivePlaybackSpeedControl</a> livePlaybackSpeedControl)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setLivePlaybackSpeedControl​(<a href="LivePlaybackSpeedControl.html" title="interface in com.google.android.exoplayer2">LivePlaybackSpeedControl</a> livePlaybackSpeedControl)</pre>
|
||||
<div class="block">Sets the <a href="LivePlaybackSpeedControl.html" title="interface in com.google.android.exoplayer2"><code>LivePlaybackSpeedControl</code></a> that will control the playback speed when playing
|
||||
live streams, in order to maintain a steady target offset from the live stream edge.</div>
|
||||
<dl>
|
||||
@ -1049,7 +1072,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setUsePlatformDiagnostics</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setUsePlatformDiagnostics​(boolean usePlatformDiagnostics)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setUsePlatformDiagnostics​(boolean usePlatformDiagnostics)</pre>
|
||||
<div class="block">Sets whether the player reports diagnostics data to the Android platform.
|
||||
|
||||
<p>If enabled, the player will use the <a href="https://developer.android.com/reference/android/media/metrics/MediaMetricsManager.html" title="class or interface in android.media.metrics" class="externalLink" target="_top"><code>MediaMetricsManager</code></a> to
|
||||
@ -1074,7 +1098,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setClock</h4>
|
||||
<pre class="methodSignature">public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setClock​(<a href="util/Clock.html" title="interface in com.google.android.exoplayer2.util">Clock</a> clock)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">ExoPlayer.Builder</a> setClock​(<a href="util/Clock.html" title="interface in com.google.android.exoplayer2.util">Clock</a> clock)</pre>
|
||||
<div class="block">Sets the <a href="util/Clock.html" title="interface in com.google.android.exoplayer2.util"><code>Clock</code></a> that will be used by the player. Should only be set for testing
|
||||
purposes.</div>
|
||||
<dl>
|
||||
|
File diff suppressed because one or more lines are too long
@ -457,7 +457,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setId</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setId​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setId​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> id)</pre>
|
||||
<div class="block">Sets <a href="Format.html#id"><code>Format.id</code></a>. The default value is <code>null</code>.</div>
|
||||
<dl>
|
||||
@ -474,7 +475,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setId</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setId​(int id)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setId​(int id)</pre>
|
||||
<div class="block">Sets <a href="Format.html#id"><code>Format.id</code></a> to <a href="https://developer.android.com/reference/java/lang/Integer.html#toString()" title="class or interface in java.lang" class="externalLink" target="_top"><code>Integer.toString(id)</code></a>. The default value
|
||||
is <code>null</code>.</div>
|
||||
<dl>
|
||||
@ -491,7 +493,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLabel</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setLabel​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setLabel​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> label)</pre>
|
||||
<div class="block">Sets <a href="Format.html#label"><code>Format.label</code></a>. The default value is <code>null</code>.</div>
|
||||
<dl>
|
||||
@ -508,7 +511,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLanguage</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setLanguage​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setLanguage​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> language)</pre>
|
||||
<div class="block">Sets <a href="Format.html#language"><code>Format.language</code></a>. The default value is <code>null</code>.</div>
|
||||
<dl>
|
||||
@ -525,7 +529,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSelectionFlags</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setSelectionFlags​(<a href="C.SelectionFlags.html" title="annotation in com.google.android.exoplayer2">@SelectionFlags</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setSelectionFlags​(<a href="C.SelectionFlags.html" title="annotation in com.google.android.exoplayer2">@SelectionFlags</a>
|
||||
@com.google.android.exoplayer2.C.SelectionFlags int selectionFlags)</pre>
|
||||
<div class="block">Sets <a href="Format.html#selectionFlags"><code>Format.selectionFlags</code></a>. The default value is 0.</div>
|
||||
<dl>
|
||||
@ -542,7 +547,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setRoleFlags</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setRoleFlags​(<a href="C.RoleFlags.html" title="annotation in com.google.android.exoplayer2">@RoleFlags</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setRoleFlags​(<a href="C.RoleFlags.html" title="annotation in com.google.android.exoplayer2">@RoleFlags</a>
|
||||
@com.google.android.exoplayer2.C.RoleFlags int roleFlags)</pre>
|
||||
<div class="block">Sets <a href="Format.html#roleFlags"><code>Format.roleFlags</code></a>. The default value is 0.</div>
|
||||
<dl>
|
||||
@ -559,7 +565,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAverageBitrate</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setAverageBitrate​(int averageBitrate)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setAverageBitrate​(int averageBitrate)</pre>
|
||||
<div class="block">Sets <a href="Format.html#averageBitrate"><code>Format.averageBitrate</code></a>. The default value is <a href="Format.html#NO_VALUE"><code>Format.NO_VALUE</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -575,7 +582,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPeakBitrate</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setPeakBitrate​(int peakBitrate)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setPeakBitrate​(int peakBitrate)</pre>
|
||||
<div class="block">Sets <a href="Format.html#peakBitrate"><code>Format.peakBitrate</code></a>. The default value is <a href="Format.html#NO_VALUE"><code>Format.NO_VALUE</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -591,7 +599,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setCodecs</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setCodecs​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setCodecs​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> codecs)</pre>
|
||||
<div class="block">Sets <a href="Format.html#codecs"><code>Format.codecs</code></a>. The default value is <code>null</code>.</div>
|
||||
<dl>
|
||||
@ -608,7 +617,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMetadata</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setMetadata​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setMetadata​(@Nullable
|
||||
<a href="metadata/Metadata.html" title="class in com.google.android.exoplayer2.metadata">Metadata</a> metadata)</pre>
|
||||
<div class="block">Sets <a href="Format.html#metadata"><code>Format.metadata</code></a>. The default value is <code>null</code>.</div>
|
||||
<dl>
|
||||
@ -625,7 +635,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setContainerMimeType</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setContainerMimeType​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setContainerMimeType​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> containerMimeType)</pre>
|
||||
<div class="block">Sets <a href="Format.html#containerMimeType"><code>Format.containerMimeType</code></a>. The default value is <code>null</code>.</div>
|
||||
<dl>
|
||||
@ -642,7 +653,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSampleMimeType</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setSampleMimeType​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setSampleMimeType​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> sampleMimeType)</pre>
|
||||
<div class="block">Sets <a href="Format.html#sampleMimeType"><code>Format.sampleMimeType</code></a>. The default value is <code>null</code>.</div>
|
||||
<dl>
|
||||
@ -659,7 +671,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMaxInputSize</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setMaxInputSize​(int maxInputSize)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setMaxInputSize​(int maxInputSize)</pre>
|
||||
<div class="block">Sets <a href="Format.html#maxInputSize"><code>Format.maxInputSize</code></a>. The default value is <a href="Format.html#NO_VALUE"><code>Format.NO_VALUE</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -675,7 +688,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setInitializationData</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setInitializationData​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setInitializationData​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink" target="_top">List</a><byte[]> initializationData)</pre>
|
||||
<div class="block">Sets <a href="Format.html#initializationData"><code>Format.initializationData</code></a>. The default value is <code>null</code>.</div>
|
||||
<dl>
|
||||
@ -692,7 +706,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDrmInitData</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setDrmInitData​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setDrmInitData​(@Nullable
|
||||
<a href="drm/DrmInitData.html" title="class in com.google.android.exoplayer2.drm">DrmInitData</a> drmInitData)</pre>
|
||||
<div class="block">Sets <a href="Format.html#drmInitData"><code>Format.drmInitData</code></a>. The default value is <code>null</code>.</div>
|
||||
<dl>
|
||||
@ -709,7 +724,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSubsampleOffsetUs</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setSubsampleOffsetUs​(long subsampleOffsetUs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setSubsampleOffsetUs​(long subsampleOffsetUs)</pre>
|
||||
<div class="block">Sets <a href="Format.html#subsampleOffsetUs"><code>Format.subsampleOffsetUs</code></a>. The default value is <a href="Format.html#OFFSET_SAMPLE_RELATIVE"><code>Format.OFFSET_SAMPLE_RELATIVE</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -725,7 +741,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setWidth</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setWidth​(int width)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setWidth​(int width)</pre>
|
||||
<div class="block">Sets <a href="Format.html#width"><code>Format.width</code></a>. The default value is <a href="Format.html#NO_VALUE"><code>Format.NO_VALUE</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -741,7 +758,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setHeight</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setHeight​(int height)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setHeight​(int height)</pre>
|
||||
<div class="block">Sets <a href="Format.html#height"><code>Format.height</code></a>. The default value is <a href="Format.html#NO_VALUE"><code>Format.NO_VALUE</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -757,7 +775,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setFrameRate</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setFrameRate​(float frameRate)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setFrameRate​(float frameRate)</pre>
|
||||
<div class="block">Sets <a href="Format.html#frameRate"><code>Format.frameRate</code></a>. The default value is <a href="Format.html#NO_VALUE"><code>Format.NO_VALUE</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -773,7 +792,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setRotationDegrees</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setRotationDegrees​(int rotationDegrees)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setRotationDegrees​(int rotationDegrees)</pre>
|
||||
<div class="block">Sets <a href="Format.html#rotationDegrees"><code>Format.rotationDegrees</code></a>. The default value is 0.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -789,7 +809,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPixelWidthHeightRatio</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setPixelWidthHeightRatio​(float pixelWidthHeightRatio)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setPixelWidthHeightRatio​(float pixelWidthHeightRatio)</pre>
|
||||
<div class="block">Sets <a href="Format.html#pixelWidthHeightRatio"><code>Format.pixelWidthHeightRatio</code></a>. The default value is 1.0f.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -805,7 +826,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setProjectionData</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setProjectionData​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setProjectionData​(@Nullable
|
||||
byte[] projectionData)</pre>
|
||||
<div class="block">Sets <a href="Format.html#projectionData"><code>Format.projectionData</code></a>. The default value is <code>null</code>.</div>
|
||||
<dl>
|
||||
@ -822,7 +844,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setStereoMode</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setStereoMode​(@com.google.android.exoplayer2.C.StereoMode int stereoMode)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setStereoMode​(@com.google.android.exoplayer2.C.StereoMode int stereoMode)</pre>
|
||||
<div class="block">Sets <a href="Format.html#stereoMode"><code>Format.stereoMode</code></a>. The default value is <a href="Format.html#NO_VALUE"><code>Format.NO_VALUE</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -838,7 +861,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setColorInfo</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setColorInfo​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setColorInfo​(@Nullable
|
||||
<a href="video/ColorInfo.html" title="class in com.google.android.exoplayer2.video">ColorInfo</a> colorInfo)</pre>
|
||||
<div class="block">Sets <a href="Format.html#colorInfo"><code>Format.colorInfo</code></a>. The default value is <code>null</code>.</div>
|
||||
<dl>
|
||||
@ -855,7 +879,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setChannelCount</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setChannelCount​(int channelCount)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setChannelCount​(int channelCount)</pre>
|
||||
<div class="block">Sets <a href="Format.html#channelCount"><code>Format.channelCount</code></a>. The default value is <a href="Format.html#NO_VALUE"><code>Format.NO_VALUE</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -871,7 +896,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSampleRate</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setSampleRate​(int sampleRate)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setSampleRate​(int sampleRate)</pre>
|
||||
<div class="block">Sets <a href="Format.html#sampleRate"><code>Format.sampleRate</code></a>. The default value is <a href="Format.html#NO_VALUE"><code>Format.NO_VALUE</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -887,7 +913,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPcmEncoding</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setPcmEncoding​(@com.google.android.exoplayer2.C.PcmEncoding int pcmEncoding)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setPcmEncoding​(@com.google.android.exoplayer2.C.PcmEncoding int pcmEncoding)</pre>
|
||||
<div class="block">Sets <a href="Format.html#pcmEncoding"><code>Format.pcmEncoding</code></a>. The default value is <a href="Format.html#NO_VALUE"><code>Format.NO_VALUE</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -903,7 +930,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setEncoderDelay</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setEncoderDelay​(int encoderDelay)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setEncoderDelay​(int encoderDelay)</pre>
|
||||
<div class="block">Sets <a href="Format.html#encoderDelay"><code>Format.encoderDelay</code></a>. The default value is 0.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -919,7 +947,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setEncoderPadding</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setEncoderPadding​(int encoderPadding)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setEncoderPadding​(int encoderPadding)</pre>
|
||||
<div class="block">Sets <a href="Format.html#encoderPadding"><code>Format.encoderPadding</code></a>. The default value is 0.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -935,7 +964,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAccessibilityChannel</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setAccessibilityChannel​(int accessibilityChannel)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setAccessibilityChannel​(int accessibilityChannel)</pre>
|
||||
<div class="block">Sets <a href="Format.html#accessibilityChannel"><code>Format.accessibilityChannel</code></a>. The default value is <a href="Format.html#NO_VALUE"><code>Format.NO_VALUE</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -951,7 +981,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setCryptoType</h4>
|
||||
<pre class="methodSignature">public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setCryptoType​(@com.google.android.exoplayer2.C.CryptoType int cryptoType)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Format.Builder.html" title="class in com.google.android.exoplayer2">Format.Builder</a> setCryptoType​(@com.google.android.exoplayer2.C.CryptoType int cryptoType)</pre>
|
||||
<div class="block">Sets <a href="Format.html#cryptoType"><code>Format.cryptoType</code></a>. The default value is <a href="C.html#CRYPTO_TYPE_NONE"><code>C.CRYPTO_TYPE_NONE</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
|
@ -25,7 +25,7 @@
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":10,"i1":42,"i2":10,"i3":42,"i4":42,"i5":42,"i6":42,"i7":42,"i8":42,"i9":42,"i10":42,"i11":42,"i12":41,"i13":41,"i14":41,"i15":41,"i16":41,"i17":41,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":9,"i24":10,"i25":10};
|
||||
var data = {"i0":10,"i1":42,"i2":10,"i3":42,"i4":42,"i5":42,"i6":42,"i7":42,"i8":42,"i9":42,"i10":42,"i11":42,"i12":41,"i13":41,"i14":41,"i15":41,"i16":41,"i17":41,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":9,"i25":10,"i26":10};
|
||||
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";
|
||||
@ -764,18 +764,25 @@ implements <a href="Bundleable.html" title="interface in com.google.android.exop
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i23" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://developer.android.com/reference/android/os/Bundle.html" title="class or interface in android.os" class="externalLink" target="_top">Bundle</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toBundle(boolean)">toBundle</a></span>​(boolean excludeMetadata)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns a <a href="https://developer.android.com/reference/android/os/Bundle.html" title="class or interface in android.os" class="externalLink" target="_top"><code>Bundle</code></a> representing the information stored in this object.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i24" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toLogString(com.google.android.exoplayer2.Format)">toLogString</a></span>​(<a href="Format.html" title="class in com.google.android.exoplayer2">Format</a> format)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns a prettier <a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink"><code>String</code></a> than <a href="#toString()" target="_top"><code>toString()</code></a>, intended for logging.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i24" class="altColor">
|
||||
<tr id="i25" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i25" class="rowColor">
|
||||
<tr id="i26" class="altColor">
|
||||
<td class="colFirst"><code><a href="Format.html" title="class in com.google.android.exoplayer2">Format</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withManifestFormatInfo(com.google.android.exoplayer2.Format)">withManifestFormatInfo</a></span>​(<a href="Format.html" title="class in com.google.android.exoplayer2">Format</a> manifestFormat)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
@ -1627,7 +1634,7 @@ public <a href="Format.html" title="class in com.google.android.exoplayer2"
|
||||
<a id="toBundle()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>toBundle</h4>
|
||||
<pre class="methodSignature">public <a href="https://developer.android.com/reference/android/os/Bundle.html" title="class or interface in android.os" class="externalLink" target="_top">Bundle</a> toBundle()</pre>
|
||||
@ -1639,6 +1646,17 @@ public <a href="Format.html" title="class in com.google.android.exoplayer2"
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="toBundle(boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toBundle</h4>
|
||||
<pre class="methodSignature">public <a href="https://developer.android.com/reference/android/os/Bundle.html" title="class or interface in android.os" class="externalLink" target="_top">Bundle</a> toBundle​(boolean excludeMetadata)</pre>
|
||||
<div class="block">Returns a <a href="https://developer.android.com/reference/android/os/Bundle.html" title="class or interface in android.os" class="externalLink" target="_top"><code>Bundle</code></a> representing the information stored in this object. If <code>
|
||||
excludeMetadata</code> is true, <a href="#metadata">metadata</a> is excluded.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
@ -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":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 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":10,"i60":42,"i61":10,"i62":42,"i63":42,"i64":10,"i65":42,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":42,"i72":42,"i73":42,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":42,"i81":10,"i82":10,"i83":10,"i84":42,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":42,"i98":10,"i99":10,"i100":42,"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":10,"i122":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";
|
||||
@ -602,41 +602,48 @@ implements <a href="Player.html" title="interface in com.google.android.exoplaye
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i54" class="altColor">
|
||||
<td class="colFirst"><code><a href="util/Size.html" title="class in com.google.android.exoplayer2.util">Size</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSurfaceSize()">getSurfaceSize</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#getSurfaceSize()"><code>Player.getSurfaceSize()</code></a> on the delegate and returns the result.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i55" class="rowColor">
|
||||
<td class="colFirst"><code>long</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTotalBufferedDuration()">getTotalBufferedDuration</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#getTotalBufferedDuration()"><code>Player.getTotalBufferedDuration()</code></a> on the delegate and returns the result.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i55" class="rowColor">
|
||||
<tr id="i56" class="altColor">
|
||||
<td class="colFirst"><code><a href="trackselection/TrackSelectionParameters.html" title="class in com.google.android.exoplayer2.trackselection">TrackSelectionParameters</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTrackSelectionParameters()">getTrackSelectionParameters</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#getTrackSelectionParameters()"><code>Player.getTrackSelectionParameters()</code></a> on the delegate and returns the result.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i56" class="altColor">
|
||||
<tr id="i57" class="rowColor">
|
||||
<td class="colFirst"><code><a href="video/VideoSize.html" title="class in com.google.android.exoplayer2.video">VideoSize</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getVideoSize()">getVideoSize</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#getVideoSize()"><code>Player.getVideoSize()</code></a> on the delegate and returns the result.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i57" class="rowColor">
|
||||
<tr id="i58" class="altColor">
|
||||
<td class="colFirst"><code>float</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getVolume()">getVolume</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#getVolume()"><code>Player.getVolume()</code></a> on the delegate and returns the result.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i58" class="altColor">
|
||||
<tr id="i59" class="rowColor">
|
||||
<td class="colFirst"><code><a href="Player.html" title="interface in com.google.android.exoplayer2">Player</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWrappedPlayer()">getWrappedPlayer</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the <a href="Player.html" title="interface in com.google.android.exoplayer2"><code>Player</code></a> to which operations are forwarded.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i59" class="rowColor">
|
||||
<tr id="i60" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasNext()">hasNext</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -645,14 +652,14 @@ implements <a href="Player.html" title="interface in com.google.android.exoplaye
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i60" class="altColor">
|
||||
<tr id="i61" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasNextMediaItem()">hasNextMediaItem</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#hasNextMediaItem()"><code>Player.hasNextMediaItem()</code></a> on the delegate and returns the result.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i61" class="rowColor">
|
||||
<tr id="i62" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasNextWindow()">hasNextWindow</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -661,7 +668,7 @@ implements <a href="Player.html" title="interface in com.google.android.exoplaye
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i62" class="altColor">
|
||||
<tr id="i63" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasPrevious()">hasPrevious</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -670,14 +677,14 @@ implements <a href="Player.html" title="interface in com.google.android.exoplaye
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i63" class="rowColor">
|
||||
<tr id="i64" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasPreviousMediaItem()">hasPreviousMediaItem</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#hasPreviousMediaItem()"><code>Player.hasPreviousMediaItem()</code></a> on the delegate and returns the result.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i64" class="altColor">
|
||||
<tr id="i65" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasPreviousWindow()">hasPreviousWindow</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -686,42 +693,42 @@ implements <a href="Player.html" title="interface in com.google.android.exoplaye
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i65" class="rowColor">
|
||||
<tr id="i66" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#increaseDeviceVolume()">increaseDeviceVolume</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#increaseDeviceVolume()"><code>Player.increaseDeviceVolume()</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i66" class="altColor">
|
||||
<tr id="i67" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCommandAvailable(@com.google.android.exoplayer2.Player.Commandint)">isCommandAvailable</a></span>​(@com.google.android.exoplayer2.Player.Command int command)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#isCommandAvailable(@com.google.android.exoplayer2.Player.Commandint)"><code>Player.isCommandAvailable(int)</code></a> on the delegate and returns the result.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i67" class="rowColor">
|
||||
<tr id="i68" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCurrentMediaItemDynamic()">isCurrentMediaItemDynamic</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#isCurrentMediaItemDynamic()"><code>Player.isCurrentMediaItemDynamic()</code></a> on the delegate and returns the result.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i68" class="altColor">
|
||||
<tr id="i69" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCurrentMediaItemLive()">isCurrentMediaItemLive</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#isCurrentMediaItemLive()"><code>Player.isCurrentMediaItemLive()</code></a> on the delegate and returns the result.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i69" class="rowColor">
|
||||
<tr id="i70" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCurrentMediaItemSeekable()">isCurrentMediaItemSeekable</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#isCurrentMediaItemSeekable()"><code>Player.isCurrentMediaItemSeekable()</code></a> on the delegate and returns the result.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i70" class="altColor">
|
||||
<tr id="i71" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCurrentWindowDynamic()">isCurrentWindowDynamic</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -730,7 +737,7 @@ implements <a href="Player.html" title="interface in com.google.android.exoplaye
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i71" class="rowColor">
|
||||
<tr id="i72" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCurrentWindowLive()">isCurrentWindowLive</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -739,7 +746,7 @@ implements <a href="Player.html" title="interface in com.google.android.exoplaye
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i72" class="altColor">
|
||||
<tr id="i73" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCurrentWindowSeekable()">isCurrentWindowSeekable</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -748,35 +755,35 @@ implements <a href="Player.html" title="interface in com.google.android.exoplaye
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i73" class="rowColor">
|
||||
<tr id="i74" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isDeviceMuted()">isDeviceMuted</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#isDeviceMuted()"><code>Player.isDeviceMuted()</code></a> on the delegate and returns the result.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i74" class="altColor">
|
||||
<tr id="i75" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isLoading()">isLoading</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#isLoading()"><code>Player.isLoading()</code></a> on the delegate and returns the result.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i75" class="rowColor">
|
||||
<tr id="i76" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isPlaying()">isPlaying</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#isPlaying()"><code>Player.isPlaying()</code></a> on the delegate and returns the result.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i76" class="altColor">
|
||||
<tr id="i77" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isPlayingAd()">isPlayingAd</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#isPlayingAd()"><code>Player.isPlayingAd()</code></a> on the delegate and returns the result.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i77" class="rowColor">
|
||||
<tr id="i78" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#moveMediaItem(int,int)">moveMediaItem</a></span>​(int currentIndex,
|
||||
int newIndex)</code></th>
|
||||
@ -784,7 +791,7 @@ implements <a href="Player.html" title="interface in com.google.android.exoplaye
|
||||
<div class="block">Calls <a href="Player.html#moveMediaItem(int,int)"><code>Player.moveMediaItem(int, int)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i78" class="altColor">
|
||||
<tr id="i79" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#moveMediaItems(int,int,int)">moveMediaItems</a></span>​(int fromIndex,
|
||||
int toIndex,
|
||||
@ -793,7 +800,7 @@ implements <a href="Player.html" title="interface in com.google.android.exoplaye
|
||||
<div class="block">Calls <a href="Player.html#moveMediaItems(int,int,int)"><code>Player.moveMediaItems(int, int, int)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i79" class="rowColor">
|
||||
<tr id="i80" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#next()">next</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -802,28 +809,28 @@ implements <a href="Player.html" title="interface in com.google.android.exoplaye
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i80" class="altColor">
|
||||
<tr id="i81" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#pause()">pause</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#pause()"><code>Player.pause()</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i81" class="rowColor">
|
||||
<tr id="i82" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#play()">play</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#play()"><code>Player.play()</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i82" class="altColor">
|
||||
<tr id="i83" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#prepare()">prepare</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#prepare()"><code>Player.prepare()</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i83" class="rowColor">
|
||||
<tr id="i84" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#previous()">previous</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -832,28 +839,28 @@ implements <a href="Player.html" title="interface in com.google.android.exoplaye
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i84" class="altColor">
|
||||
<tr id="i85" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#release()">release</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#release()"><code>Player.release()</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i85" class="rowColor">
|
||||
<tr id="i86" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeListener(com.google.android.exoplayer2.Player.Listener)">removeListener</a></span>​(<a href="Player.Listener.html" title="interface in com.google.android.exoplayer2">Player.Listener</a> listener)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#removeListener(com.google.android.exoplayer2.Player.Listener)"><code>Player.removeListener(Listener)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i86" class="altColor">
|
||||
<tr id="i87" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeMediaItem(int)">removeMediaItem</a></span>​(int index)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#removeMediaItem(int)"><code>Player.removeMediaItem(int)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i87" class="rowColor">
|
||||
<tr id="i88" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeMediaItems(int,int)">removeMediaItems</a></span>​(int fromIndex,
|
||||
int toIndex)</code></th>
|
||||
@ -861,21 +868,21 @@ implements <a href="Player.html" title="interface in com.google.android.exoplaye
|
||||
<div class="block">Calls <a href="Player.html#removeMediaItems(int,int)"><code>Player.removeMediaItems(int, int)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i88" class="altColor">
|
||||
<tr id="i89" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekBack()">seekBack</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#seekBack()"><code>Player.seekBack()</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i89" class="rowColor">
|
||||
<tr id="i90" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekForward()">seekForward</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#seekForward()"><code>Player.seekForward()</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i90" class="altColor">
|
||||
<tr id="i91" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekTo(int,long)">seekTo</a></span>​(int mediaItemIndex,
|
||||
long positionMs)</code></th>
|
||||
@ -883,42 +890,42 @@ implements <a href="Player.html" title="interface in com.google.android.exoplaye
|
||||
<div class="block">Calls <a href="Player.html#seekTo(int,long)"><code>Player.seekTo(int, long)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i91" class="rowColor">
|
||||
<tr id="i92" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekTo(long)">seekTo</a></span>​(long positionMs)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#seekTo(long)"><code>Player.seekTo(long)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i92" class="altColor">
|
||||
<tr id="i93" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekToDefaultPosition()">seekToDefaultPosition</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#seekToDefaultPosition()"><code>Player.seekToDefaultPosition()</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i93" class="rowColor">
|
||||
<tr id="i94" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekToDefaultPosition(int)">seekToDefaultPosition</a></span>​(int mediaItemIndex)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#seekToDefaultPosition(int)"><code>Player.seekToDefaultPosition(int)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i94" class="altColor">
|
||||
<tr id="i95" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekToNext()">seekToNext</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#seekToNext()"><code>Player.seekToNext()</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i95" class="rowColor">
|
||||
<tr id="i96" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekToNextMediaItem()">seekToNextMediaItem</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#seekToNextMediaItem()"><code>Player.seekToNextMediaItem()</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i96" class="altColor">
|
||||
<tr id="i97" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekToNextWindow()">seekToNextWindow</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -927,21 +934,21 @@ implements <a href="Player.html" title="interface in com.google.android.exoplaye
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i97" class="rowColor">
|
||||
<tr id="i98" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekToPrevious()">seekToPrevious</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#seekToPrevious()"><code>Player.seekToPrevious()</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i98" class="altColor">
|
||||
<tr id="i99" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekToPreviousMediaItem()">seekToPreviousMediaItem</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#seekToPreviousMediaItem()"><code>Player.seekToPreviousMediaItem()</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i99" class="rowColor">
|
||||
<tr id="i100" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekToPreviousWindow()">seekToPreviousWindow</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -950,28 +957,28 @@ implements <a href="Player.html" title="interface in com.google.android.exoplaye
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i100" class="altColor">
|
||||
<tr id="i101" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDeviceMuted(boolean)">setDeviceMuted</a></span>​(boolean muted)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#setDeviceMuted(boolean)"><code>Player.setDeviceMuted(boolean)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i101" class="rowColor">
|
||||
<tr id="i102" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDeviceVolume(int)">setDeviceVolume</a></span>​(int volume)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#setDeviceVolume(int)"><code>Player.setDeviceVolume(int)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i102" class="altColor">
|
||||
<tr id="i103" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaItem(com.google.android.exoplayer2.MediaItem)">setMediaItem</a></span>​(<a href="MediaItem.html" title="class in com.google.android.exoplayer2">MediaItem</a> mediaItem)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#setMediaItem(com.google.android.exoplayer2.MediaItem)"><code>Player.setMediaItem(MediaItem)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i103" class="rowColor">
|
||||
<tr id="i104" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaItem(com.google.android.exoplayer2.MediaItem,boolean)">setMediaItem</a></span>​(<a href="MediaItem.html" title="class in com.google.android.exoplayer2">MediaItem</a> mediaItem,
|
||||
boolean resetPosition)</code></th>
|
||||
@ -979,7 +986,7 @@ implements <a href="Player.html" title="interface in com.google.android.exoplaye
|
||||
<div class="block">Calls <a href="Player.html#setMediaItem(com.google.android.exoplayer2.MediaItem,boolean)"><code>Player.setMediaItem(MediaItem, boolean)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i104" class="altColor">
|
||||
<tr id="i105" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaItem(com.google.android.exoplayer2.MediaItem,long)">setMediaItem</a></span>​(<a href="MediaItem.html" title="class in com.google.android.exoplayer2">MediaItem</a> mediaItem,
|
||||
long startPositionMs)</code></th>
|
||||
@ -987,14 +994,14 @@ implements <a href="Player.html" title="interface in com.google.android.exoplaye
|
||||
<div class="block">Calls <a href="Player.html#setMediaItem(com.google.android.exoplayer2.MediaItem,long)"><code>Player.setMediaItem(MediaItem, long)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i105" class="rowColor">
|
||||
<tr id="i106" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaItems(java.util.List)">setMediaItems</a></span>​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="MediaItem.html" title="class in com.google.android.exoplayer2" target="_top">MediaItem</a>> mediaItems)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#setMediaItems(java.util.List)"><code>Player.setMediaItems(List)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i106" class="altColor">
|
||||
<tr id="i107" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaItems(java.util.List,boolean)">setMediaItems</a></span>​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="MediaItem.html" title="class in com.google.android.exoplayer2" target="_top">MediaItem</a>> mediaItems,
|
||||
boolean resetPosition)</code></th>
|
||||
@ -1002,7 +1009,7 @@ implements <a href="Player.html" title="interface in com.google.android.exoplaye
|
||||
<div class="block">Calls <a href="Player.html#setMediaItems(java.util.List,boolean)"><code>Player.setMediaItems(List, boolean)</code></a> ()} on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i107" class="rowColor">
|
||||
<tr id="i108" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaItems(java.util.List,int,long)">setMediaItems</a></span>​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="MediaItem.html" title="class in com.google.android.exoplayer2" target="_top">MediaItem</a>> mediaItems,
|
||||
int startIndex,
|
||||
@ -1011,98 +1018,98 @@ implements <a href="Player.html" title="interface in com.google.android.exoplaye
|
||||
<div class="block">Calls <a href="Player.html#setMediaItems(java.util.List,int,long)"><code>Player.setMediaItems(List, int, long)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i108" class="altColor">
|
||||
<tr id="i109" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlaybackParameters(com.google.android.exoplayer2.PlaybackParameters)">setPlaybackParameters</a></span>​(<a href="PlaybackParameters.html" title="class in com.google.android.exoplayer2">PlaybackParameters</a> playbackParameters)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#setPlaybackParameters(com.google.android.exoplayer2.PlaybackParameters)"><code>Player.setPlaybackParameters(PlaybackParameters)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i109" class="rowColor">
|
||||
<tr id="i110" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlaybackSpeed(float)">setPlaybackSpeed</a></span>​(float speed)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#setPlaybackSpeed(float)"><code>Player.setPlaybackSpeed(float)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i110" class="altColor">
|
||||
<tr id="i111" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlaylistMetadata(com.google.android.exoplayer2.MediaMetadata)">setPlaylistMetadata</a></span>​(<a href="MediaMetadata.html" title="class in com.google.android.exoplayer2">MediaMetadata</a> mediaMetadata)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#setPlaylistMetadata(com.google.android.exoplayer2.MediaMetadata)"><code>Player.setPlaylistMetadata(MediaMetadata)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i111" class="rowColor">
|
||||
<tr id="i112" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlayWhenReady(boolean)">setPlayWhenReady</a></span>​(boolean playWhenReady)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#setPlayWhenReady(boolean)"><code>Player.setPlayWhenReady(boolean)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i112" class="altColor">
|
||||
<tr id="i113" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRepeatMode(@com.google.android.exoplayer2.Player.RepeatModeint)">setRepeatMode</a></span>​(@com.google.android.exoplayer2.Player.RepeatMode int repeatMode)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#setRepeatMode(@com.google.android.exoplayer2.Player.RepeatModeint)"><code>Player.setRepeatMode(int)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i113" class="rowColor">
|
||||
<tr id="i114" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setShuffleModeEnabled(boolean)">setShuffleModeEnabled</a></span>​(boolean shuffleModeEnabled)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#setShuffleModeEnabled(boolean)"><code>Player.setShuffleModeEnabled(boolean)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i114" class="altColor">
|
||||
<tr id="i115" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTrackSelectionParameters(com.google.android.exoplayer2.trackselection.TrackSelectionParameters)">setTrackSelectionParameters</a></span>​(<a href="trackselection/TrackSelectionParameters.html" title="class in com.google.android.exoplayer2.trackselection">TrackSelectionParameters</a> parameters)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#setTrackSelectionParameters(com.google.android.exoplayer2.trackselection.TrackSelectionParameters)"><code>Player.setTrackSelectionParameters(TrackSelectionParameters)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i115" class="rowColor">
|
||||
<tr id="i116" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoSurface(android.view.Surface)">setVideoSurface</a></span>​(<a href="https://developer.android.com/reference/android/view/Surface.html" title="class or interface in android.view" class="externalLink" target="_top">Surface</a> surface)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#setVideoSurface(android.view.Surface)"><code>Player.setVideoSurface(Surface)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i116" class="altColor">
|
||||
<tr id="i117" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoSurfaceHolder(android.view.SurfaceHolder)">setVideoSurfaceHolder</a></span>​(<a href="https://developer.android.com/reference/android/view/SurfaceHolder.html" title="class or interface in android.view" class="externalLink" target="_top">SurfaceHolder</a> surfaceHolder)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#setVideoSurfaceHolder(android.view.SurfaceHolder)"><code>Player.setVideoSurfaceHolder(SurfaceHolder)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i117" class="rowColor">
|
||||
<tr id="i118" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoSurfaceView(android.view.SurfaceView)">setVideoSurfaceView</a></span>​(<a href="https://developer.android.com/reference/android/view/SurfaceView.html" title="class or interface in android.view" class="externalLink" target="_top">SurfaceView</a> surfaceView)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#setVideoSurfaceView(android.view.SurfaceView)"><code>Player.setVideoSurfaceView(SurfaceView)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i118" class="altColor">
|
||||
<tr id="i119" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoTextureView(android.view.TextureView)">setVideoTextureView</a></span>​(<a href="https://developer.android.com/reference/android/view/TextureView.html" title="class or interface in android.view" class="externalLink" target="_top">TextureView</a> textureView)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#setVideoTextureView(android.view.TextureView)"><code>Player.setVideoTextureView(TextureView)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i119" class="rowColor">
|
||||
<tr id="i120" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVolume(float)">setVolume</a></span>​(float volume)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#setVolume(float)"><code>Player.setVolume(float)</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i120" class="altColor">
|
||||
<tr id="i121" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stop()">stop</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Calls <a href="Player.html#stop()"><code>Player.stop()</code></a> on the delegate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i121" class="rowColor">
|
||||
<tr id="i122" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stop(boolean)">stop</a></span>​(boolean reset)</code></th>
|
||||
<td class="colLast">
|
||||
@ -2842,6 +2849,22 @@ public boolean isCurrentWindowSeekable()</pre>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getSurfaceSize()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getSurfaceSize</h4>
|
||||
<pre class="methodSignature">public <a href="util/Size.html" title="class in com.google.android.exoplayer2.util">Size</a> getSurfaceSize()</pre>
|
||||
<div class="block">Calls <a href="Player.html#getSurfaceSize()"><code>Player.getSurfaceSize()</code></a> on the delegate and returns the result.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="Player.html#getSurfaceSize()">getSurfaceSize</a></code> in interface <code><a href="Player.html" title="interface in com.google.android.exoplayer2">Player</a></code></dd>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="Player.Listener.html#onSurfaceSizeChanged(int,int)"><code>Player.Listener.onSurfaceSizeChanged(int, int)</code></a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="clearVideoSurface()">
|
||||
<!-- -->
|
||||
</a>
|
||||
|
File diff suppressed because one or more lines are too long
@ -252,7 +252,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAdTagUri</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.AdsConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.AdsConfiguration.Builder</a> setAdTagUri​(<a href="https://developer.android.com/reference/android/net/Uri.html" title="class or interface in android.net" class="externalLink" target="_top">Uri</a> adTagUri)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.AdsConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.AdsConfiguration.Builder</a> setAdTagUri​(<a href="https://developer.android.com/reference/android/net/Uri.html" title="class or interface in android.net" class="externalLink" target="_top">Uri</a> adTagUri)</pre>
|
||||
<div class="block">Sets the ad tag URI to load.</div>
|
||||
</li>
|
||||
</ul>
|
||||
@ -262,7 +263,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAdsId</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.AdsConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.AdsConfiguration.Builder</a> setAdsId​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.AdsConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.AdsConfiguration.Builder</a> setAdsId​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a> adsId)</pre>
|
||||
<div class="block">Sets the ads identifier.
|
||||
|
||||
|
@ -556,7 +556,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMediaId</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setMediaId​(<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> mediaId)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setMediaId​(<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> mediaId)</pre>
|
||||
<div class="block">Sets the optional media ID which identifies the media item.
|
||||
|
||||
<p>By default <a href="MediaItem.html#DEFAULT_MEDIA_ID"><code>MediaItem.DEFAULT_MEDIA_ID</code></a> is used.</div>
|
||||
@ -568,7 +569,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setUri</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setUri​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setUri​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> uri)</pre>
|
||||
<div class="block">Sets the optional URI.
|
||||
|
||||
@ -582,7 +584,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setUri</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setUri​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setUri​(@Nullable
|
||||
<a href="https://developer.android.com/reference/android/net/Uri.html" title="class or interface in android.net" class="externalLink" target="_top">Uri</a> uri)</pre>
|
||||
<div class="block">Sets the optional URI.
|
||||
|
||||
@ -596,7 +599,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMimeType</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setMimeType​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setMimeType​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> mimeType)</pre>
|
||||
<div class="block">Sets the optional MIME type.
|
||||
|
||||
@ -615,7 +619,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setClippingConfiguration</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setClippingConfiguration​(<a href="MediaItem.ClippingConfiguration.html" title="class in com.google.android.exoplayer2">MediaItem.ClippingConfiguration</a> clippingConfiguration)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setClippingConfiguration​(<a href="MediaItem.ClippingConfiguration.html" title="class in com.google.android.exoplayer2">MediaItem.ClippingConfiguration</a> clippingConfiguration)</pre>
|
||||
<div class="block">Sets the <a href="MediaItem.ClippingConfiguration.html" title="class in com.google.android.exoplayer2"><code>MediaItem.ClippingConfiguration</code></a>, defaults to <a href="MediaItem.ClippingConfiguration.html#UNSET"><code>MediaItem.ClippingConfiguration.UNSET</code></a>.</div>
|
||||
</li>
|
||||
</ul>
|
||||
@ -625,7 +630,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setClipStartPositionMs</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setClipStartPositionMs​(@IntRange(from=0L)
|
||||
long startPositionMs)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
@ -639,7 +645,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setClipEndPositionMs</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setClipEndPositionMs​(long endPositionMs)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="#setClippingConfiguration(com.google.android.exoplayer2.MediaItem.ClippingConfiguration)"><code>setClippingConfiguration(ClippingConfiguration)</code></a> and <a href="MediaItem.ClippingConfiguration.Builder.html#setEndPositionMs(long)"><code>MediaItem.ClippingConfiguration.Builder.setEndPositionMs(long)</code></a> instead.</div>
|
||||
@ -652,7 +659,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setClipRelativeToLiveWindow</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setClipRelativeToLiveWindow​(boolean relativeToLiveWindow)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="#setClippingConfiguration(com.google.android.exoplayer2.MediaItem.ClippingConfiguration)"><code>setClippingConfiguration(ClippingConfiguration)</code></a> and <a href="MediaItem.ClippingConfiguration.Builder.html#setRelativeToLiveWindow(boolean)"><code>MediaItem.ClippingConfiguration.Builder.setRelativeToLiveWindow(boolean)</code></a> instead.</div>
|
||||
@ -665,7 +673,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setClipRelativeToDefaultPosition</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setClipRelativeToDefaultPosition​(boolean relativeToDefaultPosition)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="#setClippingConfiguration(com.google.android.exoplayer2.MediaItem.ClippingConfiguration)"><code>setClippingConfiguration(ClippingConfiguration)</code></a> and <a href="MediaItem.ClippingConfiguration.Builder.html#setRelativeToDefaultPosition(boolean)"><code>MediaItem.ClippingConfiguration.Builder.setRelativeToDefaultPosition(boolean)</code></a> instead.</div>
|
||||
@ -678,7 +687,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setClipStartsAtKeyFrame</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setClipStartsAtKeyFrame​(boolean startsAtKeyFrame)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="#setClippingConfiguration(com.google.android.exoplayer2.MediaItem.ClippingConfiguration)"><code>setClippingConfiguration(ClippingConfiguration)</code></a> and <a href="MediaItem.ClippingConfiguration.Builder.html#setStartsAtKeyFrame(boolean)"><code>MediaItem.ClippingConfiguration.Builder.setStartsAtKeyFrame(boolean)</code></a> instead.</div>
|
||||
@ -691,7 +701,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDrmConfiguration</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setDrmConfiguration​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setDrmConfiguration​(@Nullable
|
||||
<a href="MediaItem.DrmConfiguration.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration</a> drmConfiguration)</pre>
|
||||
<div class="block">Sets the optional DRM configuration.</div>
|
||||
</li>
|
||||
@ -702,7 +713,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDrmLicenseUri</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setDrmLicenseUri​(@Nullable
|
||||
<a href="https://developer.android.com/reference/android/net/Uri.html" title="class or interface in android.net" class="externalLink" target="_top">Uri</a> licenseUri)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
@ -716,7 +728,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDrmLicenseUri</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setDrmLicenseUri​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> licenseUri)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
@ -730,7 +743,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDrmLicenseRequestHeaders</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setDrmLicenseRequestHeaders​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/util/Map.html" title="class or interface in java.util" class="externalLink">Map</a><<a href="https://developer.android.com/reference/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="https://developer.android.com/reference/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">String</a>> licenseRequestHeaders)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
@ -745,7 +759,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDrmUuid</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setDrmUuid​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/util/UUID.html" title="class or interface in java.util" class="externalLink" target="_top">UUID</a> uuid)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
@ -760,7 +775,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDrmMultiSession</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setDrmMultiSession​(boolean multiSession)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="#setDrmConfiguration(com.google.android.exoplayer2.MediaItem.DrmConfiguration)"><code>setDrmConfiguration(DrmConfiguration)</code></a> and <a href="MediaItem.DrmConfiguration.Builder.html#setMultiSession(boolean)"><code>MediaItem.DrmConfiguration.Builder.setMultiSession(boolean)</code></a> instead.</div>
|
||||
@ -773,7 +789,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDrmForceDefaultLicenseUri</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setDrmForceDefaultLicenseUri​(boolean forceDefaultLicenseUri)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="#setDrmConfiguration(com.google.android.exoplayer2.MediaItem.DrmConfiguration)"><code>setDrmConfiguration(DrmConfiguration)</code></a> and <a href="MediaItem.DrmConfiguration.Builder.html#setForceDefaultLicenseUri(boolean)"><code>MediaItem.DrmConfiguration.Builder.setForceDefaultLicenseUri(boolean)</code></a> instead.</div>
|
||||
@ -786,7 +803,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDrmPlayClearContentWithoutKey</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setDrmPlayClearContentWithoutKey​(boolean playClearContentWithoutKey)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="#setDrmConfiguration(com.google.android.exoplayer2.MediaItem.DrmConfiguration)"><code>setDrmConfiguration(DrmConfiguration)</code></a> and <a href="MediaItem.DrmConfiguration.Builder.html#setPlayClearContentWithoutKey(boolean)"><code>MediaItem.DrmConfiguration.Builder.setPlayClearContentWithoutKey(boolean)</code></a> instead.</div>
|
||||
@ -799,7 +817,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDrmSessionForClearPeriods</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setDrmSessionForClearPeriods​(boolean sessionForClearPeriods)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="#setDrmConfiguration(com.google.android.exoplayer2.MediaItem.DrmConfiguration)"><code>setDrmConfiguration(DrmConfiguration)</code></a> and <a href="MediaItem.DrmConfiguration.Builder.html#setForceSessionsForAudioAndVideoTracks(boolean)"><code>MediaItem.DrmConfiguration.Builder.setForceSessionsForAudioAndVideoTracks(boolean)</code></a> instead.</div>
|
||||
@ -812,7 +831,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDrmSessionForClearTypes</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setDrmSessionForClearTypes​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="C.TrackType.html" title="annotation in com.google.android.exoplayer2">@TrackType</a> <a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a>> sessionForClearTypes)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
@ -827,7 +847,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDrmKeySetId</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setDrmKeySetId​(@Nullable
|
||||
byte[] keySetId)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
@ -841,7 +862,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setStreamKeys</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setStreamKeys​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setStreamKeys​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="offline/StreamKey.html" title="class in com.google.android.exoplayer2.offline" target="_top">StreamKey</a>> streamKeys)</pre>
|
||||
<div class="block">Sets the optional stream keys by which the manifest is filtered (only used for adaptive
|
||||
streams).
|
||||
@ -858,7 +880,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setCustomCacheKey</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setCustomCacheKey​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setCustomCacheKey​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> customCacheKey)</pre>
|
||||
<div class="block">Sets the optional custom cache key (only used for progressive streams).
|
||||
|
||||
@ -871,7 +894,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSubtitles</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setSubtitles​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="MediaItem.Subtitle.html" title="class in com.google.android.exoplayer2" target="_top">MediaItem.Subtitle</a>> subtitles)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
@ -886,7 +910,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSubtitleConfigurations</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setSubtitleConfigurations​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="MediaItem.SubtitleConfiguration.html" title="class in com.google.android.exoplayer2" target="_top">MediaItem.SubtitleConfiguration</a>> subtitleConfigurations)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setSubtitleConfigurations​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="MediaItem.SubtitleConfiguration.html" title="class in com.google.android.exoplayer2" target="_top">MediaItem.SubtitleConfiguration</a>> subtitleConfigurations)</pre>
|
||||
<div class="block">Sets the optional subtitles.
|
||||
|
||||
<p>This method should only be called if <a href="#setUri(java.lang.String)"><code>setUri(java.lang.String)</code></a> is passed a non-null value.</div>
|
||||
@ -898,7 +923,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAdsConfiguration</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setAdsConfiguration​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setAdsConfiguration​(@Nullable
|
||||
<a href="MediaItem.AdsConfiguration.html" title="class in com.google.android.exoplayer2">MediaItem.AdsConfiguration</a> adsConfiguration)</pre>
|
||||
<div class="block">Sets the optional <a href="MediaItem.AdsConfiguration.html" title="class in com.google.android.exoplayer2"><code>MediaItem.AdsConfiguration</code></a>.
|
||||
|
||||
@ -911,7 +937,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAdTagUri</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setAdTagUri​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> adTagUri)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
@ -926,7 +953,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAdTagUri</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setAdTagUri​(@Nullable
|
||||
<a href="https://developer.android.com/reference/android/net/Uri.html" title="class or interface in android.net" class="externalLink" target="_top">Uri</a> adTagUri)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
@ -941,7 +969,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAdTagUri</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setAdTagUri​(@Nullable
|
||||
<a href="https://developer.android.com/reference/android/net/Uri.html" title="class or interface in android.net" class="externalLink" target="_top">Uri</a> adTagUri,
|
||||
@Nullable
|
||||
@ -958,7 +987,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLiveConfiguration</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setLiveConfiguration​(<a href="MediaItem.LiveConfiguration.html" title="class in com.google.android.exoplayer2">MediaItem.LiveConfiguration</a> liveConfiguration)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setLiveConfiguration​(<a href="MediaItem.LiveConfiguration.html" title="class in com.google.android.exoplayer2">MediaItem.LiveConfiguration</a> liveConfiguration)</pre>
|
||||
<div class="block">Sets the <a href="MediaItem.LiveConfiguration.html" title="class in com.google.android.exoplayer2"><code>MediaItem.LiveConfiguration</code></a>. Defaults to <a href="MediaItem.LiveConfiguration.html#UNSET"><code>MediaItem.LiveConfiguration.UNSET</code></a>.</div>
|
||||
</li>
|
||||
</ul>
|
||||
@ -968,7 +998,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLiveTargetOffsetMs</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setLiveTargetOffsetMs​(long liveTargetOffsetMs)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="#setLiveConfiguration(com.google.android.exoplayer2.MediaItem.LiveConfiguration)"><code>setLiveConfiguration(LiveConfiguration)</code></a> and <a href="MediaItem.LiveConfiguration.Builder.html#setTargetOffsetMs(long)"><code>MediaItem.LiveConfiguration.Builder.setTargetOffsetMs(long)</code></a>.</div>
|
||||
@ -981,7 +1012,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLiveMinOffsetMs</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setLiveMinOffsetMs​(long liveMinOffsetMs)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="#setLiveConfiguration(com.google.android.exoplayer2.MediaItem.LiveConfiguration)"><code>setLiveConfiguration(LiveConfiguration)</code></a> and <a href="MediaItem.LiveConfiguration.Builder.html#setMinOffsetMs(long)"><code>MediaItem.LiveConfiguration.Builder.setMinOffsetMs(long)</code></a>.</div>
|
||||
@ -994,7 +1026,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLiveMaxOffsetMs</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setLiveMaxOffsetMs​(long liveMaxOffsetMs)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="#setLiveConfiguration(com.google.android.exoplayer2.MediaItem.LiveConfiguration)"><code>setLiveConfiguration(LiveConfiguration)</code></a> and <a href="MediaItem.LiveConfiguration.Builder.html#setMaxOffsetMs(long)"><code>MediaItem.LiveConfiguration.Builder.setMaxOffsetMs(long)</code></a>.</div>
|
||||
@ -1007,7 +1040,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLiveMinPlaybackSpeed</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setLiveMinPlaybackSpeed​(float minPlaybackSpeed)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="#setLiveConfiguration(com.google.android.exoplayer2.MediaItem.LiveConfiguration)"><code>setLiveConfiguration(LiveConfiguration)</code></a> and <a href="MediaItem.LiveConfiguration.Builder.html#setMinPlaybackSpeed(float)"><code>MediaItem.LiveConfiguration.Builder.setMinPlaybackSpeed(float)</code></a>.</div>
|
||||
@ -1020,7 +1054,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLiveMaxPlaybackSpeed</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setLiveMaxPlaybackSpeed​(float maxPlaybackSpeed)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="#setLiveConfiguration(com.google.android.exoplayer2.MediaItem.LiveConfiguration)"><code>setLiveConfiguration(LiveConfiguration)</code></a> and <a href="MediaItem.LiveConfiguration.Builder.html#setMaxPlaybackSpeed(float)"><code>MediaItem.LiveConfiguration.Builder.setMaxPlaybackSpeed(float)</code></a>.</div>
|
||||
@ -1033,7 +1068,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setTag</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setTag​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setTag​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a> tag)</pre>
|
||||
<div class="block">Sets the optional tag for custom attributes. The tag for the media source which will be
|
||||
published in the <code>com.google.android.exoplayer2.Timeline</code> of the source as <code>
|
||||
@ -1048,7 +1084,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMediaMetadata</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setMediaMetadata​(<a href="MediaMetadata.html" title="class in com.google.android.exoplayer2">MediaMetadata</a> mediaMetadata)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setMediaMetadata​(<a href="MediaMetadata.html" title="class in com.google.android.exoplayer2">MediaMetadata</a> mediaMetadata)</pre>
|
||||
<div class="block">Sets the media metadata.</div>
|
||||
</li>
|
||||
</ul>
|
||||
@ -1058,7 +1095,8 @@ public <a href="MediaItem.Builder.html" title="class in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setRequestMetadata</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setRequestMetadata​(<a href="MediaItem.RequestMetadata.html" title="class in com.google.android.exoplayer2">MediaItem.RequestMetadata</a> requestMetadata)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.Builder</a> setRequestMetadata​(<a href="MediaItem.RequestMetadata.html" title="class in com.google.android.exoplayer2">MediaItem.RequestMetadata</a> requestMetadata)</pre>
|
||||
<div class="block">Sets the request metadata.</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -285,7 +285,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setStartPositionMs</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.ClippingConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.ClippingConfiguration.Builder</a> setStartPositionMs​(@IntRange(from=0L)
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.ClippingConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.ClippingConfiguration.Builder</a> setStartPositionMs​(@IntRange(from=0L)
|
||||
long startPositionMs)</pre>
|
||||
<div class="block">Sets the optional start position in milliseconds which must be a value larger than or equal
|
||||
to zero (Default: 0).</div>
|
||||
@ -297,7 +298,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setEndPositionMs</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.ClippingConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.ClippingConfiguration.Builder</a> setEndPositionMs​(long endPositionMs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.ClippingConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.ClippingConfiguration.Builder</a> setEndPositionMs​(long endPositionMs)</pre>
|
||||
<div class="block">Sets the optional end position in milliseconds which must be a value larger than or equal
|
||||
to zero, or <a href="C.html#TIME_END_OF_SOURCE"><code>C.TIME_END_OF_SOURCE</code></a> to end when playback reaches the end of media
|
||||
(Default: <a href="C.html#TIME_END_OF_SOURCE"><code>C.TIME_END_OF_SOURCE</code></a>).</div>
|
||||
@ -309,7 +311,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setRelativeToLiveWindow</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.ClippingConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.ClippingConfiguration.Builder</a> setRelativeToLiveWindow​(boolean relativeToLiveWindow)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.ClippingConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.ClippingConfiguration.Builder</a> setRelativeToLiveWindow​(boolean relativeToLiveWindow)</pre>
|
||||
<div class="block">Sets whether the start/end positions should move with the live window for live streams. If
|
||||
<code>false</code>, live streams end when playback reaches the end position in live window seen
|
||||
when the media is first loaded (Default: <code>false</code>).</div>
|
||||
@ -321,7 +324,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setRelativeToDefaultPosition</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.ClippingConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.ClippingConfiguration.Builder</a> setRelativeToDefaultPosition​(boolean relativeToDefaultPosition)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.ClippingConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.ClippingConfiguration.Builder</a> setRelativeToDefaultPosition​(boolean relativeToDefaultPosition)</pre>
|
||||
<div class="block">Sets whether the start position and the end position are relative to the default position
|
||||
in the window (Default: <code>false</code>).</div>
|
||||
</li>
|
||||
@ -332,7 +336,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setStartsAtKeyFrame</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.ClippingConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.ClippingConfiguration.Builder</a> setStartsAtKeyFrame​(boolean startsAtKeyFrame)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.ClippingConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.ClippingConfiguration.Builder</a> setStartsAtKeyFrame​(boolean startsAtKeyFrame)</pre>
|
||||
<div class="block">Sets whether the start point is guaranteed to be a key frame. If <code>false</code>, the
|
||||
playback transition into the clip may not be seamless (Default: <code>false</code>).</div>
|
||||
</li>
|
||||
|
@ -320,7 +320,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setScheme</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> setScheme​(<a href="https://developer.android.com/reference/java/util/UUID.html" title="class or interface in java.util" class="externalLink" target="_top">UUID</a> scheme)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> setScheme​(<a href="https://developer.android.com/reference/java/util/UUID.html" title="class or interface in java.util" class="externalLink" target="_top">UUID</a> scheme)</pre>
|
||||
<div class="block">Sets the <a href="https://developer.android.com/reference/java/util/UUID.html" title="class or interface in java.util" class="externalLink" target="_top"><code>UUID</code></a> of the protection scheme.</div>
|
||||
</li>
|
||||
</ul>
|
||||
@ -330,7 +331,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLicenseUri</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> setLicenseUri​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> setLicenseUri​(@Nullable
|
||||
<a href="https://developer.android.com/reference/android/net/Uri.html" title="class or interface in android.net" class="externalLink" target="_top">Uri</a> licenseUri)</pre>
|
||||
<div class="block">Sets the optional default DRM license server URI.</div>
|
||||
</li>
|
||||
@ -341,7 +343,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLicenseUri</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> setLicenseUri​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> setLicenseUri​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> licenseUri)</pre>
|
||||
<div class="block">Sets the optional default DRM license server URI.</div>
|
||||
</li>
|
||||
@ -352,7 +355,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLicenseRequestHeaders</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> setLicenseRequestHeaders​(<a href="https://developer.android.com/reference/java/util/Map.html" title="class or interface in java.util" class="externalLink">Map</a><<a href="https://developer.android.com/reference/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="https://developer.android.com/reference/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">String</a>> licenseRequestHeaders)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> setLicenseRequestHeaders​(<a href="https://developer.android.com/reference/java/util/Map.html" title="class or interface in java.util" class="externalLink">Map</a><<a href="https://developer.android.com/reference/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="https://developer.android.com/reference/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">String</a>> licenseRequestHeaders)</pre>
|
||||
<div class="block">Sets the optional request headers attached to DRM license requests.</div>
|
||||
</li>
|
||||
</ul>
|
||||
@ -362,7 +366,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMultiSession</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> setMultiSession​(boolean multiSession)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> setMultiSession​(boolean multiSession)</pre>
|
||||
<div class="block">Sets whether multi session is enabled.</div>
|
||||
</li>
|
||||
</ul>
|
||||
@ -372,7 +377,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setForceDefaultLicenseUri</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> setForceDefaultLicenseUri​(boolean forceDefaultLicenseUri)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> setForceDefaultLicenseUri​(boolean forceDefaultLicenseUri)</pre>
|
||||
<div class="block">Sets whether to always use the default DRM license server URI even if the media specifies
|
||||
its own DRM license server URI.</div>
|
||||
</li>
|
||||
@ -383,7 +389,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPlayClearContentWithoutKey</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> setPlayClearContentWithoutKey​(boolean playClearContentWithoutKey)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> setPlayClearContentWithoutKey​(boolean playClearContentWithoutKey)</pre>
|
||||
<div class="block">Sets whether clear samples within protected content should be played when keys for the
|
||||
encrypted part of the content have yet to be loaded.</div>
|
||||
</li>
|
||||
@ -394,7 +401,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>forceSessionsForAudioAndVideoTracks</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
@InlineMe(replacement="this.setForceSessionsForAudioAndVideoTracks(forceSessionsForAudioAndVideoTracks)")
|
||||
public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> forceSessionsForAudioAndVideoTracks​(boolean forceSessionsForAudioAndVideoTracks)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
@ -408,7 +416,8 @@ public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in co
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setForceSessionsForAudioAndVideoTracks</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> setForceSessionsForAudioAndVideoTracks​(boolean forceSessionsForAudioAndVideoTracks)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> setForceSessionsForAudioAndVideoTracks​(boolean forceSessionsForAudioAndVideoTracks)</pre>
|
||||
<div class="block">Sets whether a DRM session should be used for clear tracks of type <a href="C.html#TRACK_TYPE_VIDEO"><code>C.TRACK_TYPE_VIDEO</code></a> and <a href="C.html#TRACK_TYPE_AUDIO"><code>C.TRACK_TYPE_AUDIO</code></a>.
|
||||
|
||||
<p>This method overrides what has been set by previously calling <a href="#setForcedSessionTrackTypes(java.util.List)"><code>setForcedSessionTrackTypes(List)</code></a>.</div>
|
||||
@ -420,7 +429,8 @@ public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in co
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setForcedSessionTrackTypes</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> setForcedSessionTrackTypes​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="C.TrackType.html" title="annotation in com.google.android.exoplayer2">@TrackType</a> <a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a>> forcedSessionTrackTypes)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> setForcedSessionTrackTypes​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="C.TrackType.html" title="annotation in com.google.android.exoplayer2">@TrackType</a> <a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a>> forcedSessionTrackTypes)</pre>
|
||||
<div class="block">Sets a list of <a href="C.TrackType.html" title="annotation in com.google.android.exoplayer2"><code>track type</code></a> constants for which to use a DRM session even
|
||||
when the tracks are in the clear.
|
||||
|
||||
@ -435,7 +445,8 @@ public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in co
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setKeySetId</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> setKeySetId​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.DrmConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.DrmConfiguration.Builder</a> setKeySetId​(@Nullable
|
||||
byte[] keySetId)</pre>
|
||||
<div class="block">Sets the key set ID of the offline license.
|
||||
|
||||
|
@ -271,7 +271,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setTargetOffsetMs</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.LiveConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.LiveConfiguration.Builder</a> setTargetOffsetMs​(long targetOffsetMs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.LiveConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.LiveConfiguration.Builder</a> setTargetOffsetMs​(long targetOffsetMs)</pre>
|
||||
<div class="block">Sets the target live offset, in milliseconds.
|
||||
|
||||
<p>See <code>Player#getCurrentLiveOffset()</code>.
|
||||
@ -285,7 +286,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMinOffsetMs</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.LiveConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.LiveConfiguration.Builder</a> setMinOffsetMs​(long minOffsetMs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.LiveConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.LiveConfiguration.Builder</a> setMinOffsetMs​(long minOffsetMs)</pre>
|
||||
<div class="block">Sets the minimum allowed live offset, in milliseconds.
|
||||
|
||||
<p>See <code>Player#getCurrentLiveOffset()</code>.
|
||||
@ -299,7 +301,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMaxOffsetMs</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.LiveConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.LiveConfiguration.Builder</a> setMaxOffsetMs​(long maxOffsetMs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.LiveConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.LiveConfiguration.Builder</a> setMaxOffsetMs​(long maxOffsetMs)</pre>
|
||||
<div class="block">Sets the maximum allowed live offset, in milliseconds.
|
||||
|
||||
<p>See <code>Player#getCurrentLiveOffset()</code>.
|
||||
@ -313,7 +316,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMinPlaybackSpeed</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.LiveConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.LiveConfiguration.Builder</a> setMinPlaybackSpeed​(float minPlaybackSpeed)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.LiveConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.LiveConfiguration.Builder</a> setMinPlaybackSpeed​(float minPlaybackSpeed)</pre>
|
||||
<div class="block">Sets the minimum playback speed.
|
||||
|
||||
<p>Defaults to <a href="C.html#RATE_UNSET"><code>C.RATE_UNSET</code></a>, indicating the media-defined default will be used.</div>
|
||||
@ -325,7 +329,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMaxPlaybackSpeed</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.LiveConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.LiveConfiguration.Builder</a> setMaxPlaybackSpeed​(float maxPlaybackSpeed)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.LiveConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.LiveConfiguration.Builder</a> setMaxPlaybackSpeed​(float maxPlaybackSpeed)</pre>
|
||||
<div class="block">Sets the maximum playback speed.
|
||||
|
||||
<p>Defaults to <a href="C.html#RATE_UNSET"><code>C.RATE_UNSET</code></a>, indicating the media-defined default will be used.</div>
|
||||
|
@ -257,7 +257,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMediaUri</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.RequestMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.RequestMetadata.Builder</a> setMediaUri​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.RequestMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.RequestMetadata.Builder</a> setMediaUri​(@Nullable
|
||||
<a href="https://developer.android.com/reference/android/net/Uri.html" title="class or interface in android.net" class="externalLink" target="_top">Uri</a> mediaUri)</pre>
|
||||
<div class="block">Sets the URI of the requested media, or null if not known or applicable.</div>
|
||||
</li>
|
||||
@ -268,7 +269,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSearchQuery</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.RequestMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.RequestMetadata.Builder</a> setSearchQuery​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.RequestMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.RequestMetadata.Builder</a> setSearchQuery​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> searchQuery)</pre>
|
||||
<div class="block">Sets the search query for the requested media, or null if not applicable.</div>
|
||||
</li>
|
||||
@ -279,7 +281,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setExtras</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.RequestMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.RequestMetadata.Builder</a> setExtras​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.RequestMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.RequestMetadata.Builder</a> setExtras​(@Nullable
|
||||
<a href="https://developer.android.com/reference/android/os/Bundle.html" title="class or interface in android.os" class="externalLink" target="_top">Bundle</a> extras)</pre>
|
||||
<div class="block">Sets optional extras <a href="https://developer.android.com/reference/android/os/Bundle.html" title="class or interface in android.os" class="externalLink" target="_top"><code>Bundle</code></a>.</div>
|
||||
</li>
|
||||
|
@ -143,7 +143,7 @@ implements <a href="Bundleable.html" title="interface in com.google.android.exop
|
||||
<div class="block">Metadata that helps the player to understand a playback request represented by a <a href="MediaItem.html" title="class in com.google.android.exoplayer2"><code>MediaItem</code></a>.
|
||||
|
||||
<p>This metadata is most useful for cases where playback requests are forwarded to other player
|
||||
instances (e.g. from a <a href="https://developer.android.com/reference/android/media/session/MediaController.html" title="class or interface in android.media.session" class="externalLink" target="_top"><code>MediaController</code></a>) and the player creating
|
||||
instances (e.g. from a <code>androidx.media3.session.MediaController</code>) and the player creating
|
||||
the request doesn't know the required <a href="MediaItem.LocalConfiguration.html" title="class in com.google.android.exoplayer2"><code>MediaItem.LocalConfiguration</code></a> for playback.</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -289,7 +289,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setUri</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.SubtitleConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.SubtitleConfiguration.Builder</a> setUri​(<a href="https://developer.android.com/reference/android/net/Uri.html" title="class or interface in android.net" class="externalLink" target="_top">Uri</a> uri)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.SubtitleConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.SubtitleConfiguration.Builder</a> setUri​(<a href="https://developer.android.com/reference/android/net/Uri.html" title="class or interface in android.net" class="externalLink" target="_top">Uri</a> uri)</pre>
|
||||
<div class="block">Sets the <a href="https://developer.android.com/reference/android/net/Uri.html" title="class or interface in android.net" class="externalLink" target="_top"><code>Uri</code></a> to the subtitle file.</div>
|
||||
</li>
|
||||
</ul>
|
||||
@ -299,7 +300,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMimeType</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.SubtitleConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.SubtitleConfiguration.Builder</a> setMimeType​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.SubtitleConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.SubtitleConfiguration.Builder</a> setMimeType​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> mimeType)</pre>
|
||||
<div class="block">Sets the MIME type.</div>
|
||||
</li>
|
||||
@ -310,7 +312,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLanguage</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.SubtitleConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.SubtitleConfiguration.Builder</a> setLanguage​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.SubtitleConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.SubtitleConfiguration.Builder</a> setLanguage​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> language)</pre>
|
||||
<div class="block">Sets the optional language of the subtitle file.</div>
|
||||
</li>
|
||||
@ -321,7 +324,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSelectionFlags</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.SubtitleConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.SubtitleConfiguration.Builder</a> setSelectionFlags​(<a href="C.SelectionFlags.html" title="annotation in com.google.android.exoplayer2">@SelectionFlags</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.SubtitleConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.SubtitleConfiguration.Builder</a> setSelectionFlags​(<a href="C.SelectionFlags.html" title="annotation in com.google.android.exoplayer2">@SelectionFlags</a>
|
||||
@com.google.android.exoplayer2.C.SelectionFlags int selectionFlags)</pre>
|
||||
<div class="block">Sets the flags used for track selection.</div>
|
||||
</li>
|
||||
@ -332,7 +336,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setRoleFlags</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.SubtitleConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.SubtitleConfiguration.Builder</a> setRoleFlags​(<a href="C.RoleFlags.html" title="annotation in com.google.android.exoplayer2">@RoleFlags</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.SubtitleConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.SubtitleConfiguration.Builder</a> setRoleFlags​(<a href="C.RoleFlags.html" title="annotation in com.google.android.exoplayer2">@RoleFlags</a>
|
||||
@com.google.android.exoplayer2.C.RoleFlags int roleFlags)</pre>
|
||||
<div class="block">Sets the role flags. These are used for track selection.</div>
|
||||
</li>
|
||||
@ -343,7 +348,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLabel</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.SubtitleConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.SubtitleConfiguration.Builder</a> setLabel​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.SubtitleConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.SubtitleConfiguration.Builder</a> setLabel​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> label)</pre>
|
||||
<div class="block">Sets the optional label for this subtitle track.</div>
|
||||
</li>
|
||||
@ -354,7 +360,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setId</h4>
|
||||
<pre class="methodSignature">public <a href="MediaItem.SubtitleConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.SubtitleConfiguration.Builder</a> setId​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaItem.SubtitleConfiguration.Builder.html" title="class in com.google.android.exoplayer2">MediaItem.SubtitleConfiguration.Builder</a> setId​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> id)</pre>
|
||||
<div class="block">Sets the optional ID for this subtitle track.</div>
|
||||
</li>
|
||||
|
@ -492,7 +492,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setTitle</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setTitle​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setTitle​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/CharSequence.html" title="class or interface in java.lang" class="externalLink" target="_top">CharSequence</a> title)</pre>
|
||||
<div class="block">Sets the title.</div>
|
||||
</li>
|
||||
@ -503,7 +504,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setArtist</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setArtist​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setArtist​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/CharSequence.html" title="class or interface in java.lang" class="externalLink" target="_top">CharSequence</a> artist)</pre>
|
||||
<div class="block">Sets the artist.</div>
|
||||
</li>
|
||||
@ -514,7 +516,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAlbumTitle</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setAlbumTitle​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setAlbumTitle​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/CharSequence.html" title="class or interface in java.lang" class="externalLink" target="_top">CharSequence</a> albumTitle)</pre>
|
||||
<div class="block">Sets the album title.</div>
|
||||
</li>
|
||||
@ -525,7 +528,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAlbumArtist</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setAlbumArtist​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setAlbumArtist​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/CharSequence.html" title="class or interface in java.lang" class="externalLink" target="_top">CharSequence</a> albumArtist)</pre>
|
||||
<div class="block">Sets the album artist.</div>
|
||||
</li>
|
||||
@ -536,7 +540,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDisplayTitle</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setDisplayTitle​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setDisplayTitle​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/CharSequence.html" title="class or interface in java.lang" class="externalLink" target="_top">CharSequence</a> displayTitle)</pre>
|
||||
<div class="block">Sets the display title.</div>
|
||||
</li>
|
||||
@ -547,7 +552,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSubtitle</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setSubtitle​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setSubtitle​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/CharSequence.html" title="class or interface in java.lang" class="externalLink" target="_top">CharSequence</a> subtitle)</pre>
|
||||
<div class="block">Sets the subtitle.
|
||||
|
||||
@ -560,7 +566,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDescription</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setDescription​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setDescription​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/CharSequence.html" title="class or interface in java.lang" class="externalLink" target="_top">CharSequence</a> description)</pre>
|
||||
<div class="block">Sets the description.</div>
|
||||
</li>
|
||||
@ -571,7 +578,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setUserRating</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setUserRating​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setUserRating​(@Nullable
|
||||
<a href="Rating.html" title="class in com.google.android.exoplayer2">Rating</a> userRating)</pre>
|
||||
<div class="block">Sets the user <a href="Rating.html" title="class in com.google.android.exoplayer2"><code>Rating</code></a>.</div>
|
||||
</li>
|
||||
@ -582,7 +590,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setOverallRating</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setOverallRating​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setOverallRating​(@Nullable
|
||||
<a href="Rating.html" title="class in com.google.android.exoplayer2">Rating</a> overallRating)</pre>
|
||||
<div class="block">Sets the overall <a href="Rating.html" title="class in com.google.android.exoplayer2"><code>Rating</code></a>.</div>
|
||||
</li>
|
||||
@ -593,7 +602,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setArtworkData</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setArtworkData​(@Nullable
|
||||
byte[] artworkData)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
@ -607,7 +617,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setArtworkData</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setArtworkData​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setArtworkData​(@Nullable
|
||||
byte[] artworkData,
|
||||
@Nullable <a href="MediaMetadata.PictureType.html" title="annotation in com.google.android.exoplayer2">@PictureType</a>
|
||||
<a href="MediaMetadata.PictureType.html" title="annotation in com.google.android.exoplayer2">@PictureType</a> <a href="https://developer.android.com/reference/java/lang/Integer.html" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a> artworkDataType)</pre>
|
||||
@ -620,7 +631,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>maybeSetArtworkData</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> maybeSetArtworkData​(byte[] artworkData,
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> maybeSetArtworkData​(byte[] artworkData,
|
||||
<a href="MediaMetadata.PictureType.html" title="annotation in com.google.android.exoplayer2">@PictureType</a>
|
||||
@com.google.android.exoplayer2.MediaMetadata.PictureType int artworkDataType)</pre>
|
||||
<div class="block">Sets the artwork data as a compressed byte array in the event that the associated <a href="MediaMetadata.PictureType.html" title="annotation in com.google.android.exoplayer2"><code>MediaMetadata.PictureType</code></a> is <a href="MediaMetadata.html#PICTURE_TYPE_FRONT_COVER"><code>MediaMetadata.PICTURE_TYPE_FRONT_COVER</code></a>, the existing <a href="MediaMetadata.PictureType.html" title="annotation in com.google.android.exoplayer2"><code>MediaMetadata.PictureType</code></a> is not
|
||||
@ -636,7 +648,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setArtworkUri</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setArtworkUri​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setArtworkUri​(@Nullable
|
||||
<a href="https://developer.android.com/reference/android/net/Uri.html" title="class or interface in android.net" class="externalLink" target="_top">Uri</a> artworkUri)</pre>
|
||||
<div class="block">Sets the artwork <a href="https://developer.android.com/reference/android/net/Uri.html" title="class or interface in android.net" class="externalLink" target="_top"><code>Uri</code></a>.</div>
|
||||
</li>
|
||||
@ -647,7 +660,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setTrackNumber</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setTrackNumber​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setTrackNumber​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/Integer.html" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a> trackNumber)</pre>
|
||||
<div class="block">Sets the track number.</div>
|
||||
</li>
|
||||
@ -658,7 +672,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setTotalTrackCount</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setTotalTrackCount​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setTotalTrackCount​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/Integer.html" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a> totalTrackCount)</pre>
|
||||
<div class="block">Sets the total number of tracks.</div>
|
||||
</li>
|
||||
@ -669,7 +684,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setFolderType</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setFolderType​(@Nullable <a href="MediaMetadata.FolderType.html" title="annotation in com.google.android.exoplayer2">@FolderType</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setFolderType​(@Nullable <a href="MediaMetadata.FolderType.html" title="annotation in com.google.android.exoplayer2">@FolderType</a>
|
||||
<a href="MediaMetadata.FolderType.html" title="annotation in com.google.android.exoplayer2">@FolderType</a> <a href="https://developer.android.com/reference/java/lang/Integer.html" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a> folderType)</pre>
|
||||
<div class="block">Sets the <a href="MediaMetadata.FolderType.html" title="annotation in com.google.android.exoplayer2"><code>MediaMetadata.FolderType</code></a>.</div>
|
||||
</li>
|
||||
@ -680,7 +696,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setIsPlayable</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setIsPlayable​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setIsPlayable​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/Boolean.html" title="class or interface in java.lang" class="externalLink" target="_top">Boolean</a> isPlayable)</pre>
|
||||
<div class="block">Sets whether the media is playable.</div>
|
||||
</li>
|
||||
@ -691,7 +708,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setYear</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setYear​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/Integer.html" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a> year)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
@ -705,7 +723,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setRecordingYear</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setRecordingYear​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setRecordingYear​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/Integer.html" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a> recordingYear)</pre>
|
||||
<div class="block">Sets the year of the recording date.</div>
|
||||
</li>
|
||||
@ -716,7 +735,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setRecordingMonth</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setRecordingMonth​(@Nullable @IntRange(from=1L,to=12L)
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setRecordingMonth​(@Nullable @IntRange(from=1L,to=12L)
|
||||
<a href="https://developer.android.com/reference/java/lang/Integer.html" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a> recordingMonth)</pre>
|
||||
<div class="block">Sets the month of the recording date.
|
||||
|
||||
@ -729,7 +749,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setRecordingDay</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setRecordingDay​(@Nullable @IntRange(from=1L,to=31L)
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setRecordingDay​(@Nullable @IntRange(from=1L,to=31L)
|
||||
<a href="https://developer.android.com/reference/java/lang/Integer.html" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a> recordingDay)</pre>
|
||||
<div class="block">Sets the day of the recording date.
|
||||
|
||||
@ -742,7 +763,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setReleaseYear</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setReleaseYear​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setReleaseYear​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/Integer.html" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a> releaseYear)</pre>
|
||||
<div class="block">Sets the year of the release date.</div>
|
||||
</li>
|
||||
@ -753,7 +775,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setReleaseMonth</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setReleaseMonth​(@Nullable @IntRange(from=1L,to=12L)
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setReleaseMonth​(@Nullable @IntRange(from=1L,to=12L)
|
||||
<a href="https://developer.android.com/reference/java/lang/Integer.html" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a> releaseMonth)</pre>
|
||||
<div class="block">Sets the month of the release date.
|
||||
|
||||
@ -766,7 +789,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setReleaseDay</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setReleaseDay​(@Nullable @IntRange(from=1L,to=31L)
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setReleaseDay​(@Nullable @IntRange(from=1L,to=31L)
|
||||
<a href="https://developer.android.com/reference/java/lang/Integer.html" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a> releaseDay)</pre>
|
||||
<div class="block">Sets the day of the release date.
|
||||
|
||||
@ -779,7 +803,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setWriter</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setWriter​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setWriter​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/CharSequence.html" title="class or interface in java.lang" class="externalLink" target="_top">CharSequence</a> writer)</pre>
|
||||
<div class="block">Sets the writer.</div>
|
||||
</li>
|
||||
@ -790,7 +815,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setComposer</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setComposer​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setComposer​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/CharSequence.html" title="class or interface in java.lang" class="externalLink" target="_top">CharSequence</a> composer)</pre>
|
||||
<div class="block">Sets the composer.</div>
|
||||
</li>
|
||||
@ -801,7 +827,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setConductor</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setConductor​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setConductor​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/CharSequence.html" title="class or interface in java.lang" class="externalLink" target="_top">CharSequence</a> conductor)</pre>
|
||||
<div class="block">Sets the conductor.</div>
|
||||
</li>
|
||||
@ -812,7 +839,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDiscNumber</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setDiscNumber​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setDiscNumber​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/Integer.html" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a> discNumber)</pre>
|
||||
<div class="block">Sets the disc number.</div>
|
||||
</li>
|
||||
@ -823,7 +851,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setTotalDiscCount</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setTotalDiscCount​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setTotalDiscCount​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/Integer.html" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a> totalDiscCount)</pre>
|
||||
<div class="block">Sets the total number of discs.</div>
|
||||
</li>
|
||||
@ -834,7 +863,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setGenre</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setGenre​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setGenre​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/CharSequence.html" title="class or interface in java.lang" class="externalLink" target="_top">CharSequence</a> genre)</pre>
|
||||
<div class="block">Sets the genre.</div>
|
||||
</li>
|
||||
@ -845,7 +875,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setCompilation</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setCompilation​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setCompilation​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/CharSequence.html" title="class or interface in java.lang" class="externalLink" target="_top">CharSequence</a> compilation)</pre>
|
||||
<div class="block">Sets the compilation.</div>
|
||||
</li>
|
||||
@ -856,7 +887,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setStation</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setStation​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setStation​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/CharSequence.html" title="class or interface in java.lang" class="externalLink" target="_top">CharSequence</a> station)</pre>
|
||||
<div class="block">Sets the name of the station streaming the media.</div>
|
||||
</li>
|
||||
@ -867,7 +899,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setExtras</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setExtras​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> setExtras​(@Nullable
|
||||
<a href="https://developer.android.com/reference/android/os/Bundle.html" title="class or interface in android.os" class="externalLink" target="_top">Bundle</a> extras)</pre>
|
||||
<div class="block">Sets the extras <a href="https://developer.android.com/reference/android/os/Bundle.html" title="class or interface in android.os" class="externalLink" target="_top"><code>Bundle</code></a>.</div>
|
||||
</li>
|
||||
@ -878,7 +911,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>populateFromMetadata</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> populateFromMetadata​(<a href="metadata/Metadata.html" title="class in com.google.android.exoplayer2.metadata">Metadata</a> metadata)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> populateFromMetadata​(<a href="metadata/Metadata.html" title="class in com.google.android.exoplayer2.metadata">Metadata</a> metadata)</pre>
|
||||
<div class="block">Sets all fields supported by the <a href="metadata/Metadata.Entry.html" title="interface in com.google.android.exoplayer2.metadata"><code>entries</code></a> within the <a href="metadata/Metadata.html" title="class in com.google.android.exoplayer2.metadata"><code>Metadata</code></a>.
|
||||
|
||||
<p>Fields are only set if the <a href="metadata/Metadata.Entry.html" title="interface in com.google.android.exoplayer2.metadata"><code>Metadata.Entry</code></a> has an implementation for <a href="metadata/Metadata.Entry.html#populateMediaMetadata(com.google.android.exoplayer2.MediaMetadata.Builder)"><code>Metadata.Entry.populateMediaMetadata(Builder)</code></a>.
|
||||
@ -893,7 +927,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>populateFromMetadata</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> populateFromMetadata​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="metadata/Metadata.html" title="class in com.google.android.exoplayer2.metadata" target="_top">Metadata</a>> metadataList)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> populateFromMetadata​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="metadata/Metadata.html" title="class in com.google.android.exoplayer2.metadata" target="_top">Metadata</a>> metadataList)</pre>
|
||||
<div class="block">Sets all fields supported by the <a href="metadata/Metadata.Entry.html" title="interface in com.google.android.exoplayer2.metadata"><code>entries</code></a> within the list of <a href="metadata/Metadata.html" title="class in com.google.android.exoplayer2.metadata"><code>Metadata</code></a>.
|
||||
|
||||
<p>Fields are only set if the <a href="metadata/Metadata.Entry.html" title="interface in com.google.android.exoplayer2.metadata"><code>Metadata.Entry</code></a> has an implementation for <a href="metadata/Metadata.Entry.html#populateMediaMetadata(com.google.android.exoplayer2.MediaMetadata.Builder)"><code>Metadata.Entry.populateMediaMetadata(Builder)</code></a>.
|
||||
@ -907,7 +942,8 @@ public <a href="MediaMetadata.Builder.html" title="class in com.google.andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>populate</h4>
|
||||
<pre class="methodSignature">public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> populate​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="MediaMetadata.Builder.html" title="class in com.google.android.exoplayer2">MediaMetadata.Builder</a> populate​(@Nullable
|
||||
<a href="MediaMetadata.html" title="class in com.google.android.exoplayer2">MediaMetadata</a> mediaMetadata)</pre>
|
||||
<div class="block">Populates all the fields from <code>mediaMetadata</code>, provided they are non-null.</div>
|
||||
</li>
|
||||
|
@ -180,14 +180,14 @@ implements <a href="Renderer.html" title="interface in com.google.android.exopla
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface com.google.android.exoplayer2.<a href="Renderer.html" title="interface in com.google.android.exoplayer2">Renderer</a></h3>
|
||||
<code><a href="Renderer.html#MSG_CUSTOM_BASE">MSG_CUSTOM_BASE</a>, <a href="Renderer.html#MSG_SET_AUDIO_ATTRIBUTES">MSG_SET_AUDIO_ATTRIBUTES</a>, <a href="Renderer.html#MSG_SET_AUDIO_SESSION_ID">MSG_SET_AUDIO_SESSION_ID</a>, <a href="Renderer.html#MSG_SET_AUX_EFFECT_INFO">MSG_SET_AUX_EFFECT_INFO</a>, <a href="Renderer.html#MSG_SET_CAMERA_MOTION_LISTENER">MSG_SET_CAMERA_MOTION_LISTENER</a>, <a href="Renderer.html#MSG_SET_CHANGE_FRAME_RATE_STRATEGY">MSG_SET_CHANGE_FRAME_RATE_STRATEGY</a>, <a href="Renderer.html#MSG_SET_SCALING_MODE">MSG_SET_SCALING_MODE</a>, <a href="Renderer.html#MSG_SET_SKIP_SILENCE_ENABLED">MSG_SET_SKIP_SILENCE_ENABLED</a>, <a href="Renderer.html#MSG_SET_VIDEO_FRAME_METADATA_LISTENER">MSG_SET_VIDEO_FRAME_METADATA_LISTENER</a>, <a href="Renderer.html#MSG_SET_VIDEO_OUTPUT">MSG_SET_VIDEO_OUTPUT</a>, <a href="Renderer.html#MSG_SET_VOLUME">MSG_SET_VOLUME</a>, <a href="Renderer.html#MSG_SET_WAKEUP_LISTENER">MSG_SET_WAKEUP_LISTENER</a>, <a href="Renderer.html#STATE_DISABLED">STATE_DISABLED</a>, <a href="Renderer.html#STATE_ENABLED">STATE_ENABLED</a>, <a href="Renderer.html#STATE_STARTED">STATE_STARTED</a></code></li>
|
||||
<code><a href="Renderer.html#MSG_CUSTOM_BASE">MSG_CUSTOM_BASE</a>, <a href="Renderer.html#MSG_SET_AUDIO_ATTRIBUTES">MSG_SET_AUDIO_ATTRIBUTES</a>, <a href="Renderer.html#MSG_SET_AUDIO_SESSION_ID">MSG_SET_AUDIO_SESSION_ID</a>, <a href="Renderer.html#MSG_SET_AUX_EFFECT_INFO">MSG_SET_AUX_EFFECT_INFO</a>, <a href="Renderer.html#MSG_SET_CAMERA_MOTION_LISTENER">MSG_SET_CAMERA_MOTION_LISTENER</a>, <a href="Renderer.html#MSG_SET_CHANGE_FRAME_RATE_STRATEGY">MSG_SET_CHANGE_FRAME_RATE_STRATEGY</a>, <a href="Renderer.html#MSG_SET_PREFERRED_AUDIO_DEVICE">MSG_SET_PREFERRED_AUDIO_DEVICE</a>, <a href="Renderer.html#MSG_SET_SCALING_MODE">MSG_SET_SCALING_MODE</a>, <a href="Renderer.html#MSG_SET_SKIP_SILENCE_ENABLED">MSG_SET_SKIP_SILENCE_ENABLED</a>, <a href="Renderer.html#MSG_SET_VIDEO_FRAME_METADATA_LISTENER">MSG_SET_VIDEO_FRAME_METADATA_LISTENER</a>, <a href="Renderer.html#MSG_SET_VIDEO_OUTPUT">MSG_SET_VIDEO_OUTPUT</a>, <a href="Renderer.html#MSG_SET_VOLUME">MSG_SET_VOLUME</a>, <a href="Renderer.html#MSG_SET_WAKEUP_LISTENER">MSG_SET_WAKEUP_LISTENER</a>, <a href="Renderer.html#STATE_DISABLED">STATE_DISABLED</a>, <a href="Renderer.html#STATE_ENABLED">STATE_ENABLED</a>, <a href="Renderer.html#STATE_STARTED">STATE_STARTED</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="fields.inherited.from.class.com.google.android.exoplayer2.RendererCapabilities">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface com.google.android.exoplayer2.<a href="RendererCapabilities.html" title="interface in com.google.android.exoplayer2">RendererCapabilities</a></h3>
|
||||
<code><a href="RendererCapabilities.html#ADAPTIVE_NOT_SEAMLESS">ADAPTIVE_NOT_SEAMLESS</a>, <a href="RendererCapabilities.html#ADAPTIVE_NOT_SUPPORTED">ADAPTIVE_NOT_SUPPORTED</a>, <a href="RendererCapabilities.html#ADAPTIVE_SEAMLESS">ADAPTIVE_SEAMLESS</a>, <a href="RendererCapabilities.html#ADAPTIVE_SUPPORT_MASK">ADAPTIVE_SUPPORT_MASK</a>, <a href="RendererCapabilities.html#DECODER_SUPPORT_FALLBACK">DECODER_SUPPORT_FALLBACK</a>, <a href="RendererCapabilities.html#DECODER_SUPPORT_PRIMARY">DECODER_SUPPORT_PRIMARY</a>, <a href="RendererCapabilities.html#FORMAT_EXCEEDS_CAPABILITIES">FORMAT_EXCEEDS_CAPABILITIES</a>, <a href="RendererCapabilities.html#FORMAT_HANDLED">FORMAT_HANDLED</a>, <a href="RendererCapabilities.html#FORMAT_SUPPORT_MASK">FORMAT_SUPPORT_MASK</a>, <a href="RendererCapabilities.html#FORMAT_UNSUPPORTED_DRM">FORMAT_UNSUPPORTED_DRM</a>, <a href="RendererCapabilities.html#FORMAT_UNSUPPORTED_SUBTYPE">FORMAT_UNSUPPORTED_SUBTYPE</a>, <a href="RendererCapabilities.html#FORMAT_UNSUPPORTED_TYPE">FORMAT_UNSUPPORTED_TYPE</a>, <a href="RendererCapabilities.html#HARDWARE_ACCELERATION_NOT_SUPPORTED">HARDWARE_ACCELERATION_NOT_SUPPORTED</a>, <a href="RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORT_MASK">HARDWARE_ACCELERATION_SUPPORT_MASK</a>, <a href="RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORTED">HARDWARE_ACCELERATION_SUPPORTED</a>, <a href="RendererCapabilities.html#MODE_SUPPORT_MASK">MODE_SUPPORT_MASK</a>, <a href="RendererCapabilities.html#TUNNELING_NOT_SUPPORTED">TUNNELING_NOT_SUPPORTED</a>, <a href="RendererCapabilities.html#TUNNELING_SUPPORT_MASK">TUNNELING_SUPPORT_MASK</a>, <a href="RendererCapabilities.html#TUNNELING_SUPPORTED">TUNNELING_SUPPORTED</a></code></li>
|
||||
<code><a href="RendererCapabilities.html#ADAPTIVE_NOT_SEAMLESS">ADAPTIVE_NOT_SEAMLESS</a>, <a href="RendererCapabilities.html#ADAPTIVE_NOT_SUPPORTED">ADAPTIVE_NOT_SUPPORTED</a>, <a href="RendererCapabilities.html#ADAPTIVE_SEAMLESS">ADAPTIVE_SEAMLESS</a>, <a href="RendererCapabilities.html#ADAPTIVE_SUPPORT_MASK">ADAPTIVE_SUPPORT_MASK</a>, <a href="RendererCapabilities.html#DECODER_SUPPORT_FALLBACK">DECODER_SUPPORT_FALLBACK</a>, <a href="RendererCapabilities.html#DECODER_SUPPORT_FALLBACK_MIMETYPE">DECODER_SUPPORT_FALLBACK_MIMETYPE</a>, <a href="RendererCapabilities.html#DECODER_SUPPORT_PRIMARY">DECODER_SUPPORT_PRIMARY</a>, <a href="RendererCapabilities.html#FORMAT_EXCEEDS_CAPABILITIES">FORMAT_EXCEEDS_CAPABILITIES</a>, <a href="RendererCapabilities.html#FORMAT_HANDLED">FORMAT_HANDLED</a>, <a href="RendererCapabilities.html#FORMAT_SUPPORT_MASK">FORMAT_SUPPORT_MASK</a>, <a href="RendererCapabilities.html#FORMAT_UNSUPPORTED_DRM">FORMAT_UNSUPPORTED_DRM</a>, <a href="RendererCapabilities.html#FORMAT_UNSUPPORTED_SUBTYPE">FORMAT_UNSUPPORTED_SUBTYPE</a>, <a href="RendererCapabilities.html#FORMAT_UNSUPPORTED_TYPE">FORMAT_UNSUPPORTED_TYPE</a>, <a href="RendererCapabilities.html#HARDWARE_ACCELERATION_NOT_SUPPORTED">HARDWARE_ACCELERATION_NOT_SUPPORTED</a>, <a href="RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORT_MASK">HARDWARE_ACCELERATION_SUPPORT_MASK</a>, <a href="RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORTED">HARDWARE_ACCELERATION_SUPPORTED</a>, <a href="RendererCapabilities.html#MODE_SUPPORT_MASK">MODE_SUPPORT_MASK</a>, <a href="RendererCapabilities.html#TUNNELING_NOT_SUPPORTED">TUNNELING_NOT_SUPPORTED</a>, <a href="RendererCapabilities.html#TUNNELING_SUPPORT_MASK">TUNNELING_SUPPORT_MASK</a>, <a href="RendererCapabilities.html#TUNNELING_SUPPORTED">TUNNELING_SUPPORTED</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -294,7 +294,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>add</h4>
|
||||
<pre class="methodSignature">public <a href="Player.Commands.Builder.html" title="class in com.google.android.exoplayer2">Player.Commands.Builder</a> add​(<a href="Player.Command.html" title="annotation in com.google.android.exoplayer2">@Command</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Player.Commands.Builder.html" title="class in com.google.android.exoplayer2">Player.Commands.Builder</a> add​(<a href="Player.Command.html" title="annotation in com.google.android.exoplayer2">@Command</a>
|
||||
@com.google.android.exoplayer2.Player.Command int command)</pre>
|
||||
<div class="block">Adds a <a href="Player.Command.html" title="annotation in com.google.android.exoplayer2"><code>Player.Command</code></a>.</div>
|
||||
<dl>
|
||||
@ -313,7 +314,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>addIf</h4>
|
||||
<pre class="methodSignature">public <a href="Player.Commands.Builder.html" title="class in com.google.android.exoplayer2">Player.Commands.Builder</a> addIf​(<a href="Player.Command.html" title="annotation in com.google.android.exoplayer2">@Command</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Player.Commands.Builder.html" title="class in com.google.android.exoplayer2">Player.Commands.Builder</a> addIf​(<a href="Player.Command.html" title="annotation in com.google.android.exoplayer2">@Command</a>
|
||||
@com.google.android.exoplayer2.Player.Command int command,
|
||||
boolean condition)</pre>
|
||||
<div class="block">Adds a <a href="Player.Command.html" title="annotation in com.google.android.exoplayer2"><code>Player.Command</code></a> if the provided condition is true. Does nothing otherwise.</div>
|
||||
@ -334,7 +336,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>addAll</h4>
|
||||
<pre class="methodSignature">public <a href="Player.Commands.Builder.html" title="class in com.google.android.exoplayer2">Player.Commands.Builder</a> addAll​(<a href="Player.Command.html" title="annotation in com.google.android.exoplayer2">@Command</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Player.Commands.Builder.html" title="class in com.google.android.exoplayer2">Player.Commands.Builder</a> addAll​(<a href="Player.Command.html" title="annotation in com.google.android.exoplayer2">@Command</a>
|
||||
@com.google.android.exoplayer2.Player.Command int... commands)</pre>
|
||||
<div class="block">Adds <a href="Player.Command.html" title="annotation in com.google.android.exoplayer2"><code>commands</code></a>.</div>
|
||||
<dl>
|
||||
@ -353,7 +356,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>addAll</h4>
|
||||
<pre class="methodSignature">public <a href="Player.Commands.Builder.html" title="class in com.google.android.exoplayer2">Player.Commands.Builder</a> addAll​(<a href="Player.Commands.html" title="class in com.google.android.exoplayer2">Player.Commands</a> commands)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Player.Commands.Builder.html" title="class in com.google.android.exoplayer2">Player.Commands.Builder</a> addAll​(<a href="Player.Commands.html" title="class in com.google.android.exoplayer2">Player.Commands</a> commands)</pre>
|
||||
<div class="block">Adds <a href="Player.Commands.html" title="class in com.google.android.exoplayer2"><code>Player.Commands</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -371,7 +375,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>addAllCommands</h4>
|
||||
<pre class="methodSignature">public <a href="Player.Commands.Builder.html" title="class in com.google.android.exoplayer2">Player.Commands.Builder</a> addAllCommands()</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Player.Commands.Builder.html" title="class in com.google.android.exoplayer2">Player.Commands.Builder</a> addAllCommands()</pre>
|
||||
<div class="block">Adds all existing <a href="Player.Command.html" title="annotation in com.google.android.exoplayer2"><code>commands</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
@ -387,7 +392,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>remove</h4>
|
||||
<pre class="methodSignature">public <a href="Player.Commands.Builder.html" title="class in com.google.android.exoplayer2">Player.Commands.Builder</a> remove​(<a href="Player.Command.html" title="annotation in com.google.android.exoplayer2">@Command</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Player.Commands.Builder.html" title="class in com.google.android.exoplayer2">Player.Commands.Builder</a> remove​(<a href="Player.Command.html" title="annotation in com.google.android.exoplayer2">@Command</a>
|
||||
@com.google.android.exoplayer2.Player.Command int command)</pre>
|
||||
<div class="block">Removes a <a href="Player.Command.html" title="annotation in com.google.android.exoplayer2"><code>Player.Command</code></a>.</div>
|
||||
<dl>
|
||||
@ -406,7 +412,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>removeIf</h4>
|
||||
<pre class="methodSignature">public <a href="Player.Commands.Builder.html" title="class in com.google.android.exoplayer2">Player.Commands.Builder</a> removeIf​(<a href="Player.Command.html" title="annotation in com.google.android.exoplayer2">@Command</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Player.Commands.Builder.html" title="class in com.google.android.exoplayer2">Player.Commands.Builder</a> removeIf​(<a href="Player.Command.html" title="annotation in com.google.android.exoplayer2">@Command</a>
|
||||
@com.google.android.exoplayer2.Player.Command int command,
|
||||
boolean condition)</pre>
|
||||
<div class="block">Removes a <a href="Player.Command.html" title="annotation in com.google.android.exoplayer2"><code>Player.Command</code></a> if the provided condition is true. Does nothing otherwise.</div>
|
||||
@ -427,7 +434,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>removeAll</h4>
|
||||
<pre class="methodSignature">public <a href="Player.Commands.Builder.html" title="class in com.google.android.exoplayer2">Player.Commands.Builder</a> removeAll​(<a href="Player.Command.html" title="annotation in com.google.android.exoplayer2">@Command</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Player.Commands.Builder.html" title="class in com.google.android.exoplayer2">Player.Commands.Builder</a> removeAll​(<a href="Player.Command.html" title="annotation in com.google.android.exoplayer2">@Command</a>
|
||||
@com.google.android.exoplayer2.Player.Command int... commands)</pre>
|
||||
<div class="block">Removes <a href="Player.Command.html" title="annotation in com.google.android.exoplayer2"><code>commands</code></a>.</div>
|
||||
<dl>
|
||||
|
@ -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":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":38,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":38,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":38,"i50":6,"i51":6,"i52":6,"i53":6,"i54":6,"i55":6,"i56":6,"i57":6,"i58":38,"i59":6,"i60":38,"i61":38,"i62":6,"i63":38,"i64":6,"i65":6,"i66":6,"i67":6,"i68":6,"i69":38,"i70":38,"i71":38,"i72":6,"i73":6,"i74":6,"i75":6,"i76":6,"i77":6,"i78":38,"i79":6,"i80":6,"i81":6,"i82":38,"i83":6,"i84":6,"i85":6,"i86":6,"i87":6,"i88":6,"i89":6,"i90":6,"i91":6,"i92":6,"i93":6,"i94":6,"i95":38,"i96":6,"i97":6,"i98":38,"i99":6,"i100":6,"i101":6,"i102":6,"i103":6,"i104":6,"i105":6,"i106":6,"i107":6,"i108":6,"i109":6,"i110":6,"i111":6,"i112":6,"i113":6,"i114":6,"i115":6,"i116":6,"i117":6,"i118":6,"i119":6,"i120":38};
|
||||
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":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":38,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":38,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":38,"i50":6,"i51":6,"i52":6,"i53":6,"i54":6,"i55":6,"i56":6,"i57":6,"i58":6,"i59":38,"i60":6,"i61":38,"i62":38,"i63":6,"i64":38,"i65":6,"i66":6,"i67":6,"i68":6,"i69":6,"i70":38,"i71":38,"i72":38,"i73":6,"i74":6,"i75":6,"i76":6,"i77":6,"i78":6,"i79":38,"i80":6,"i81":6,"i82":6,"i83":38,"i84":6,"i85":6,"i86":6,"i87":6,"i88":6,"i89":6,"i90":6,"i91":6,"i92":6,"i93":6,"i94":6,"i95":6,"i96":38,"i97":6,"i98":6,"i99":38,"i100":6,"i101":6,"i102":6,"i103":6,"i104":6,"i105":6,"i106":6,"i107":6,"i108":6,"i109":6,"i110":6,"i111":6,"i112":6,"i113":6,"i114":6,"i115":6,"i116":6,"i117":6,"i118":6,"i119":6,"i120":6,"i121":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";
|
||||
@ -126,7 +126,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>All Known Implementing Classes:</dt>
|
||||
<dd><code><a href="BasePlayer.html" title="class in com.google.android.exoplayer2">BasePlayer</a></code>, <code><a href="ext/cast/CastPlayer.html" title="class in com.google.android.exoplayer2.ext.cast">CastPlayer</a></code>, <code><a href="ForwardingPlayer.html" title="class in com.google.android.exoplayer2">ForwardingPlayer</a></code>, <code><a href="SimpleExoPlayer.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer</a></code>, <code><a href="testutil/StubExoPlayer.html" title="class in com.google.android.exoplayer2.testutil">StubExoPlayer</a></code>, <code><a href="testutil/StubPlayer.html" title="class in com.google.android.exoplayer2.testutil">StubPlayer</a></code></dd>
|
||||
<dd><code><a href="BasePlayer.html" title="class in com.google.android.exoplayer2">BasePlayer</a></code>, <code><a href="ext/cast/CastPlayer.html" title="class in com.google.android.exoplayer2.ext.cast">CastPlayer</a></code>, <code><a href="ForwardingPlayer.html" title="class in com.google.android.exoplayer2">ForwardingPlayer</a></code>, <code><a href="LegacyMediaPlayerWrapper.html" title="class in com.google.android.exoplayer2">LegacyMediaPlayerWrapper</a></code>, <code><a href="SimpleBasePlayer.html" title="class in com.google.android.exoplayer2">SimpleBasePlayer</a></code>, <code><a href="SimpleExoPlayer.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer</a></code>, <code><a href="testutil/StubExoPlayer.html" title="class in com.google.android.exoplayer2.testutil">StubExoPlayer</a></code>, <code><a href="testutil/StubPlayer.html" title="class in com.google.android.exoplayer2.testutil">StubPlayer</a></code></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public interface <span class="typeNameLabel">Player</span></pre>
|
||||
@ -1360,34 +1360,41 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i54" class="altColor">
|
||||
<td class="colFirst"><code><a href="util/Size.html" title="class in com.google.android.exoplayer2.util">Size</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSurfaceSize()">getSurfaceSize</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Gets the size of the surface on which the video is rendered.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i55" class="rowColor">
|
||||
<td class="colFirst"><code>long</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTotalBufferedDuration()">getTotalBufferedDuration</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns an estimate of the total buffered duration from the current position, in milliseconds.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i55" class="rowColor">
|
||||
<tr id="i56" class="altColor">
|
||||
<td class="colFirst"><code><a href="trackselection/TrackSelectionParameters.html" title="class in com.google.android.exoplayer2.trackselection">TrackSelectionParameters</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTrackSelectionParameters()">getTrackSelectionParameters</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the parameters constraining the track selection.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i56" class="altColor">
|
||||
<tr id="i57" class="rowColor">
|
||||
<td class="colFirst"><code><a href="video/VideoSize.html" title="class in com.google.android.exoplayer2.video">VideoSize</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getVideoSize()">getVideoSize</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Gets the size of the video.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i57" class="rowColor">
|
||||
<tr id="i58" class="altColor">
|
||||
<td class="colFirst"><code>float</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getVolume()">getVolume</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the audio volume, with 0 being silence and 1 being unity gain (signal unchanged).</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i58" class="altColor">
|
||||
<tr id="i59" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasNext()">hasNext</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -1396,7 +1403,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i59" class="rowColor">
|
||||
<tr id="i60" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasNextMediaItem()">hasNextMediaItem</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -1404,7 +1411,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
and whether shuffle mode is enabled.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i60" class="altColor">
|
||||
<tr id="i61" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasNextWindow()">hasNextWindow</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -1413,7 +1420,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i61" class="rowColor">
|
||||
<tr id="i62" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasPrevious()">hasPrevious</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -1422,7 +1429,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i62" class="altColor">
|
||||
<tr id="i63" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasPreviousMediaItem()">hasPreviousMediaItem</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -1430,7 +1437,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
whether shuffle mode is enabled.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i63" class="rowColor">
|
||||
<tr id="i64" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasPreviousWindow()">hasPreviousWindow</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -1439,21 +1446,21 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i64" class="altColor">
|
||||
<tr id="i65" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#increaseDeviceVolume()">increaseDeviceVolume</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Increases the volume of the device.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i65" class="rowColor">
|
||||
<tr id="i66" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCommandAvailable(@com.google.android.exoplayer2.Player.Commandint)">isCommandAvailable</a></span>​(@com.google.android.exoplayer2.Player.Command int command)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns whether the provided <a href="Player.Command.html" title="annotation in com.google.android.exoplayer2"><code>Player.Command</code></a> is available.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i66" class="altColor">
|
||||
<tr id="i67" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCurrentMediaItemDynamic()">isCurrentMediaItemDynamic</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -1461,7 +1468,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
is updated), or <code>false</code> if the <a href="Timeline.html" title="class in com.google.android.exoplayer2"><code>Timeline</code></a> is empty.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i67" class="rowColor">
|
||||
<tr id="i68" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCurrentMediaItemLive()">isCurrentMediaItemLive</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -1469,14 +1476,14 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
is empty.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i68" class="altColor">
|
||||
<tr id="i69" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCurrentMediaItemSeekable()">isCurrentMediaItemSeekable</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns whether the current <a href="MediaItem.html" title="class in com.google.android.exoplayer2"><code>MediaItem</code></a> is seekable, or <code>false</code> if the <a href="Timeline.html" title="class in com.google.android.exoplayer2"><code>Timeline</code></a> is empty.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i69" class="rowColor">
|
||||
<tr id="i70" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCurrentWindowDynamic()">isCurrentWindowDynamic</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -1485,7 +1492,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i70" class="altColor">
|
||||
<tr id="i71" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCurrentWindowLive()">isCurrentWindowLive</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -1494,7 +1501,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i71" class="rowColor">
|
||||
<tr id="i72" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCurrentWindowSeekable()">isCurrentWindowSeekable</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -1503,35 +1510,35 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i72" class="altColor">
|
||||
<tr id="i73" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isDeviceMuted()">isDeviceMuted</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Gets whether the device is muted or not.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i73" class="rowColor">
|
||||
<tr id="i74" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isLoading()">isLoading</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Whether the player is currently loading the source.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i74" class="altColor">
|
||||
<tr id="i75" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isPlaying()">isPlaying</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns whether the player is playing, i.e.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i75" class="rowColor">
|
||||
<tr id="i76" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isPlayingAd()">isPlayingAd</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns whether the player is currently playing an ad.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i76" class="altColor">
|
||||
<tr id="i77" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#moveMediaItem(int,int)">moveMediaItem</a></span>​(int currentIndex,
|
||||
int newIndex)</code></th>
|
||||
@ -1539,7 +1546,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<div class="block">Moves the media item at the current index to the new index.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i77" class="rowColor">
|
||||
<tr id="i78" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#moveMediaItems(int,int,int)">moveMediaItems</a></span>​(int fromIndex,
|
||||
int toIndex,
|
||||
@ -1548,7 +1555,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<div class="block">Moves the media item range to the new index.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i78" class="altColor">
|
||||
<tr id="i79" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#next()">next</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -1557,28 +1564,28 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i79" class="rowColor">
|
||||
<tr id="i80" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#pause()">pause</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Pauses playback.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i80" class="altColor">
|
||||
<tr id="i81" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#play()">play</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Resumes playback as soon as <a href="#getPlaybackState()"><code>getPlaybackState()</code></a> == <a href="#STATE_READY"><code>STATE_READY</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i81" class="rowColor">
|
||||
<tr id="i82" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#prepare()">prepare</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Prepares the player.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i82" class="altColor">
|
||||
<tr id="i83" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#previous()">previous</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -1587,28 +1594,28 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i83" class="rowColor">
|
||||
<tr id="i84" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#release()">release</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Releases the player.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i84" class="altColor">
|
||||
<tr id="i85" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeListener(com.google.android.exoplayer2.Player.Listener)">removeListener</a></span>​(<a href="Player.Listener.html" title="interface in com.google.android.exoplayer2">Player.Listener</a> listener)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Unregister a listener registered through <a href="#addListener(com.google.android.exoplayer2.Player.Listener)"><code>addListener(Listener)</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i85" class="rowColor">
|
||||
<tr id="i86" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeMediaItem(int)">removeMediaItem</a></span>​(int index)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Removes the media item at the given index of the playlist.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i86" class="altColor">
|
||||
<tr id="i87" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeMediaItems(int,int)">removeMediaItems</a></span>​(int fromIndex,
|
||||
int toIndex)</code></th>
|
||||
@ -1616,14 +1623,14 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<div class="block">Removes a range of media items from the playlist.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i87" class="rowColor">
|
||||
<tr id="i88" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekBack()">seekBack</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Seeks back in the current <a href="MediaItem.html" title="class in com.google.android.exoplayer2"><code>MediaItem</code></a> by <a href="#getSeekBackIncrement()"><code>getSeekBackIncrement()</code></a> milliseconds.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i88" class="altColor">
|
||||
<tr id="i89" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekForward()">seekForward</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -1631,7 +1638,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
milliseconds.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i89" class="rowColor">
|
||||
<tr id="i90" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekTo(int,long)">seekTo</a></span>​(int mediaItemIndex,
|
||||
long positionMs)</code></th>
|
||||
@ -1639,35 +1646,35 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<div class="block">Seeks to a position specified in milliseconds in the specified <a href="MediaItem.html" title="class in com.google.android.exoplayer2"><code>MediaItem</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i90" class="altColor">
|
||||
<tr id="i91" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekTo(long)">seekTo</a></span>​(long positionMs)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Seeks to a position specified in milliseconds in the current <a href="MediaItem.html" title="class in com.google.android.exoplayer2"><code>MediaItem</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i91" class="rowColor">
|
||||
<tr id="i92" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekToDefaultPosition()">seekToDefaultPosition</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Seeks to the default position associated with the current <a href="MediaItem.html" title="class in com.google.android.exoplayer2"><code>MediaItem</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i92" class="altColor">
|
||||
<tr id="i93" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekToDefaultPosition(int)">seekToDefaultPosition</a></span>​(int mediaItemIndex)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Seeks to the default position associated with the specified <a href="MediaItem.html" title="class in com.google.android.exoplayer2"><code>MediaItem</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i93" class="rowColor">
|
||||
<tr id="i94" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekToNext()">seekToNext</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Seeks to a later position in the current or next <a href="MediaItem.html" title="class in com.google.android.exoplayer2"><code>MediaItem</code></a> (if available).</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i94" class="altColor">
|
||||
<tr id="i95" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekToNextMediaItem()">seekToNextMediaItem</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -1675,7 +1682,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
repeat mode and whether shuffle mode is enabled.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i95" class="rowColor">
|
||||
<tr id="i96" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekToNextWindow()">seekToNextWindow</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -1684,14 +1691,14 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i96" class="altColor">
|
||||
<tr id="i97" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekToPrevious()">seekToPrevious</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Seeks to an earlier position in the current or previous <a href="MediaItem.html" title="class in com.google.android.exoplayer2"><code>MediaItem</code></a> (if available).</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i97" class="rowColor">
|
||||
<tr id="i98" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekToPreviousMediaItem()">seekToPreviousMediaItem</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -1699,7 +1706,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
current repeat mode and whether shuffle mode is enabled.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i98" class="altColor">
|
||||
<tr id="i99" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekToPreviousWindow()">seekToPreviousWindow</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -1708,21 +1715,21 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i99" class="rowColor">
|
||||
<tr id="i100" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDeviceMuted(boolean)">setDeviceMuted</a></span>​(boolean muted)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the mute state of the device.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i100" class="altColor">
|
||||
<tr id="i101" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDeviceVolume(int)">setDeviceVolume</a></span>​(int volume)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the volume of the device.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i101" class="rowColor">
|
||||
<tr id="i102" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaItem(com.google.android.exoplayer2.MediaItem)">setMediaItem</a></span>​(<a href="MediaItem.html" title="class in com.google.android.exoplayer2">MediaItem</a> mediaItem)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1730,7 +1737,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
default position.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i102" class="altColor">
|
||||
<tr id="i103" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaItem(com.google.android.exoplayer2.MediaItem,boolean)">setMediaItem</a></span>​(<a href="MediaItem.html" title="class in com.google.android.exoplayer2">MediaItem</a> mediaItem,
|
||||
boolean resetPosition)</code></th>
|
||||
@ -1738,7 +1745,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<div class="block">Clears the playlist and adds the specified <a href="MediaItem.html" title="class in com.google.android.exoplayer2"><code>MediaItem</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i103" class="rowColor">
|
||||
<tr id="i104" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaItem(com.google.android.exoplayer2.MediaItem,long)">setMediaItem</a></span>​(<a href="MediaItem.html" title="class in com.google.android.exoplayer2">MediaItem</a> mediaItem,
|
||||
long startPositionMs)</code></th>
|
||||
@ -1746,7 +1753,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<div class="block">Clears the playlist and adds the specified <a href="MediaItem.html" title="class in com.google.android.exoplayer2"><code>MediaItem</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i104" class="altColor">
|
||||
<tr id="i105" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaItems(java.util.List)">setMediaItems</a></span>​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="MediaItem.html" title="class in com.google.android.exoplayer2" target="_top">MediaItem</a>> mediaItems)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1754,7 +1761,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
the default position.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i105" class="rowColor">
|
||||
<tr id="i106" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaItems(java.util.List,boolean)">setMediaItems</a></span>​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="MediaItem.html" title="class in com.google.android.exoplayer2" target="_top">MediaItem</a>> mediaItems,
|
||||
boolean resetPosition)</code></th>
|
||||
@ -1762,7 +1769,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<div class="block">Clears the playlist and adds the specified <a href="MediaItem.html" title="class in com.google.android.exoplayer2"><code>MediaItems</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i106" class="altColor">
|
||||
<tr id="i107" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaItems(java.util.List,int,long)">setMediaItems</a></span>​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="MediaItem.html" title="class in com.google.android.exoplayer2" target="_top">MediaItem</a>> mediaItems,
|
||||
int startIndex,
|
||||
@ -1771,63 +1778,63 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<div class="block">Clears the playlist and adds the specified <a href="MediaItem.html" title="class in com.google.android.exoplayer2"><code>MediaItems</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i107" class="rowColor">
|
||||
<tr id="i108" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlaybackParameters(com.google.android.exoplayer2.PlaybackParameters)">setPlaybackParameters</a></span>​(<a href="PlaybackParameters.html" title="class in com.google.android.exoplayer2">PlaybackParameters</a> playbackParameters)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Attempts to set the playback parameters.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i108" class="altColor">
|
||||
<tr id="i109" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlaybackSpeed(float)">setPlaybackSpeed</a></span>​(float speed)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Changes the rate at which playback occurs.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i109" class="rowColor">
|
||||
<tr id="i110" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlaylistMetadata(com.google.android.exoplayer2.MediaMetadata)">setPlaylistMetadata</a></span>​(<a href="MediaMetadata.html" title="class in com.google.android.exoplayer2">MediaMetadata</a> mediaMetadata)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the playlist <a href="MediaMetadata.html" title="class in com.google.android.exoplayer2"><code>MediaMetadata</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i110" class="altColor">
|
||||
<tr id="i111" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlayWhenReady(boolean)">setPlayWhenReady</a></span>​(boolean playWhenReady)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets whether playback should proceed when <a href="#getPlaybackState()"><code>getPlaybackState()</code></a> == <a href="#STATE_READY"><code>STATE_READY</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i111" class="rowColor">
|
||||
<tr id="i112" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRepeatMode(@com.google.android.exoplayer2.Player.RepeatModeint)">setRepeatMode</a></span>​(@com.google.android.exoplayer2.Player.RepeatMode int repeatMode)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the <a href="Player.RepeatMode.html" title="annotation in com.google.android.exoplayer2"><code>Player.RepeatMode</code></a> to be used for playback.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i112" class="altColor">
|
||||
<tr id="i113" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setShuffleModeEnabled(boolean)">setShuffleModeEnabled</a></span>​(boolean shuffleModeEnabled)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets whether shuffling of media items is enabled.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i113" class="rowColor">
|
||||
<tr id="i114" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTrackSelectionParameters(com.google.android.exoplayer2.trackselection.TrackSelectionParameters)">setTrackSelectionParameters</a></span>​(<a href="trackselection/TrackSelectionParameters.html" title="class in com.google.android.exoplayer2.trackselection">TrackSelectionParameters</a> parameters)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the parameters constraining the track selection.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i114" class="altColor">
|
||||
<tr id="i115" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoSurface(android.view.Surface)">setVideoSurface</a></span>​(<a href="https://developer.android.com/reference/android/view/Surface.html" title="class or interface in android.view" class="externalLink" target="_top">Surface</a> surface)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the <a href="https://developer.android.com/reference/android/view/Surface.html" title="class or interface in android.view" class="externalLink" target="_top"><code>Surface</code></a> onto which video will be rendered.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i115" class="rowColor">
|
||||
<tr id="i116" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoSurfaceHolder(android.view.SurfaceHolder)">setVideoSurfaceHolder</a></span>​(<a href="https://developer.android.com/reference/android/view/SurfaceHolder.html" title="class or interface in android.view" class="externalLink" target="_top">SurfaceHolder</a> surfaceHolder)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1835,21 +1842,21 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
rendered.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i116" class="altColor">
|
||||
<tr id="i117" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoSurfaceView(android.view.SurfaceView)">setVideoSurfaceView</a></span>​(<a href="https://developer.android.com/reference/android/view/SurfaceView.html" title="class or interface in android.view" class="externalLink" target="_top">SurfaceView</a> surfaceView)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the <a href="https://developer.android.com/reference/android/view/SurfaceView.html" title="class or interface in android.view" class="externalLink" target="_top"><code>SurfaceView</code></a> onto which video will be rendered.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i117" class="rowColor">
|
||||
<tr id="i118" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoTextureView(android.view.TextureView)">setVideoTextureView</a></span>​(<a href="https://developer.android.com/reference/android/view/TextureView.html" title="class or interface in android.view" class="externalLink" target="_top">TextureView</a> textureView)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the <a href="https://developer.android.com/reference/android/view/TextureView.html" title="class or interface in android.view" class="externalLink" target="_top"><code>TextureView</code></a> onto which video will be rendered.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i118" class="altColor">
|
||||
<tr id="i119" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVolume(float)">setVolume</a></span>​(float volume)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1857,14 +1864,14 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
unchanged), inclusive.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i119" class="rowColor">
|
||||
<tr id="i120" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stop()">stop</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Stops playback without resetting the playlist.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i120" class="altColor">
|
||||
<tr id="i121" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stop(boolean)">stop</a></span>​(boolean reset)</code></th>
|
||||
<td class="colLast">
|
||||
@ -4933,6 +4940,20 @@ float getVolume()</pre>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getSurfaceSize()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getSurfaceSize</h4>
|
||||
<pre class="methodSignature"><a href="util/Size.html" title="class in com.google.android.exoplayer2.util">Size</a> getSurfaceSize()</pre>
|
||||
<div class="block">Gets the size of the surface on which the video is rendered.</div>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="Player.Listener.html#onSurfaceSizeChanged(int,int)"><code>Player.Listener.onSurfaceSizeChanged(int, int)</code></a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getCurrentCues()">
|
||||
<!-- -->
|
||||
</a>
|
||||
|
@ -452,7 +452,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setType</h4>
|
||||
<pre class="methodSignature">public <a href="PlayerMessage.html" title="class in com.google.android.exoplayer2">PlayerMessage</a> setType​(int messageType)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="PlayerMessage.html" title="class in com.google.android.exoplayer2">PlayerMessage</a> setType​(int messageType)</pre>
|
||||
<div class="block">Sets the message type forwarded to <a href="PlayerMessage.Target.html#handleMessage(@com.google.android.exoplayer2.Renderer.MessageTypeint,java.lang.Object)"><code>PlayerMessage.Target.handleMessage(int, Object)</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -480,7 +481,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPayload</h4>
|
||||
<pre class="methodSignature">public <a href="PlayerMessage.html" title="class in com.google.android.exoplayer2">PlayerMessage</a> setPayload​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="PlayerMessage.html" title="class in com.google.android.exoplayer2">PlayerMessage</a> setPayload​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a> payload)</pre>
|
||||
<div class="block">Sets the message payload forwarded to <a href="PlayerMessage.Target.html#handleMessage(@com.google.android.exoplayer2.Renderer.MessageTypeint,java.lang.Object)"><code>PlayerMessage.Target.handleMessage(int, Object)</code></a>.</div>
|
||||
<dl>
|
||||
@ -510,7 +512,8 @@ public <a href="https://developer.android.com/reference/java/lang/Object.ht
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setHandler</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="PlayerMessage.html" title="class in com.google.android.exoplayer2">PlayerMessage</a> setHandler​(<a href="https://developer.android.com/reference/android/os/Handler.html" title="class or interface in android.os" class="externalLink" target="_top">Handler</a> handler)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="#setLooper(android.os.Looper)"><code>setLooper(Looper)</code></a> instead.</div>
|
||||
@ -523,7 +526,8 @@ public <a href="PlayerMessage.html" title="class in com.google.android.exop
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLooper</h4>
|
||||
<pre class="methodSignature">public <a href="PlayerMessage.html" title="class in com.google.android.exoplayer2">PlayerMessage</a> setLooper​(<a href="https://developer.android.com/reference/android/os/Looper.html" title="class or interface in android.os" class="externalLink" target="_top">Looper</a> looper)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="PlayerMessage.html" title="class in com.google.android.exoplayer2">PlayerMessage</a> setLooper​(<a href="https://developer.android.com/reference/android/os/Looper.html" title="class or interface in android.os" class="externalLink" target="_top">Looper</a> looper)</pre>
|
||||
<div class="block">Sets the <a href="https://developer.android.com/reference/android/os/Looper.html" title="class or interface in android.os" class="externalLink" target="_top"><code>Looper</code></a> the message is delivered on.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -564,7 +568,8 @@ public <a href="PlayerMessage.html" title="class in com.google.android.exop
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPosition</h4>
|
||||
<pre class="methodSignature">public <a href="PlayerMessage.html" title="class in com.google.android.exoplayer2">PlayerMessage</a> setPosition​(long positionMs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="PlayerMessage.html" title="class in com.google.android.exoplayer2">PlayerMessage</a> setPosition​(long positionMs)</pre>
|
||||
<div class="block">Sets a position in the current media item at which the message will be delivered.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -584,7 +589,8 @@ public <a href="PlayerMessage.html" title="class in com.google.android.exop
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPosition</h4>
|
||||
<pre class="methodSignature">public <a href="PlayerMessage.html" title="class in com.google.android.exoplayer2">PlayerMessage</a> setPosition​(int mediaItemIndex,
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="PlayerMessage.html" title="class in com.google.android.exoplayer2">PlayerMessage</a> setPosition​(int mediaItemIndex,
|
||||
long positionMs)</pre>
|
||||
<div class="block">Sets a position in a media item at which the message will be delivered.</div>
|
||||
<dl>
|
||||
@ -618,7 +624,8 @@ public <a href="PlayerMessage.html" title="class in com.google.android.exop
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDeleteAfterDelivery</h4>
|
||||
<pre class="methodSignature">public <a href="PlayerMessage.html" title="class in com.google.android.exoplayer2">PlayerMessage</a> setDeleteAfterDelivery​(boolean deleteAfterDelivery)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="PlayerMessage.html" title="class in com.google.android.exoplayer2">PlayerMessage</a> setDeleteAfterDelivery​(boolean deleteAfterDelivery)</pre>
|
||||
<div class="block">Sets whether the message will be deleted after delivery. If false, the message will be resent
|
||||
if playback reaches the specified position again. Only allowed to be false if a position is set
|
||||
with <a href="#setPosition(long)"><code>setPosition(long)</code></a>.</div>
|
||||
@ -648,7 +655,8 @@ public <a href="PlayerMessage.html" title="class in com.google.android.exop
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>send</h4>
|
||||
<pre class="methodSignature">public <a href="PlayerMessage.html" title="class in com.google.android.exoplayer2">PlayerMessage</a> send()</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="PlayerMessage.html" title="class in com.google.android.exoplayer2">PlayerMessage</a> send()</pre>
|
||||
<div class="block">Sends the message. If the target throws an <a href="ExoPlaybackException.html" title="class in com.google.android.exoplayer2"><code>ExoPlaybackException</code></a> then it is propagated
|
||||
out of the player as an error using <a href="Player.Listener.html#onPlayerError(com.google.android.exoplayer2.PlaybackException)"><code>Player.Listener.onPlayerError(PlaybackException)</code></a>.</div>
|
||||
<dl>
|
||||
@ -665,7 +673,8 @@ public <a href="PlayerMessage.html" title="class in com.google.android.exop
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>cancel</h4>
|
||||
<pre class="methodSignature">public <a href="PlayerMessage.html" title="class in com.google.android.exoplayer2">PlayerMessage</a> cancel()</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="PlayerMessage.html" title="class in com.google.android.exoplayer2">PlayerMessage</a> cancel()</pre>
|
||||
<div class="block">Cancels the message delivery.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
|
@ -244,41 +244,48 @@ extends <a href="PlayerMessage.Target.html" title="interface in com.google.andro
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MSG_SET_PREFERRED_AUDIO_DEVICE">MSG_SET_PREFERRED_AUDIO_DEVICE</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The type of a message that can be passed to audio renderers via <a href="ExoPlayer.html#createMessage(com.google.android.exoplayer2.PlayerMessage.Target)"><code>ExoPlayer.createMessage(PlayerMessage.Target)</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MSG_SET_SCALING_MODE">MSG_SET_SCALING_MODE</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The type of a message that can be passed to a <a href="https://developer.android.com/reference/android/media/MediaCodec.html" title="class or interface in android.media" class="externalLink" target="_top"><code>MediaCodec</code></a>-based video renderer via
|
||||
<a href="ExoPlayer.html#createMessage(com.google.android.exoplayer2.PlayerMessage.Target)"><code>ExoPlayer.createMessage(PlayerMessage.Target)</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MSG_SET_SKIP_SILENCE_ENABLED">MSG_SET_SKIP_SILENCE_ENABLED</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The type of a message that can be passed to an audio renderer via <a href="ExoPlayer.html#createMessage(com.google.android.exoplayer2.PlayerMessage.Target)"><code>ExoPlayer.createMessage(PlayerMessage.Target)</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MSG_SET_VIDEO_FRAME_METADATA_LISTENER">MSG_SET_VIDEO_FRAME_METADATA_LISTENER</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The type of a message that can be passed to a video renderer via <a href="ExoPlayer.html#createMessage(com.google.android.exoplayer2.PlayerMessage.Target)"><code>ExoPlayer.createMessage(PlayerMessage.Target)</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MSG_SET_VIDEO_OUTPUT">MSG_SET_VIDEO_OUTPUT</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The type of a message that can be passed to a video renderer via <a href="ExoPlayer.html#createMessage(com.google.android.exoplayer2.PlayerMessage.Target)"><code>ExoPlayer.createMessage(PlayerMessage.Target)</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MSG_SET_VOLUME">MSG_SET_VOLUME</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">A type of a message that can be passed to an audio renderer via <a href="ExoPlayer.html#createMessage(com.google.android.exoplayer2.PlayerMessage.Target)"><code>ExoPlayer.createMessage(PlayerMessage.Target)</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MSG_SET_WAKEUP_LISTENER">MSG_SET_WAKEUP_LISTENER</a></span></code></th>
|
||||
<td class="colLast">
|
||||
@ -286,21 +293,21 @@ extends <a href="PlayerMessage.Target.html" title="interface in com.google.andro
|
||||
waking up another component.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#STATE_DISABLED">STATE_DISABLED</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The renderer is disabled.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#STATE_ENABLED">STATE_ENABLED</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The renderer is enabled but not started.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#STATE_STARTED">STATE_STARTED</a></span></code></th>
|
||||
<td class="colLast">
|
||||
@ -712,6 +719,21 @@ extends <a href="PlayerMessage.Target.html" title="interface in com.google.andro
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="MSG_SET_PREFERRED_AUDIO_DEVICE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>MSG_SET_PREFERRED_AUDIO_DEVICE</h4>
|
||||
<pre>static final int MSG_SET_PREFERRED_AUDIO_DEVICE</pre>
|
||||
<div class="block">The type of a message that can be passed to audio renderers via <a href="ExoPlayer.html#createMessage(com.google.android.exoplayer2.PlayerMessage.Target)"><code>ExoPlayer.createMessage(PlayerMessage.Target)</code></a>. The message payload should be an <a href="https://developer.android.com/reference/android/media/AudioDeviceInfo.html" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioDeviceInfo</code></a> instance representing the preferred audio device, or null to
|
||||
restore the default.</div>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../constant-values.html#com.google.android.exoplayer2.Renderer.MSG_SET_PREFERRED_AUDIO_DEVICE">Constant Field Values</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="MSG_CUSTOM_BASE">
|
||||
<!-- -->
|
||||
</a>
|
||||
|
@ -117,7 +117,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<a href="https://developer.android.com/reference/java/lang/annotation/Retention.html" title="class or interface in java.lang.annotation" class="externalLink">@Retention</a>(<a href="https://developer.android.com/reference/java/lang/annotation/RetentionPolicy.html?is-external=true#SOURCE" title="class or interface in java.lang.annotation" class="externalLink" target="_top">SOURCE</a>)
|
||||
<a href="https://developer.android.com/reference/java/lang/annotation/Target.html" title="class or interface in java.lang.annotation" class="externalLink">@Target</a>(<a href="https://developer.android.com/reference/java/lang/annotation/ElementType.html?is-external=true#TYPE_USE" title="class or interface in java.lang.annotation" class="externalLink" target="_top">TYPE_USE</a>)
|
||||
public static @interface <span class="memberNameLabel">RendererCapabilities.DecoderSupport</span></pre>
|
||||
<div class="block">Level of decoder support. One of <a href="RendererCapabilities.html#DECODER_SUPPORT_PRIMARY"><code>RendererCapabilities.DECODER_SUPPORT_PRIMARY</code></a> and <a href="RendererCapabilities.html#DECODER_SUPPORT_FALLBACK"><code>RendererCapabilities.DECODER_SUPPORT_FALLBACK</code></a>.
|
||||
<div class="block">Level of decoder support. One of <a href="RendererCapabilities.html#DECODER_SUPPORT_FALLBACK_MIMETYPE"><code>RendererCapabilities.DECODER_SUPPORT_FALLBACK_MIMETYPE</code></a>, <a href="RendererCapabilities.html#DECODER_SUPPORT_FALLBACK"><code>RendererCapabilities.DECODER_SUPPORT_FALLBACK</code></a>, and <a href="RendererCapabilities.html#DECODER_SUPPORT_PRIMARY"><code>RendererCapabilities.DECODER_SUPPORT_PRIMARY</code></a>.
|
||||
|
||||
<p>For video renderers, the level of support is indicated for non-tunneled output.</div>
|
||||
</li>
|
||||
|
@ -247,12 +247,20 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DECODER_SUPPORT_FALLBACK_MIMETYPE">DECODER_SUPPORT_FALLBACK_MIMETYPE</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The renderer will use a decoder for fallback mimetype if possible as format's MIME type is
|
||||
unsupported</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DECODER_SUPPORT_PRIMARY">DECODER_SUPPORT_PRIMARY</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The renderer is able to use the primary decoder for the format's MIME type.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FORMAT_EXCEEDS_CAPABILITIES">FORMAT_EXCEEDS_CAPABILITIES</a></span></code></th>
|
||||
<td class="colLast">
|
||||
@ -261,7 +269,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FORMAT_HANDLED">FORMAT_HANDLED</a></span></code></th>
|
||||
<td class="colLast">
|
||||
@ -270,14 +278,14 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FORMAT_SUPPORT_MASK">FORMAT_SUPPORT_MASK</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">A mask to apply to <a href="RendererCapabilities.Capabilities.html" title="annotation in com.google.android.exoplayer2"><code>RendererCapabilities.Capabilities</code></a> to obtain the <a href="C.FormatSupport.html" title="annotation in com.google.android.exoplayer2"><code>C.FormatSupport</code></a> only.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FORMAT_UNSUPPORTED_DRM">FORMAT_UNSUPPORTED_DRM</a></span></code></th>
|
||||
<td class="colLast">
|
||||
@ -286,7 +294,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FORMAT_UNSUPPORTED_SUBTYPE">FORMAT_UNSUPPORTED_SUBTYPE</a></span></code></th>
|
||||
<td class="colLast">
|
||||
@ -295,7 +303,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FORMAT_UNSUPPORTED_TYPE">FORMAT_UNSUPPORTED_TYPE</a></span></code></th>
|
||||
<td class="colLast">
|
||||
@ -304,49 +312,49 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#HARDWARE_ACCELERATION_NOT_SUPPORTED">HARDWARE_ACCELERATION_NOT_SUPPORTED</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The renderer is not able to use hardware acceleration.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#HARDWARE_ACCELERATION_SUPPORT_MASK">HARDWARE_ACCELERATION_SUPPORT_MASK</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">A mask to apply to <a href="RendererCapabilities.Capabilities.html" title="annotation in com.google.android.exoplayer2"><code>RendererCapabilities.Capabilities</code></a> to obtain <a href="RendererCapabilities.HardwareAccelerationSupport.html" title="annotation in com.google.android.exoplayer2"><code>RendererCapabilities.HardwareAccelerationSupport</code></a> only.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#HARDWARE_ACCELERATION_SUPPORTED">HARDWARE_ACCELERATION_SUPPORTED</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The renderer is able to use hardware acceleration.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MODE_SUPPORT_MASK">MODE_SUPPORT_MASK</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">A mask to apply to <a href="RendererCapabilities.Capabilities.html" title="annotation in com.google.android.exoplayer2"><code>RendererCapabilities.Capabilities</code></a> to obtain <a href="RendererCapabilities.DecoderSupport.html" title="annotation in com.google.android.exoplayer2"><code>RendererCapabilities.DecoderSupport</code></a> only.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#TUNNELING_NOT_SUPPORTED">TUNNELING_NOT_SUPPORTED</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The <a href="Renderer.html" title="interface in com.google.android.exoplayer2"><code>Renderer</code></a> does not support tunneled output.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#TUNNELING_SUPPORT_MASK">TUNNELING_SUPPORT_MASK</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">A mask to apply to <a href="RendererCapabilities.Capabilities.html" title="annotation in com.google.android.exoplayer2"><code>RendererCapabilities.Capabilities</code></a> to obtain <a href="RendererCapabilities.TunnelingSupport.html" title="annotation in com.google.android.exoplayer2"><code>RendererCapabilities.TunnelingSupport</code></a> only.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#TUNNELING_SUPPORTED">TUNNELING_SUPPORTED</a></span></code></th>
|
||||
<td class="colLast">
|
||||
@ -733,6 +741,21 @@ static final int FORMAT_UNSUPPORTED_TYPE</pre>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="DECODER_SUPPORT_FALLBACK_MIMETYPE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>DECODER_SUPPORT_FALLBACK_MIMETYPE</h4>
|
||||
<pre>static final int DECODER_SUPPORT_FALLBACK_MIMETYPE</pre>
|
||||
<div class="block">The renderer will use a decoder for fallback mimetype if possible as format's MIME type is
|
||||
unsupported</div>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../constant-values.html#com.google.android.exoplayer2.RendererCapabilities.DECODER_SUPPORT_FALLBACK_MIMETYPE">Constant Field Values</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="DECODER_SUPPORT_PRIMARY">
|
||||
<!-- -->
|
||||
</a>
|
||||
|
@ -0,0 +1,366 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>SimpleBasePlayer.State.Builder (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="SimpleBasePlayer.State.Builder (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":10,"i1":10,"i2":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2</a></div>
|
||||
<h2 title="Class SimpleBasePlayer.State.Builder" class="title">Class SimpleBasePlayer.State.Builder</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.google.android.exoplayer2.SimpleBasePlayer.State.Builder</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="SimpleBasePlayer.State.html" title="class in com.google.android.exoplayer2">SimpleBasePlayer.State</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public static final class <span class="typeNameLabel">SimpleBasePlayer.State.Builder</span>
|
||||
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></pre>
|
||||
<div class="block">A builder for <a href="SimpleBasePlayer.State.html" title="class in com.google.android.exoplayer2"><code>SimpleBasePlayer.State</code></a> objects.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Constructor</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">Builder</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Creates the builder.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="SimpleBasePlayer.State.html" title="class in com.google.android.exoplayer2">SimpleBasePlayer.State</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#build()">build</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Builds the <a href="SimpleBasePlayer.State.html" title="class in com.google.android.exoplayer2"><code>SimpleBasePlayer.State</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="SimpleBasePlayer.State.Builder.html" title="class in com.google.android.exoplayer2">SimpleBasePlayer.State.Builder</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAvailableCommands(com.google.android.exoplayer2.Player.Commands)">setAvailableCommands</a></span>​(<a href="Player.Commands.html" title="class in com.google.android.exoplayer2">Player.Commands</a> availableCommands)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the available <a href="Player.Commands.html" title="class in com.google.android.exoplayer2"><code>Player.Commands</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="SimpleBasePlayer.State.Builder.html" title="class in com.google.android.exoplayer2">SimpleBasePlayer.State.Builder</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlayWhenReady(boolean,@com.google.android.exoplayer2.Player.PlayWhenReadyChangeReasonint)">setPlayWhenReady</a></span>​(boolean playWhenReady,
|
||||
@com.google.android.exoplayer2.Player.PlayWhenReadyChangeReason int playWhenReadyChangeReason)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets whether playback should proceed when ready and not suppressed.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
|
||||
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a id="<init>()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Builder</h4>
|
||||
<pre>public Builder()</pre>
|
||||
<div class="block">Creates the builder.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="setAvailableCommands(com.google.android.exoplayer2.Player.Commands)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAvailableCommands</h4>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="SimpleBasePlayer.State.Builder.html" title="class in com.google.android.exoplayer2">SimpleBasePlayer.State.Builder</a> setAvailableCommands​(<a href="Player.Commands.html" title="class in com.google.android.exoplayer2">Player.Commands</a> availableCommands)</pre>
|
||||
<div class="block">Sets the available <a href="Player.Commands.html" title="class in com.google.android.exoplayer2"><code>Player.Commands</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>availableCommands</code> - The available <a href="Player.Commands.html" title="class in com.google.android.exoplayer2"><code>Player.Commands</code></a>.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>This builder.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setPlayWhenReady(boolean,@com.google.android.exoplayer2.Player.PlayWhenReadyChangeReasonint)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPlayWhenReady</h4>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="SimpleBasePlayer.State.Builder.html" title="class in com.google.android.exoplayer2">SimpleBasePlayer.State.Builder</a> setPlayWhenReady​(boolean playWhenReady,
|
||||
<a href="Player.PlayWhenReadyChangeReason.html" title="annotation in com.google.android.exoplayer2">@PlayWhenReadyChangeReason</a>
|
||||
@com.google.android.exoplayer2.Player.PlayWhenReadyChangeReason int playWhenReadyChangeReason)</pre>
|
||||
<div class="block">Sets whether playback should proceed when ready and not suppressed.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>playWhenReady</code> - Whether playback should proceed when ready and not suppressed.</dd>
|
||||
<dd><code>playWhenReadyChangeReason</code> - The <a href="Player.PlayWhenReadyChangeReason.html" title="annotation in com.google.android.exoplayer2">reason</a> for
|
||||
changing the value.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>This builder.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="build()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>build</h4>
|
||||
<pre class="methodSignature">public <a href="SimpleBasePlayer.State.html" title="class in com.google.android.exoplayer2">SimpleBasePlayer.State</a> build()</pre>
|
||||
<div class="block">Builds the <a href="SimpleBasePlayer.State.html" title="class in com.google.android.exoplayer2"><code>SimpleBasePlayer.State</code></a>.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,412 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>SimpleBasePlayer.State (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="SimpleBasePlayer.State (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":10,"i1":10,"i2":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2</a></div>
|
||||
<h2 title="Class SimpleBasePlayer.State" class="title">Class SimpleBasePlayer.State</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.google.android.exoplayer2.SimpleBasePlayer.State</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="SimpleBasePlayer.html" title="class in com.google.android.exoplayer2">SimpleBasePlayer</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>protected static final class <span class="typeNameLabel">SimpleBasePlayer.State</span>
|
||||
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></pre>
|
||||
<div class="block">An immutable state description of the player.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="nested.class.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Class</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SimpleBasePlayer.State.Builder.html" title="class in com.google.android.exoplayer2">SimpleBasePlayer.State.Builder</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">A builder for <a href="SimpleBasePlayer.State.html" title="class in com.google.android.exoplayer2"><code>SimpleBasePlayer.State</code></a> objects.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Field</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="Player.Commands.html" title="class in com.google.android.exoplayer2">Player.Commands</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#availableCommands">availableCommands</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The available <a href="Player.Commands.html" title="class in com.google.android.exoplayer2"><code>Player.Commands</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#playWhenReady">playWhenReady</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Whether playback should proceed when ready and not suppressed.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>@com.google.android.exoplayer2.Player.PlayWhenReadyChangeReason int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#playWhenReadyChangeReason">playWhenReadyChangeReason</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The last reason for changing <a href="#playWhenReady"><code>playWhenReady</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="SimpleBasePlayer.State.Builder.html" title="class in com.google.android.exoplayer2">SimpleBasePlayer.State.Builder</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#buildUpon()">buildUpon</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns a <a href="SimpleBasePlayer.State.Builder.html" title="class in com.google.android.exoplayer2"><code>SimpleBasePlayer.State.Builder</code></a> pre-populated with the current state values.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#equals(java.lang.Object)">equals</a></span>​(<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a> o)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hashCode()">hashCode</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
|
||||
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="field.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Detail</h3>
|
||||
<a id="availableCommands">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>availableCommands</h4>
|
||||
<pre>public final <a href="Player.Commands.html" title="class in com.google.android.exoplayer2">Player.Commands</a> availableCommands</pre>
|
||||
<div class="block">The available <a href="Player.Commands.html" title="class in com.google.android.exoplayer2"><code>Player.Commands</code></a>.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="playWhenReady">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>playWhenReady</h4>
|
||||
<pre>public final boolean playWhenReady</pre>
|
||||
<div class="block">Whether playback should proceed when ready and not suppressed.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="playWhenReadyChangeReason">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>playWhenReadyChangeReason</h4>
|
||||
<pre><a href="Player.PlayWhenReadyChangeReason.html" title="annotation in com.google.android.exoplayer2">@PlayWhenReadyChangeReason</a>
|
||||
public final @com.google.android.exoplayer2.Player.PlayWhenReadyChangeReason int playWhenReadyChangeReason</pre>
|
||||
<div class="block">The last reason for changing <a href="#playWhenReady"><code>playWhenReady</code></a>.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="buildUpon()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>buildUpon</h4>
|
||||
<pre class="methodSignature">public <a href="SimpleBasePlayer.State.Builder.html" title="class in com.google.android.exoplayer2">SimpleBasePlayer.State.Builder</a> buildUpon()</pre>
|
||||
<div class="block">Returns a <a href="SimpleBasePlayer.State.Builder.html" title="class in com.google.android.exoplayer2"><code>SimpleBasePlayer.State.Builder</code></a> pre-populated with the current state values.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="equals(java.lang.Object)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>equals</h4>
|
||||
<pre class="methodSignature">public boolean equals​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a> o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="https://developer.android.com/reference/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a></code> in class <code><a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="hashCode()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre class="methodSignature">public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="https://developer.android.com/reference/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a></code> in class <code><a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
@ -567,7 +567,8 @@ public Builder​(<a href="https://developer.android.com/reference/andr
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>experimentalSetForegroundModeTimeoutMs</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> experimentalSetForegroundModeTimeoutMs​(long timeoutMs)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="ExoPlayer.Builder.html#experimentalSetForegroundModeTimeoutMs(long)"><code>ExoPlayer.Builder.experimentalSetForegroundModeTimeoutMs(long)</code></a>
|
||||
@ -581,7 +582,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setTrackSelector</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setTrackSelector​(<a href="trackselection/TrackSelector.html" title="class in com.google.android.exoplayer2.trackselection">TrackSelector</a> trackSelector)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="ExoPlayer.Builder.html#setTrackSelector(com.google.android.exoplayer2.trackselection.TrackSelector)"><code>ExoPlayer.Builder.setTrackSelector(TrackSelector)</code></a> instead.</div>
|
||||
@ -594,7 +596,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMediaSourceFactory</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setMediaSourceFactory​(<a href="source/MediaSource.Factory.html" title="interface in com.google.android.exoplayer2.source">MediaSource.Factory</a> mediaSourceFactory)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="ExoPlayer.Builder.html#setMediaSourceFactory(com.google.android.exoplayer2.source.MediaSource.Factory)"><code>ExoPlayer.Builder.setMediaSourceFactory(MediaSource.Factory)</code></a> instead.</div>
|
||||
@ -607,7 +610,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLoadControl</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setLoadControl​(<a href="LoadControl.html" title="interface in com.google.android.exoplayer2">LoadControl</a> loadControl)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="ExoPlayer.Builder.html#setLoadControl(com.google.android.exoplayer2.LoadControl)"><code>ExoPlayer.Builder.setLoadControl(LoadControl)</code></a> instead.</div>
|
||||
@ -620,7 +624,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setBandwidthMeter</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setBandwidthMeter​(<a href="upstream/BandwidthMeter.html" title="interface in com.google.android.exoplayer2.upstream">BandwidthMeter</a> bandwidthMeter)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="ExoPlayer.Builder.html#setBandwidthMeter(com.google.android.exoplayer2.upstream.BandwidthMeter)"><code>ExoPlayer.Builder.setBandwidthMeter(BandwidthMeter)</code></a> instead.</div>
|
||||
@ -633,7 +638,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLooper</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setLooper​(<a href="https://developer.android.com/reference/android/os/Looper.html" title="class or interface in android.os" class="externalLink" target="_top">Looper</a> looper)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="ExoPlayer.Builder.html#setLooper(android.os.Looper)"><code>ExoPlayer.Builder.setLooper(Looper)</code></a> instead.</div>
|
||||
@ -646,7 +652,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAnalyticsCollector</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setAnalyticsCollector​(<a href="analytics/AnalyticsCollector.html" title="interface in com.google.android.exoplayer2.analytics">AnalyticsCollector</a> analyticsCollector)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="ExoPlayer.Builder.html#setAnalyticsCollector(com.google.android.exoplayer2.analytics.AnalyticsCollector)"><code>ExoPlayer.Builder.setAnalyticsCollector(AnalyticsCollector)</code></a> instead.</div>
|
||||
@ -659,7 +666,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPriorityTaskManager</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setPriorityTaskManager​(@Nullable
|
||||
<a href="util/PriorityTaskManager.html" title="class in com.google.android.exoplayer2.util">PriorityTaskManager</a> priorityTaskManager)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
@ -674,7 +682,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAudioAttributes</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setAudioAttributes​(<a href="audio/AudioAttributes.html" title="class in com.google.android.exoplayer2.audio">AudioAttributes</a> audioAttributes,
|
||||
boolean handleAudioFocus)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
@ -689,7 +698,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setWakeMode</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setWakeMode​(<a href="C.WakeMode.html" title="annotation in com.google.android.exoplayer2">@WakeMode</a>
|
||||
@com.google.android.exoplayer2.C.WakeMode int wakeMode)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
@ -703,7 +713,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setHandleAudioBecomingNoisy</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setHandleAudioBecomingNoisy​(boolean handleAudioBecomingNoisy)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="ExoPlayer.Builder.html#setHandleAudioBecomingNoisy(boolean)"><code>ExoPlayer.Builder.setHandleAudioBecomingNoisy(boolean)</code></a> instead.</div>
|
||||
@ -716,7 +727,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSkipSilenceEnabled</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setSkipSilenceEnabled​(boolean skipSilenceEnabled)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="ExoPlayer.Builder.html#setSkipSilenceEnabled(boolean)"><code>ExoPlayer.Builder.setSkipSilenceEnabled(boolean)</code></a> instead.</div>
|
||||
@ -729,7 +741,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setVideoScalingMode</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setVideoScalingMode​(<a href="C.VideoScalingMode.html" title="annotation in com.google.android.exoplayer2">@VideoScalingMode</a>
|
||||
@com.google.android.exoplayer2.C.VideoScalingMode int videoScalingMode)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
@ -743,7 +756,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setVideoChangeFrameRateStrategy</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setVideoChangeFrameRateStrategy​(<a href="C.VideoChangeFrameRateStrategy.html" title="annotation in com.google.android.exoplayer2">@VideoChangeFrameRateStrategy</a>
|
||||
@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int videoChangeFrameRateStrategy)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
@ -757,7 +771,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setUseLazyPreparation</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setUseLazyPreparation​(boolean useLazyPreparation)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="ExoPlayer.Builder.html#setUseLazyPreparation(boolean)"><code>ExoPlayer.Builder.setUseLazyPreparation(boolean)</code></a> instead.</div>
|
||||
@ -770,7 +785,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSeekParameters</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setSeekParameters​(<a href="SeekParameters.html" title="class in com.google.android.exoplayer2">SeekParameters</a> seekParameters)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="ExoPlayer.Builder.html#setSeekParameters(com.google.android.exoplayer2.SeekParameters)"><code>ExoPlayer.Builder.setSeekParameters(SeekParameters)</code></a> instead.</div>
|
||||
@ -783,7 +799,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSeekBackIncrementMs</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setSeekBackIncrementMs​(@IntRange(from=1L)
|
||||
long seekBackIncrementMs)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
@ -797,7 +814,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSeekForwardIncrementMs</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setSeekForwardIncrementMs​(@IntRange(from=1L)
|
||||
long seekForwardIncrementMs)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
@ -811,7 +829,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setReleaseTimeoutMs</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setReleaseTimeoutMs​(long releaseTimeoutMs)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="ExoPlayer.Builder.html#setReleaseTimeoutMs(long)"><code>ExoPlayer.Builder.setReleaseTimeoutMs(long)</code></a> instead.</div>
|
||||
@ -824,7 +843,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDetachSurfaceTimeoutMs</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setDetachSurfaceTimeoutMs​(long detachSurfaceTimeoutMs)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="ExoPlayer.Builder.html#setDetachSurfaceTimeoutMs(long)"><code>ExoPlayer.Builder.setDetachSurfaceTimeoutMs(long)</code></a> instead.</div>
|
||||
@ -837,7 +857,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPauseAtEndOfMediaItems</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setPauseAtEndOfMediaItems​(boolean pauseAtEndOfMediaItems)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="ExoPlayer.Builder.html#setPauseAtEndOfMediaItems(boolean)"><code>ExoPlayer.Builder.setPauseAtEndOfMediaItems(boolean)</code></a> instead.</div>
|
||||
@ -850,7 +871,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLivePlaybackSpeedControl</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setLivePlaybackSpeedControl​(<a href="LivePlaybackSpeedControl.html" title="interface in com.google.android.exoplayer2">LivePlaybackSpeedControl</a> livePlaybackSpeedControl)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="ExoPlayer.Builder.html#setLivePlaybackSpeedControl(com.google.android.exoplayer2.LivePlaybackSpeedControl)"><code>ExoPlayer.Builder.setLivePlaybackSpeedControl(LivePlaybackSpeedControl)</code></a> instead.</div>
|
||||
@ -863,7 +885,8 @@ public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setClock</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">SimpleExoPlayer.Builder</a> setClock​(<a href="util/Clock.html" title="interface in com.google.android.exoplayer2.util">Clock</a> clock)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="ExoPlayer.Builder.html#setClock(com.google.android.exoplayer2.util.Clock)"><code>ExoPlayer.Builder.setClock(Clock)</code></a> instead.</div>
|
||||
|
@ -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":42,"i50":42,"i51":42,"i52":42,"i53":42,"i54":42,"i55":42,"i56":42,"i57":42,"i58":42,"i59":42,"i60":42,"i61":42,"i62":42,"i63":42,"i64":42,"i65":42,"i66":42,"i67":42,"i68":42,"i69":42,"i70":42,"i71":42,"i72":42,"i73":42,"i74":42,"i75":42,"i76":42,"i77":42,"i78":42,"i79":42,"i80":42,"i81":42,"i82":42,"i83":42,"i84":42,"i85":42,"i86":42,"i87":42,"i88":42,"i89":42,"i90":42,"i91":42,"i92":42,"i93":42,"i94":42,"i95":42,"i96":42,"i97":42,"i98":42,"i99":42,"i100":42,"i101":42,"i102":42,"i103":42,"i104":42,"i105":42,"i106":42,"i107":42,"i108":42,"i109":42,"i110":42,"i111":42,"i112":42,"i113":42,"i114":42,"i115":42,"i116":42,"i117":42,"i118":42,"i119":42,"i120":42,"i121":42,"i122":42,"i123":42,"i124":42,"i125":42,"i126":42,"i127":42,"i128":42,"i129":42};
|
||||
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":42,"i50":42,"i51":42,"i52":42,"i53":42,"i54":42,"i55":42,"i56":42,"i57":42,"i58":42,"i59":42,"i60":42,"i61":42,"i62":42,"i63":42,"i64":42,"i65":42,"i66":42,"i67":42,"i68":42,"i69":42,"i70":42,"i71":42,"i72":42,"i73":42,"i74":42,"i75":42,"i76":42,"i77":42,"i78":42,"i79":42,"i80":42,"i81":42,"i82":42,"i83":42,"i84":42,"i85":42,"i86":42,"i87":42,"i88":42,"i89":42,"i90":42,"i91":42,"i92":42,"i93":42,"i94":42,"i95":42,"i96":42,"i97":42,"i98":42,"i99":42,"i100":42,"i101":42,"i102":42,"i103":42,"i104":42,"i105":42,"i106":42,"i107":42,"i108":42,"i109":42,"i110":42,"i111":42,"i112":42,"i113":42,"i114":42,"i115":42,"i116":42,"i117":42,"i118":42,"i119":42,"i120":42,"i121":42,"i122":42,"i123":42,"i124":42,"i125":42,"i126":42,"i127":42,"i128":42,"i129":42,"i130":42,"i131":42,"i132":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";
|
||||
@ -823,6 +823,14 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i65" class="rowColor">
|
||||
<td class="colFirst"><code><a href="util/Size.html" title="class in com.google.android.exoplayer2.util">Size</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSurfaceSize()">getSurfaceSize</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
|
||||
<div class="block">Gets the size of the surface on which the video is rendered.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i66" class="altColor">
|
||||
<td class="colFirst"><code><a href="ExoPlayer.TextComponent.html" title="interface in com.google.android.exoplayer2">ExoPlayer.TextComponent</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTextComponent()">getTextComponent</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -832,7 +840,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i66" class="altColor">
|
||||
<tr id="i67" class="rowColor">
|
||||
<td class="colFirst"><code>long</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTotalBufferedDuration()">getTotalBufferedDuration</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -840,7 +848,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Returns an estimate of the total buffered duration from the current position, in milliseconds.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i67" class="rowColor">
|
||||
<tr id="i68" class="altColor">
|
||||
<td class="colFirst"><code><a href="trackselection/TrackSelectionParameters.html" title="class in com.google.android.exoplayer2.trackselection">TrackSelectionParameters</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTrackSelectionParameters()">getTrackSelectionParameters</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -848,7 +856,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Returns the parameters constraining the track selection.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i68" class="altColor">
|
||||
<tr id="i69" class="rowColor">
|
||||
<td class="colFirst"><code><a href="trackselection/TrackSelector.html" title="class in com.google.android.exoplayer2.trackselection">TrackSelector</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTrackSelector()">getTrackSelector</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -856,7 +864,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Returns the track selector that this player uses, or null if track selection is not supported.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i69" class="rowColor">
|
||||
<tr id="i70" class="altColor">
|
||||
<td class="colFirst"><code>@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getVideoChangeFrameRateStrategy()">getVideoChangeFrameRateStrategy</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -864,7 +872,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Returns the <a href="C.VideoChangeFrameRateStrategy.html" title="annotation in com.google.android.exoplayer2"><code>C.VideoChangeFrameRateStrategy</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i70" class="altColor">
|
||||
<tr id="i71" class="rowColor">
|
||||
<td class="colFirst"><code><a href="ExoPlayer.VideoComponent.html" title="interface in com.google.android.exoplayer2">ExoPlayer.VideoComponent</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getVideoComponent()">getVideoComponent</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -874,7 +882,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i71" class="rowColor">
|
||||
<tr id="i72" class="altColor">
|
||||
<td class="colFirst"><code><a href="decoder/DecoderCounters.html" title="class in com.google.android.exoplayer2.decoder">DecoderCounters</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getVideoDecoderCounters()">getVideoDecoderCounters</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -882,7 +890,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Returns <a href="decoder/DecoderCounters.html" title="class in com.google.android.exoplayer2.decoder"><code>DecoderCounters</code></a> for video, or null if no video is being played.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i72" class="altColor">
|
||||
<tr id="i73" class="rowColor">
|
||||
<td class="colFirst"><code><a href="Format.html" title="class in com.google.android.exoplayer2">Format</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getVideoFormat()">getVideoFormat</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -890,7 +898,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Returns the video format currently being played, or null if no video is being played.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i73" class="rowColor">
|
||||
<tr id="i74" class="altColor">
|
||||
<td class="colFirst"><code>@com.google.android.exoplayer2.C.VideoScalingMode int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getVideoScalingMode()">getVideoScalingMode</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -898,7 +906,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Returns the <a href="C.VideoScalingMode.html" title="annotation in com.google.android.exoplayer2"><code>C.VideoScalingMode</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i74" class="altColor">
|
||||
<tr id="i75" class="rowColor">
|
||||
<td class="colFirst"><code><a href="video/VideoSize.html" title="class in com.google.android.exoplayer2.video">VideoSize</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getVideoSize()">getVideoSize</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -906,7 +914,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Gets the size of the video.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i75" class="rowColor">
|
||||
<tr id="i76" class="altColor">
|
||||
<td class="colFirst"><code>float</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getVolume()">getVolume</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -914,7 +922,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Returns the audio volume, with 0 being silence and 1 being unity gain (signal unchanged).</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i76" class="altColor">
|
||||
<tr id="i77" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#increaseDeviceVolume()">increaseDeviceVolume</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -922,7 +930,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Increases the volume of the device.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i77" class="rowColor">
|
||||
<tr id="i78" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isDeviceMuted()">isDeviceMuted</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -930,7 +938,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Gets whether the device is muted or not.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i78" class="altColor">
|
||||
<tr id="i79" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isLoading()">isLoading</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -938,7 +946,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Whether the player is currently loading the source.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i79" class="rowColor">
|
||||
<tr id="i80" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isPlayingAd()">isPlayingAd</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -946,7 +954,16 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Returns whether the player is currently playing an ad.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i80" class="altColor">
|
||||
<tr id="i81" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isTunnelingEnabled()">isTunnelingEnabled</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
|
||||
<div class="block">Returns whether <a href="https://source.android.com/devices/tv/multimedia-tunneling">tunneling</a> is enabled for
|
||||
the currently selected tracks.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i82" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#moveMediaItems(int,int,int)">moveMediaItems</a></span>​(int fromIndex,
|
||||
int toIndex,
|
||||
@ -956,7 +973,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Moves the media item range to the new index.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i81" class="rowColor">
|
||||
<tr id="i83" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#prepare()">prepare</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -964,7 +981,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Prepares the player.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i82" class="altColor">
|
||||
<tr id="i84" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#prepare(com.google.android.exoplayer2.source.MediaSource)">prepare</a></span>​(<a href="source/MediaSource.html" title="interface in com.google.android.exoplayer2.source">MediaSource</a> mediaSource)</code></th>
|
||||
<td class="colLast">
|
||||
@ -973,7 +990,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i83" class="rowColor">
|
||||
<tr id="i85" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#prepare(com.google.android.exoplayer2.source.MediaSource,boolean,boolean)">prepare</a></span>​(<a href="source/MediaSource.html" title="interface in com.google.android.exoplayer2.source">MediaSource</a> mediaSource,
|
||||
boolean resetPosition,
|
||||
@ -985,7 +1002,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i84" class="altColor">
|
||||
<tr id="i86" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#release()">release</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -993,7 +1010,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Releases the player.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i85" class="rowColor">
|
||||
<tr id="i87" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeAnalyticsListener(com.google.android.exoplayer2.analytics.AnalyticsListener)">removeAnalyticsListener</a></span>​(<a href="analytics/AnalyticsListener.html" title="interface in com.google.android.exoplayer2.analytics">AnalyticsListener</a> listener)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1001,7 +1018,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Removes an <a href="analytics/AnalyticsListener.html" title="interface in com.google.android.exoplayer2.analytics"><code>AnalyticsListener</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i86" class="altColor">
|
||||
<tr id="i88" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeAudioOffloadListener(com.google.android.exoplayer2.ExoPlayer.AudioOffloadListener)">removeAudioOffloadListener</a></span>​(<a href="ExoPlayer.AudioOffloadListener.html" title="interface in com.google.android.exoplayer2">ExoPlayer.AudioOffloadListener</a> listener)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1009,7 +1026,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Removes a listener of audio offload events.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i87" class="rowColor">
|
||||
<tr id="i89" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeListener(com.google.android.exoplayer2.Player.Listener)">removeListener</a></span>​(<a href="Player.Listener.html" title="interface in com.google.android.exoplayer2">Player.Listener</a> listener)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1017,7 +1034,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Unregister a listener registered through <a href="Player.html#addListener(com.google.android.exoplayer2.Player.Listener)"><code>Player.addListener(Listener)</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i88" class="altColor">
|
||||
<tr id="i90" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeMediaItems(int,int)">removeMediaItems</a></span>​(int fromIndex,
|
||||
int toIndex)</code></th>
|
||||
@ -1026,7 +1043,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Removes a range of media items from the playlist.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i89" class="rowColor">
|
||||
<tr id="i91" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#retry()">retry</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -1035,7 +1052,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i90" class="altColor">
|
||||
<tr id="i92" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekTo(int,long)">seekTo</a></span>​(int mediaItemIndex,
|
||||
long positionMs)</code></th>
|
||||
@ -1044,7 +1061,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Seeks to a position specified in milliseconds in the specified <a href="MediaItem.html" title="class in com.google.android.exoplayer2"><code>MediaItem</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i91" class="rowColor">
|
||||
<tr id="i93" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAudioAttributes(com.google.android.exoplayer2.audio.AudioAttributes,boolean)">setAudioAttributes</a></span>​(<a href="audio/AudioAttributes.html" title="class in com.google.android.exoplayer2.audio">AudioAttributes</a> audioAttributes,
|
||||
boolean handleAudioFocus)</code></th>
|
||||
@ -1053,7 +1070,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets the attributes for audio playback, used by the underlying audio track.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i92" class="altColor">
|
||||
<tr id="i94" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAudioSessionId(int)">setAudioSessionId</a></span>​(int audioSessionId)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1061,7 +1078,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets the ID of the audio session to attach to the underlying <a href="https://developer.android.com/reference/android/media/AudioTrack.html" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i93" class="rowColor">
|
||||
<tr id="i95" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAuxEffectInfo(com.google.android.exoplayer2.audio.AuxEffectInfo)">setAuxEffectInfo</a></span>​(<a href="audio/AuxEffectInfo.html" title="class in com.google.android.exoplayer2.audio">AuxEffectInfo</a> auxEffectInfo)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1069,7 +1086,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets information on an auxiliary audio effect to attach to the underlying audio track.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i94" class="altColor">
|
||||
<tr id="i96" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCameraMotionListener(com.google.android.exoplayer2.video.spherical.CameraMotionListener)">setCameraMotionListener</a></span>​(<a href="video/spherical/CameraMotionListener.html" title="interface in com.google.android.exoplayer2.video.spherical">CameraMotionListener</a> listener)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1077,7 +1094,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets a listener of camera motion events.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i95" class="rowColor">
|
||||
<tr id="i97" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDeviceMuted(boolean)">setDeviceMuted</a></span>​(boolean muted)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1085,7 +1102,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets the mute state of the device.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i96" class="altColor">
|
||||
<tr id="i98" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDeviceVolume(int)">setDeviceVolume</a></span>​(int volume)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1093,7 +1110,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets the volume of the device.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i97" class="rowColor">
|
||||
<tr id="i99" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setForegroundMode(boolean)">setForegroundMode</a></span>​(boolean foregroundMode)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1102,7 +1119,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
even when in the idle state.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i98" class="altColor">
|
||||
<tr id="i100" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setHandleAudioBecomingNoisy(boolean)">setHandleAudioBecomingNoisy</a></span>​(boolean handleAudioBecomingNoisy)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1111,7 +1128,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
device speakers.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i99" class="rowColor">
|
||||
<tr id="i101" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setHandleWakeLock(boolean)">setHandleWakeLock</a></span>​(boolean handleWakeLock)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1120,7 +1137,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i100" class="altColor">
|
||||
<tr id="i102" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaItems(java.util.List,boolean)">setMediaItems</a></span>​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="MediaItem.html" title="class in com.google.android.exoplayer2" target="_top">MediaItem</a>> mediaItems,
|
||||
boolean resetPosition)</code></th>
|
||||
@ -1129,7 +1146,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Clears the playlist and adds the specified <a href="MediaItem.html" title="class in com.google.android.exoplayer2"><code>MediaItems</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i101" class="rowColor">
|
||||
<tr id="i103" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaItems(java.util.List,int,long)">setMediaItems</a></span>​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="MediaItem.html" title="class in com.google.android.exoplayer2" target="_top">MediaItem</a>> mediaItems,
|
||||
int startIndex,
|
||||
@ -1139,7 +1156,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Clears the playlist and adds the specified <a href="MediaItem.html" title="class in com.google.android.exoplayer2"><code>MediaItems</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i102" class="altColor">
|
||||
<tr id="i104" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaSource(com.google.android.exoplayer2.source.MediaSource)">setMediaSource</a></span>​(<a href="source/MediaSource.html" title="interface in com.google.android.exoplayer2.source">MediaSource</a> mediaSource)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1148,7 +1165,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
default position.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i103" class="rowColor">
|
||||
<tr id="i105" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaSource(com.google.android.exoplayer2.source.MediaSource,boolean)">setMediaSource</a></span>​(<a href="source/MediaSource.html" title="interface in com.google.android.exoplayer2.source">MediaSource</a> mediaSource,
|
||||
boolean resetPosition)</code></th>
|
||||
@ -1157,7 +1174,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Clears the playlist and adds the specified <a href="source/MediaSource.html" title="interface in com.google.android.exoplayer2.source"><code>MediaSource</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i104" class="altColor">
|
||||
<tr id="i106" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaSource(com.google.android.exoplayer2.source.MediaSource,long)">setMediaSource</a></span>​(<a href="source/MediaSource.html" title="interface in com.google.android.exoplayer2.source">MediaSource</a> mediaSource,
|
||||
long startPositionMs)</code></th>
|
||||
@ -1166,7 +1183,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Clears the playlist and adds the specified <a href="source/MediaSource.html" title="interface in com.google.android.exoplayer2.source"><code>MediaSource</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i105" class="rowColor">
|
||||
<tr id="i107" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaSources(java.util.List)">setMediaSources</a></span>​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="source/MediaSource.html" title="interface in com.google.android.exoplayer2.source" target="_top">MediaSource</a>> mediaSources)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1175,7 +1192,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
position to the default position.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i106" class="altColor">
|
||||
<tr id="i108" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaSources(java.util.List,boolean)">setMediaSources</a></span>​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="source/MediaSource.html" title="interface in com.google.android.exoplayer2.source" target="_top">MediaSource</a>> mediaSources,
|
||||
boolean resetPosition)</code></th>
|
||||
@ -1184,7 +1201,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Clears the playlist and adds the specified <a href="source/MediaSource.html" title="interface in com.google.android.exoplayer2.source"><code>MediaSources</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i107" class="rowColor">
|
||||
<tr id="i109" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaSources(java.util.List,int,long)">setMediaSources</a></span>​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="source/MediaSource.html" title="interface in com.google.android.exoplayer2.source" target="_top">MediaSource</a>> mediaSources,
|
||||
int startMediaItemIndex,
|
||||
@ -1194,7 +1211,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Clears the playlist and adds the specified <a href="source/MediaSource.html" title="interface in com.google.android.exoplayer2.source"><code>MediaSources</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i108" class="altColor">
|
||||
<tr id="i110" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPauseAtEndOfMediaItems(boolean)">setPauseAtEndOfMediaItems</a></span>​(boolean pauseAtEndOfMediaItems)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1202,7 +1219,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets whether to pause playback at the end of each media item.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i109" class="rowColor">
|
||||
<tr id="i111" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlaybackParameters(com.google.android.exoplayer2.PlaybackParameters)">setPlaybackParameters</a></span>​(<a href="PlaybackParameters.html" title="class in com.google.android.exoplayer2">PlaybackParameters</a> playbackParameters)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1210,7 +1227,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Attempts to set the playback parameters.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i110" class="altColor">
|
||||
<tr id="i112" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlaylistMetadata(com.google.android.exoplayer2.MediaMetadata)">setPlaylistMetadata</a></span>​(<a href="MediaMetadata.html" title="class in com.google.android.exoplayer2">MediaMetadata</a> mediaMetadata)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1218,7 +1235,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets the playlist <a href="MediaMetadata.html" title="class in com.google.android.exoplayer2"><code>MediaMetadata</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i111" class="rowColor">
|
||||
<tr id="i113" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlayWhenReady(boolean)">setPlayWhenReady</a></span>​(boolean playWhenReady)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1226,7 +1243,15 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets whether playback should proceed when <a href="Player.html#getPlaybackState()"><code>Player.getPlaybackState()</code></a> == <a href="Player.html#STATE_READY"><code>Player.STATE_READY</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i112" class="altColor">
|
||||
<tr id="i114" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPreferredAudioDevice(android.media.AudioDeviceInfo)">setPreferredAudioDevice</a></span>​(<a href="https://developer.android.com/reference/android/media/AudioDeviceInfo.html" title="class or interface in android.media" class="externalLink" target="_top">AudioDeviceInfo</a> audioDeviceInfo)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
|
||||
<div class="block">Sets the preferred audio device.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i115" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPriorityTaskManager(com.google.android.exoplayer2.util.PriorityTaskManager)">setPriorityTaskManager</a></span>​(<a href="util/PriorityTaskManager.html" title="class in com.google.android.exoplayer2.util">PriorityTaskManager</a> priorityTaskManager)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1234,7 +1259,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets a <a href="util/PriorityTaskManager.html" title="class in com.google.android.exoplayer2.util"><code>PriorityTaskManager</code></a>, or null to clear a previously set priority task manager.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i113" class="rowColor">
|
||||
<tr id="i116" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRepeatMode(@com.google.android.exoplayer2.Player.RepeatModeint)">setRepeatMode</a></span>​(@com.google.android.exoplayer2.Player.RepeatMode int repeatMode)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1242,7 +1267,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets the <a href="Player.RepeatMode.html" title="annotation in com.google.android.exoplayer2"><code>Player.RepeatMode</code></a> to be used for playback.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i114" class="altColor">
|
||||
<tr id="i117" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSeekParameters(com.google.android.exoplayer2.SeekParameters)">setSeekParameters</a></span>​(<a href="SeekParameters.html" title="class in com.google.android.exoplayer2">SeekParameters</a> seekParameters)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1250,7 +1275,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets the parameters that control how seek operations are performed.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i115" class="rowColor">
|
||||
<tr id="i118" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setShuffleModeEnabled(boolean)">setShuffleModeEnabled</a></span>​(boolean shuffleModeEnabled)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1258,7 +1283,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets whether shuffling of media items is enabled.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i116" class="altColor">
|
||||
<tr id="i119" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setShuffleOrder(com.google.android.exoplayer2.source.ShuffleOrder)">setShuffleOrder</a></span>​(<a href="source/ShuffleOrder.html" title="interface in com.google.android.exoplayer2.source">ShuffleOrder</a> shuffleOrder)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1266,7 +1291,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets the shuffle order.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i117" class="rowColor">
|
||||
<tr id="i120" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSkipSilenceEnabled(boolean)">setSkipSilenceEnabled</a></span>​(boolean skipSilenceEnabled)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1274,7 +1299,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets whether skipping silences in the audio stream is enabled.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i118" class="altColor">
|
||||
<tr id="i121" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTrackSelectionParameters(com.google.android.exoplayer2.trackselection.TrackSelectionParameters)">setTrackSelectionParameters</a></span>​(<a href="trackselection/TrackSelectionParameters.html" title="class in com.google.android.exoplayer2.trackselection">TrackSelectionParameters</a> parameters)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1282,7 +1307,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets the parameters constraining the track selection.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i119" class="rowColor">
|
||||
<tr id="i122" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoChangeFrameRateStrategy(@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategyint)">setVideoChangeFrameRateStrategy</a></span>​(@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int videoChangeFrameRateStrategy)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1291,7 +1316,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
with a video output <a href="https://developer.android.com/reference/android/view/Surface.html" title="class or interface in android.view" class="externalLink" target="_top"><code>Surface</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i120" class="altColor">
|
||||
<tr id="i123" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoFrameMetadataListener(com.google.android.exoplayer2.video.VideoFrameMetadataListener)">setVideoFrameMetadataListener</a></span>​(<a href="video/VideoFrameMetadataListener.html" title="interface in com.google.android.exoplayer2.video">VideoFrameMetadataListener</a> listener)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1299,7 +1324,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets a listener to receive video frame metadata events.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i121" class="rowColor">
|
||||
<tr id="i124" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoScalingMode(@com.google.android.exoplayer2.C.VideoScalingModeint)">setVideoScalingMode</a></span>​(@com.google.android.exoplayer2.C.VideoScalingMode int videoScalingMode)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1307,7 +1332,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets the <a href="C.VideoScalingMode.html" title="annotation in com.google.android.exoplayer2"><code>C.VideoScalingMode</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i122" class="altColor">
|
||||
<tr id="i125" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoSurface(android.view.Surface)">setVideoSurface</a></span>​(<a href="https://developer.android.com/reference/android/view/Surface.html" title="class or interface in android.view" class="externalLink" target="_top">Surface</a> surface)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1315,7 +1340,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets the <a href="https://developer.android.com/reference/android/view/Surface.html" title="class or interface in android.view" class="externalLink" target="_top"><code>Surface</code></a> onto which video will be rendered.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i123" class="rowColor">
|
||||
<tr id="i126" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoSurfaceHolder(android.view.SurfaceHolder)">setVideoSurfaceHolder</a></span>​(<a href="https://developer.android.com/reference/android/view/SurfaceHolder.html" title="class or interface in android.view" class="externalLink" target="_top">SurfaceHolder</a> surfaceHolder)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1324,7 +1349,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
rendered.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i124" class="altColor">
|
||||
<tr id="i127" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoSurfaceView(android.view.SurfaceView)">setVideoSurfaceView</a></span>​(<a href="https://developer.android.com/reference/android/view/SurfaceView.html" title="class or interface in android.view" class="externalLink" target="_top">SurfaceView</a> surfaceView)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1332,7 +1357,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets the <a href="https://developer.android.com/reference/android/view/SurfaceView.html" title="class or interface in android.view" class="externalLink" target="_top"><code>SurfaceView</code></a> onto which video will be rendered.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i125" class="rowColor">
|
||||
<tr id="i128" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoTextureView(android.view.TextureView)">setVideoTextureView</a></span>​(<a href="https://developer.android.com/reference/android/view/TextureView.html" title="class or interface in android.view" class="externalLink" target="_top">TextureView</a> textureView)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1340,7 +1365,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets the <a href="https://developer.android.com/reference/android/view/TextureView.html" title="class or interface in android.view" class="externalLink" target="_top"><code>TextureView</code></a> onto which video will be rendered.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i126" class="altColor">
|
||||
<tr id="i129" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVolume(float)">setVolume</a></span>​(float volume)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1349,7 +1374,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
unchanged), inclusive.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i127" class="rowColor">
|
||||
<tr id="i130" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setWakeMode(@com.google.android.exoplayer2.C.WakeModeint)">setWakeMode</a></span>​(@com.google.android.exoplayer2.C.WakeMode int wakeMode)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1357,7 +1382,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Sets how the player should keep the device awake for playback when the screen is off.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i128" class="altColor">
|
||||
<tr id="i131" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stop()">stop</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
@ -1365,7 +1390,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<div class="block">Stops playback without resetting the playlist.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i129" class="rowColor">
|
||||
<tr id="i132" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stop(boolean)">stop</a></span>​(boolean reset)</code></th>
|
||||
<td class="colLast">
|
||||
@ -1381,7 +1406,7 @@ implements <a href="ExoPlayer.html" title="interface in com.google.android.exopl
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class com.google.android.exoplayer2.<a href="BasePlayer.html" title="class in com.google.android.exoplayer2">BasePlayer</a></h3>
|
||||
<code><a href="BasePlayer.html#addMediaItem(int,com.google.android.exoplayer2.MediaItem)">addMediaItem</a>, <a href="BasePlayer.html#addMediaItem(com.google.android.exoplayer2.MediaItem)">addMediaItem</a>, <a href="BasePlayer.html#addMediaItems(java.util.List)">addMediaItems</a>, <a href="BasePlayer.html#canAdvertiseSession()">canAdvertiseSession</a>, <a href="BasePlayer.html#clearMediaItems()">clearMediaItems</a>, <a href="BasePlayer.html#getBufferedPercentage()">getBufferedPercentage</a>, <a href="BasePlayer.html#getContentDuration()">getContentDuration</a>, <a href="BasePlayer.html#getCurrentLiveOffset()">getCurrentLiveOffset</a>, <a href="BasePlayer.html#getCurrentManifest()">getCurrentManifest</a>, <a href="BasePlayer.html#getCurrentMediaItem()">getCurrentMediaItem</a>, <a href="BasePlayer.html#getCurrentWindowIndex()">getCurrentWindowIndex</a>, <a href="BasePlayer.html#getMediaItemAt(int)">getMediaItemAt</a>, <a href="BasePlayer.html#getMediaItemCount()">getMediaItemCount</a>, <a href="BasePlayer.html#getNextMediaItemIndex()">getNextMediaItemIndex</a>, <a href="BasePlayer.html#getNextWindowIndex()">getNextWindowIndex</a>, <a href="BasePlayer.html#getPreviousMediaItemIndex()">getPreviousMediaItemIndex</a>, <a href="BasePlayer.html#getPreviousWindowIndex()">getPreviousWindowIndex</a>, <a href="BasePlayer.html#hasNext()">hasNext</a>, <a href="BasePlayer.html#hasNextMediaItem()">hasNextMediaItem</a>, <a href="BasePlayer.html#hasNextWindow()">hasNextWindow</a>, <a href="BasePlayer.html#hasPrevious()">hasPrevious</a>, <a href="BasePlayer.html#hasPreviousMediaItem()">hasPreviousMediaItem</a>, <a href="BasePlayer.html#hasPreviousWindow()">hasPreviousWindow</a>, <a href="BasePlayer.html#isCommandAvailable(@com.google.android.exoplayer2.Player.Commandint)">isCommandAvailable</a>, <a href="BasePlayer.html#isCurrentMediaItemDynamic()">isCurrentMediaItemDynamic</a>, <a href="BasePlayer.html#isCurrentMediaItemLive()">isCurrentMediaItemLive</a>, <a href="BasePlayer.html#isCurrentMediaItemSeekable()">isCurrentMediaItemSeekable</a>, <a href="BasePlayer.html#isCurrentWindowDynamic()">isCurrentWindowDynamic</a>, <a href="BasePlayer.html#isCurrentWindowLive()">isCurrentWindowLive</a>, <a href="BasePlayer.html#isCurrentWindowSeekable()">isCurrentWindowSeekable</a>, <a href="BasePlayer.html#isPlaying()">isPlaying</a>, <a href="BasePlayer.html#moveMediaItem(int,int)">moveMediaItem</a>, <a href="BasePlayer.html#next()">next</a>, <a href="BasePlayer.html#pause()">pause</a>, <a href="BasePlayer.html#play()">play</a>, <a href="BasePlayer.html#previous()">previous</a>, <a href="BasePlayer.html#removeMediaItem(int)">removeMediaItem</a>, <a href="BasePlayer.html#seekBack()">seekBack</a>, <a href="BasePlayer.html#seekForward()">seekForward</a>, <a href="BasePlayer.html#seekTo(long)">seekTo</a>, <a href="BasePlayer.html#seekToDefaultPosition()">seekToDefaultPosition</a>, <a href="BasePlayer.html#seekToDefaultPosition(int)">seekToDefaultPosition</a>, <a href="BasePlayer.html#seekToNext()">seekToNext</a>, <a href="BasePlayer.html#seekToNextMediaItem()">seekToNextMediaItem</a>, <a href="BasePlayer.html#seekToNextWindow()">seekToNextWindow</a>, <a href="BasePlayer.html#seekToPrevious()">seekToPrevious</a>, <a href="BasePlayer.html#seekToPreviousMediaItem()">seekToPreviousMediaItem</a>, <a href="BasePlayer.html#seekToPreviousWindow()">seekToPreviousWindow</a>, <a href="BasePlayer.html#setMediaItem(com.google.android.exoplayer2.MediaItem)">setMediaItem</a>, <a href="BasePlayer.html#setMediaItem(com.google.android.exoplayer2.MediaItem,boolean)">setMediaItem</a>, <a href="BasePlayer.html#setMediaItem(com.google.android.exoplayer2.MediaItem,long)">setMediaItem</a>, <a href="BasePlayer.html#setMediaItems(java.util.List)">setMediaItems</a>, <a href="BasePlayer.html#setPlaybackSpeed(float)">setPlaybackSpeed</a></code></li>
|
||||
<code><a href="BasePlayer.html#addMediaItem(int,com.google.android.exoplayer2.MediaItem)">addMediaItem</a>, <a href="BasePlayer.html#addMediaItem(com.google.android.exoplayer2.MediaItem)">addMediaItem</a>, <a href="BasePlayer.html#addMediaItems(java.util.List)">addMediaItems</a>, <a href="BasePlayer.html#canAdvertiseSession()">canAdvertiseSession</a>, <a href="BasePlayer.html#clearMediaItems()">clearMediaItems</a>, <a href="BasePlayer.html#getBufferedPercentage()">getBufferedPercentage</a>, <a href="BasePlayer.html#getContentDuration()">getContentDuration</a>, <a href="BasePlayer.html#getCurrentLiveOffset()">getCurrentLiveOffset</a>, <a href="BasePlayer.html#getCurrentManifest()">getCurrentManifest</a>, <a href="BasePlayer.html#getCurrentMediaItem()">getCurrentMediaItem</a>, <a href="BasePlayer.html#getCurrentWindowIndex()">getCurrentWindowIndex</a>, <a href="BasePlayer.html#getMediaItemAt(int)">getMediaItemAt</a>, <a href="BasePlayer.html#getMediaItemCount()">getMediaItemCount</a>, <a href="BasePlayer.html#getNextMediaItemIndex()">getNextMediaItemIndex</a>, <a href="BasePlayer.html#getNextWindowIndex()">getNextWindowIndex</a>, <a href="BasePlayer.html#getPreviousMediaItemIndex()">getPreviousMediaItemIndex</a>, <a href="BasePlayer.html#getPreviousWindowIndex()">getPreviousWindowIndex</a>, <a href="BasePlayer.html#hasNext()">hasNext</a>, <a href="BasePlayer.html#hasNextMediaItem()">hasNextMediaItem</a>, <a href="BasePlayer.html#hasNextWindow()">hasNextWindow</a>, <a href="BasePlayer.html#hasPrevious()">hasPrevious</a>, <a href="BasePlayer.html#hasPreviousMediaItem()">hasPreviousMediaItem</a>, <a href="BasePlayer.html#hasPreviousWindow()">hasPreviousWindow</a>, <a href="BasePlayer.html#isCommandAvailable(@com.google.android.exoplayer2.Player.Commandint)">isCommandAvailable</a>, <a href="BasePlayer.html#isCurrentMediaItemDynamic()">isCurrentMediaItemDynamic</a>, <a href="BasePlayer.html#isCurrentMediaItemLive()">isCurrentMediaItemLive</a>, <a href="BasePlayer.html#isCurrentMediaItemSeekable()">isCurrentMediaItemSeekable</a>, <a href="BasePlayer.html#isCurrentWindowDynamic()">isCurrentWindowDynamic</a>, <a href="BasePlayer.html#isCurrentWindowLive()">isCurrentWindowLive</a>, <a href="BasePlayer.html#isCurrentWindowSeekable()">isCurrentWindowSeekable</a>, <a href="BasePlayer.html#isPlaying()">isPlaying</a>, <a href="BasePlayer.html#moveMediaItem(int,int)">moveMediaItem</a>, <a href="BasePlayer.html#next()">next</a>, <a href="BasePlayer.html#pause()">pause</a>, <a href="BasePlayer.html#play()">play</a>, <a href="BasePlayer.html#previous()">previous</a>, <a href="BasePlayer.html#removeMediaItem(int)">removeMediaItem</a>, <a href="BasePlayer.html#repeatCurrentMediaItem()">repeatCurrentMediaItem</a>, <a href="BasePlayer.html#seekBack()">seekBack</a>, <a href="BasePlayer.html#seekForward()">seekForward</a>, <a href="BasePlayer.html#seekTo(long)">seekTo</a>, <a href="BasePlayer.html#seekToDefaultPosition()">seekToDefaultPosition</a>, <a href="BasePlayer.html#seekToDefaultPosition(int)">seekToDefaultPosition</a>, <a href="BasePlayer.html#seekToNext()">seekToNext</a>, <a href="BasePlayer.html#seekToNextMediaItem()">seekToNextMediaItem</a>, <a href="BasePlayer.html#seekToNextWindow()">seekToNextWindow</a>, <a href="BasePlayer.html#seekToPrevious()">seekToPrevious</a>, <a href="BasePlayer.html#seekToPreviousMediaItem()">seekToPreviousMediaItem</a>, <a href="BasePlayer.html#seekToPreviousWindow()">seekToPreviousWindow</a>, <a href="BasePlayer.html#setMediaItem(com.google.android.exoplayer2.MediaItem)">setMediaItem</a>, <a href="BasePlayer.html#setMediaItem(com.google.android.exoplayer2.MediaItem,boolean)">setMediaItem</a>, <a href="BasePlayer.html#setMediaItem(com.google.android.exoplayer2.MediaItem,long)">setMediaItem</a>, <a href="BasePlayer.html#setMediaItems(java.util.List)">setMediaItems</a>, <a href="BasePlayer.html#setPlaybackSpeed(float)">setPlaybackSpeed</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
||||
@ -1713,6 +1738,24 @@ public @com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int&nb
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getSurfaceSize()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getSurfaceSize</h4>
|
||||
<pre class="methodSignature">public <a href="util/Size.html" title="class in com.google.android.exoplayer2.util">Size</a> getSurfaceSize()</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="Player.html#getSurfaceSize()">Player</a></code></span></div>
|
||||
<div class="block">Gets the size of the surface on which the video is rendered.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="Player.html#getSurfaceSize()">getSurfaceSize</a></code> in interface <code><a href="Player.html" title="interface in com.google.android.exoplayer2">Player</a></code></dd>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="Player.Listener.html#onSurfaceSizeChanged(int,int)"><code>Player.Listener.onSurfaceSizeChanged(int, int)</code></a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="clearVideoSurface()">
|
||||
<!-- -->
|
||||
</a>
|
||||
@ -2089,6 +2132,27 @@ public @com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int&nb
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setPreferredAudioDevice(android.media.AudioDeviceInfo)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPreferredAudioDevice</h4>
|
||||
<pre class="methodSignature">@RequiresApi(23)
|
||||
public void setPreferredAudioDevice​(@Nullable
|
||||
<a href="https://developer.android.com/reference/android/media/AudioDeviceInfo.html" title="class or interface in android.media" class="externalLink" target="_top">AudioDeviceInfo</a> audioDeviceInfo)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ExoPlayer.html#setPreferredAudioDevice(android.media.AudioDeviceInfo)">ExoPlayer</a></code></span></div>
|
||||
<div class="block">Sets the preferred audio device.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="ExoPlayer.html#setPreferredAudioDevice(android.media.AudioDeviceInfo)">setPreferredAudioDevice</a></code> in interface <code><a href="ExoPlayer.html" title="interface in com.google.android.exoplayer2">ExoPlayer</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>audioDeviceInfo</code> - The preferred <a href="https://developer.android.com/reference/android/media/AudioDeviceInfo.html" title="class or interface in android.media" class="externalLink" target="_top">audio device</a>, or null to
|
||||
restore the default.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setVolume(float)">
|
||||
<!-- -->
|
||||
</a>
|
||||
@ -4085,7 +4149,7 @@ public void setHandleWakeLock​(boolean handleWakeLock)</pre
|
||||
<a id="setDeviceMuted(boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDeviceMuted</h4>
|
||||
<pre class="methodSignature">public void setDeviceMuted​(boolean muted)</pre>
|
||||
@ -4100,6 +4164,25 @@ public void setHandleWakeLock​(boolean handleWakeLock)</pre
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="isTunnelingEnabled()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>isTunnelingEnabled</h4>
|
||||
<pre class="methodSignature">public boolean isTunnelingEnabled()</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ExoPlayer.html#isTunnelingEnabled()">ExoPlayer</a></code></span></div>
|
||||
<div class="block">Returns whether <a href="https://source.android.com/devices/tv/multimedia-tunneling">tunneling</a> is enabled for
|
||||
the currently selected tracks.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="ExoPlayer.html#isTunnelingEnabled()">isTunnelingEnabled</a></code> in interface <code><a href="ExoPlayer.html" title="interface in com.google.android.exoplayer2">ExoPlayer</a></code></dd>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="Player.Listener.html#onTracksChanged(com.google.android.exoplayer2.Tracks)"><code>Player.Listener.onTracksChanged(Tracks)</code></a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
@ -607,7 +607,8 @@ public <a href="https://developer.android.com/reference/java/lang/Object.ht
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>set</h4>
|
||||
<pre class="methodSignature">public <a href="Timeline.Period.html" title="class in com.google.android.exoplayer2">Timeline.Period</a> set​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Timeline.Period.html" title="class in com.google.android.exoplayer2">Timeline.Period</a> set​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a> id,
|
||||
@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a> uid,
|
||||
@ -638,7 +639,8 @@ public <a href="https://developer.android.com/reference/java/lang/Object.ht
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>set</h4>
|
||||
<pre class="methodSignature">public <a href="Timeline.Period.html" title="class in com.google.android.exoplayer2">Timeline.Period</a> set​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Timeline.Period.html" title="class in com.google.android.exoplayer2">Timeline.Period</a> set​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a> id,
|
||||
@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a> uid,
|
||||
|
@ -743,7 +743,8 @@ public <a href="MediaItem.LiveConfiguration.html" title="class in com.googl
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>set</h4>
|
||||
<pre class="methodSignature">public <a href="Timeline.Window.html" title="class in com.google.android.exoplayer2">Timeline.Window</a> set​(<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a> uid,
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="Timeline.Window.html" title="class in com.google.android.exoplayer2">Timeline.Window</a> set​(<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a> uid,
|
||||
@Nullable
|
||||
<a href="MediaItem.html" title="class in com.google.android.exoplayer2">MediaItem</a> mediaItem,
|
||||
@Nullable
|
||||
|
@ -273,7 +273,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setContentType</h4>
|
||||
<pre class="methodSignature">public <a href="AudioAttributes.Builder.html" title="class in com.google.android.exoplayer2.audio">AudioAttributes.Builder</a> setContentType​(<a href="../C.AudioContentType.html" title="annotation in com.google.android.exoplayer2">@AudioContentType</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="AudioAttributes.Builder.html" title="class in com.google.android.exoplayer2.audio">AudioAttributes.Builder</a> setContentType​(<a href="../C.AudioContentType.html" title="annotation in com.google.android.exoplayer2">@AudioContentType</a>
|
||||
@com.google.android.exoplayer2.C.AudioContentType int contentType)</pre>
|
||||
<div class="block">See <a href="https://developer.android.com/reference/android/media/AudioAttributes.Builder.html#setContentType(int)" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioAttributes.Builder.setContentType(int)</code></a></div>
|
||||
</li>
|
||||
@ -284,7 +285,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setFlags</h4>
|
||||
<pre class="methodSignature">public <a href="AudioAttributes.Builder.html" title="class in com.google.android.exoplayer2.audio">AudioAttributes.Builder</a> setFlags​(<a href="../C.AudioFlags.html" title="annotation in com.google.android.exoplayer2">@AudioFlags</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="AudioAttributes.Builder.html" title="class in com.google.android.exoplayer2.audio">AudioAttributes.Builder</a> setFlags​(<a href="../C.AudioFlags.html" title="annotation in com.google.android.exoplayer2">@AudioFlags</a>
|
||||
@com.google.android.exoplayer2.C.AudioFlags int flags)</pre>
|
||||
<div class="block">See <a href="https://developer.android.com/reference/android/media/AudioAttributes.Builder.html#setFlags(int)" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioAttributes.Builder.setFlags(int)</code></a></div>
|
||||
</li>
|
||||
@ -295,7 +297,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setUsage</h4>
|
||||
<pre class="methodSignature">public <a href="AudioAttributes.Builder.html" title="class in com.google.android.exoplayer2.audio">AudioAttributes.Builder</a> setUsage​(<a href="../C.AudioUsage.html" title="annotation in com.google.android.exoplayer2">@AudioUsage</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="AudioAttributes.Builder.html" title="class in com.google.android.exoplayer2.audio">AudioAttributes.Builder</a> setUsage​(<a href="../C.AudioUsage.html" title="annotation in com.google.android.exoplayer2">@AudioUsage</a>
|
||||
@com.google.android.exoplayer2.C.AudioUsage int usage)</pre>
|
||||
<div class="block">See <a href="https://developer.android.com/reference/android/media/AudioAttributes.Builder.html#setUsage(int)" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioAttributes.Builder.setUsage(int)</code></a></div>
|
||||
</li>
|
||||
@ -306,7 +309,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAllowedCapturePolicy</h4>
|
||||
<pre class="methodSignature">public <a href="AudioAttributes.Builder.html" title="class in com.google.android.exoplayer2.audio">AudioAttributes.Builder</a> setAllowedCapturePolicy​(<a href="../C.AudioAllowedCapturePolicy.html" title="annotation in com.google.android.exoplayer2">@AudioAllowedCapturePolicy</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="AudioAttributes.Builder.html" title="class in com.google.android.exoplayer2.audio">AudioAttributes.Builder</a> setAllowedCapturePolicy​(<a href="../C.AudioAllowedCapturePolicy.html" title="annotation in com.google.android.exoplayer2">@AudioAllowedCapturePolicy</a>
|
||||
@com.google.android.exoplayer2.C.AudioAllowedCapturePolicy int allowedCapturePolicy)</pre>
|
||||
<div class="block">See <a href="https://developer.android.com/reference/android/media/AudioAttributes.Builder.html#setAllowedCapturePolicy(int)" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioAttributes.Builder.setAllowedCapturePolicy(int)</code></a>.</div>
|
||||
</li>
|
||||
@ -317,7 +321,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSpatializationBehavior</h4>
|
||||
<pre class="methodSignature">public <a href="AudioAttributes.Builder.html" title="class in com.google.android.exoplayer2.audio">AudioAttributes.Builder</a> setSpatializationBehavior​(@com.google.android.exoplayer2.C.SpatializationBehavior int spatializationBehavior)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="AudioAttributes.Builder.html" title="class in com.google.android.exoplayer2.audio">AudioAttributes.Builder</a> setSpatializationBehavior​(@com.google.android.exoplayer2.C.SpatializationBehavior int spatializationBehavior)</pre>
|
||||
<div class="block">See <a href="https://developer.android.com/reference/android/media/AudioAttributes.Builder.html#setSpatializationBehavior(int)" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioAttributes.Builder.setSpatializationBehavior(int)</code></a>.</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -25,7 +25,7 @@
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":10};
|
||||
var data = {"i0":10,"i1":10,"i2":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@ -231,6 +231,16 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#equals(java.lang.Object)">equals</a></span>​(<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a> o)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hashCode()">hashCode</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
@ -241,7 +251,7 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
|
||||
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
|
||||
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -342,7 +352,7 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<a id="toString()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre class="methodSignature">public <a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> toString()</pre>
|
||||
@ -352,6 +362,33 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="equals(java.lang.Object)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>equals</h4>
|
||||
<pre class="methodSignature">public boolean equals​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a> o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="https://developer.android.com/reference/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a></code> in class <code><a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="hashCode()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre class="methodSignature">public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="https://developer.android.com/reference/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a></code> in class <code><a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
@ -240,8 +240,8 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isEnded()">isEnded</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns whether this processor will return no more output from <a href="#getOutput()"><code>getOutput()</code></a> until it
|
||||
has been <a href="#flush()"><code>flush()</code></a>ed and more input has been queued.</div>
|
||||
<div class="block">Returns whether this processor will return no more output from <a href="#getOutput()"><code>getOutput()</code></a> until
|
||||
<a href="#flush()"><code>flush()</code></a> has been called and more input has been queued.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
@ -308,7 +308,8 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>configure</h4>
|
||||
<pre class="methodSignature"><a href="AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a> configure​(<a href="AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a> inputAudioFormat)
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a> configure​(<a href="AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a> inputAudioFormat)
|
||||
throws <a href="AudioProcessor.UnhandledAudioFormatException.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.UnhandledAudioFormatException</a></pre>
|
||||
<div class="block">Configures the processor to process input audio with the specified format. After calling this
|
||||
method, call <a href="#isActive()"><code>isActive()</code></a> to determine whether the audio processor is active. Returns
|
||||
@ -393,8 +394,8 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<li class="blockList">
|
||||
<h4>isEnded</h4>
|
||||
<pre class="methodSignature">boolean isEnded()</pre>
|
||||
<div class="block">Returns whether this processor will return no more output from <a href="#getOutput()"><code>getOutput()</code></a> until it
|
||||
has been <a href="#flush()"><code>flush()</code></a>ed and more input has been queued.</div>
|
||||
<div class="block">Returns whether this processor will return no more output from <a href="#getOutput()"><code>getOutput()</code></a> until
|
||||
<a href="#flush()"><code>flush()</code></a> has been called and more input has been queued.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="flush()">
|
||||
|
@ -0,0 +1,360 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>AudioProcessorChain (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="AudioProcessorChain (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.audio</a></div>
|
||||
<h2 title="Interface AudioProcessorChain" class="title">Interface AudioProcessorChain</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Known Subinterfaces:</dt>
|
||||
<dd><code><a href="DefaultAudioSink.AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioProcessorChain</a></code></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>All Known Implementing Classes:</dt>
|
||||
<dd><code><a href="DefaultAudioSink.DefaultAudioProcessorChain.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.DefaultAudioProcessorChain</a></code></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public interface <span class="typeNameLabel">AudioProcessorChain</span></pre>
|
||||
<div class="block">Provides a chain of audio processors, which are used for any user-defined processing and applying
|
||||
playback parameters (if supported). Because applying playback parameters can skip and
|
||||
stretch/compress audio, the sink will query the chain for information on how to transform its
|
||||
output position to map it onto a media position, via <a href="#getMediaDuration(long)"><code>getMediaDuration(long)</code></a> and <a href="#getSkippedOutputFrameCount()"><code>getSkippedOutputFrameCount()</code></a>.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="../PlaybackParameters.html" title="class in com.google.android.exoplayer2">PlaybackParameters</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#applyPlaybackParameters(com.google.android.exoplayer2.PlaybackParameters)">applyPlaybackParameters</a></span>​(<a href="../PlaybackParameters.html" title="class in com.google.android.exoplayer2">PlaybackParameters</a> playbackParameters)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Configures audio processors to apply the specified playback parameters immediately, returning
|
||||
the new playback parameters, which may differ from those passed in.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#applySkipSilenceEnabled(boolean)">applySkipSilenceEnabled</a></span>​(boolean skipSilenceEnabled)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Configures audio processors to apply whether to skip silences immediately, returning the new
|
||||
value.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="AudioProcessor.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessor</a>[]</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAudioProcessors()">getAudioProcessors</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the fixed chain of audio processors that will process audio.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>long</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMediaDuration(long)">getMediaDuration</a></span>​(long playoutDuration)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the media duration corresponding to the specified playout duration, taking speed
|
||||
adjustment due to audio processing into account.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>long</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSkippedOutputFrameCount()">getSkippedOutputFrameCount</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the number of output audio frames skipped since the audio processors were last flushed.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="getAudioProcessors()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getAudioProcessors</h4>
|
||||
<pre class="methodSignature"><a href="AudioProcessor.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessor</a>[] getAudioProcessors()</pre>
|
||||
<div class="block">Returns the fixed chain of audio processors that will process audio. This method is called once
|
||||
during initialization, but audio processors may change state to become active/inactive during
|
||||
playback.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="applyPlaybackParameters(com.google.android.exoplayer2.PlaybackParameters)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>applyPlaybackParameters</h4>
|
||||
<pre class="methodSignature"><a href="../PlaybackParameters.html" title="class in com.google.android.exoplayer2">PlaybackParameters</a> applyPlaybackParameters​(<a href="../PlaybackParameters.html" title="class in com.google.android.exoplayer2">PlaybackParameters</a> playbackParameters)</pre>
|
||||
<div class="block">Configures audio processors to apply the specified playback parameters immediately, returning
|
||||
the new playback parameters, which may differ from those passed in. Only called when processors
|
||||
have no input pending.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>playbackParameters</code> - The playback parameters to try to apply.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The playback parameters that were actually applied.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="applySkipSilenceEnabled(boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>applySkipSilenceEnabled</h4>
|
||||
<pre class="methodSignature">boolean applySkipSilenceEnabled​(boolean skipSilenceEnabled)</pre>
|
||||
<div class="block">Configures audio processors to apply whether to skip silences immediately, returning the new
|
||||
value. Only called when processors have no input pending.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>skipSilenceEnabled</code> - Whether silences should be skipped in the audio stream.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The new value.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getMediaDuration(long)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getMediaDuration</h4>
|
||||
<pre class="methodSignature">long getMediaDuration​(long playoutDuration)</pre>
|
||||
<div class="block">Returns the media duration corresponding to the specified playout duration, taking speed
|
||||
adjustment due to audio processing into account.
|
||||
|
||||
<p>The scaling performed by this method will use the actual playback speed achieved by the
|
||||
audio processor chain, on average, since it was last flushed. This may differ very slightly
|
||||
from the target playback speed.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>playoutDuration</code> - The playout duration to scale.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The corresponding media duration, in the same units as <code>duration</code>.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getSkippedOutputFrameCount()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getSkippedOutputFrameCount</h4>
|
||||
<pre class="methodSignature">long getSkippedOutputFrameCount()</pre>
|
||||
<div class="block">Returns the number of output audio frames skipped since the audio processors were last flushed.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</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":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":18,"i24":6,"i25":6,"i26":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":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":18,"i23":6,"i24":18,"i25":18,"i26":6,"i27":6,"i28":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@ -433,34 +433,49 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i22" class="altColor">
|
||||
<td class="colFirst"><code>default void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setOutputStreamOffsetUs(long)">setOutputStreamOffsetUs</a></span>​(long outputStreamOffsetUs)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the offset that is added to the media timestamp before it is passed as <code>
|
||||
presentationTimeUs</code> in <a href="#handleBuffer(java.nio.ByteBuffer,long,int)"><code>handleBuffer(ByteBuffer, long, int)</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i23" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlaybackParameters(com.google.android.exoplayer2.PlaybackParameters)">setPlaybackParameters</a></span>​(<a href="../PlaybackParameters.html" title="class in com.google.android.exoplayer2">PlaybackParameters</a> playbackParameters)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Attempts to set the playback parameters.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i23" class="rowColor">
|
||||
<tr id="i24" class="altColor">
|
||||
<td class="colFirst"><code>default void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlayerId(com.google.android.exoplayer2.analytics.PlayerId)">setPlayerId</a></span>​(<a href="../analytics/PlayerId.html" title="class in com.google.android.exoplayer2.analytics">PlayerId</a> playerId)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the <a href="../analytics/PlayerId.html" title="class in com.google.android.exoplayer2.analytics"><code>PlayerId</code></a> of the player using this audio sink.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i24" class="altColor">
|
||||
<tr id="i25" class="rowColor">
|
||||
<td class="colFirst"><code>default void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPreferredDevice(android.media.AudioDeviceInfo)">setPreferredDevice</a></span>​(<a href="https://developer.android.com/reference/android/media/AudioDeviceInfo.html" title="class or interface in android.media" class="externalLink" target="_top">AudioDeviceInfo</a> audioDeviceInfo)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the preferred audio device.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i26" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSkipSilenceEnabled(boolean)">setSkipSilenceEnabled</a></span>​(boolean skipSilenceEnabled)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets whether silences should be skipped in the audio stream.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i25" class="rowColor">
|
||||
<tr id="i27" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVolume(float)">setVolume</a></span>​(float volume)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the playback volume.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i26" class="altColor">
|
||||
<tr id="i28" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#supportsFormat(com.google.android.exoplayer2.Format)">supportsFormat</a></span>​(<a href="../Format.html" title="class in com.google.android.exoplayer2">Format</a> format)</code></th>
|
||||
<td class="colLast">
|
||||
@ -841,6 +856,38 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<div class="block">Sets the auxiliary effect.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setPreferredDevice(android.media.AudioDeviceInfo)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPreferredDevice</h4>
|
||||
<pre class="methodSignature">@RequiresApi(23)
|
||||
default void setPreferredDevice​(@Nullable
|
||||
<a href="https://developer.android.com/reference/android/media/AudioDeviceInfo.html" title="class or interface in android.media" class="externalLink" target="_top">AudioDeviceInfo</a> audioDeviceInfo)</pre>
|
||||
<div class="block">Sets the preferred audio device.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>audioDeviceInfo</code> - The preferred <a href="https://developer.android.com/reference/android/media/AudioDeviceInfo.html" title="class or interface in android.media" class="externalLink" target="_top">audio device</a>, or null to
|
||||
restore the default.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setOutputStreamOffsetUs(long)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setOutputStreamOffsetUs</h4>
|
||||
<pre class="methodSignature">default void setOutputStreamOffsetUs​(long outputStreamOffsetUs)</pre>
|
||||
<div class="block">Sets the offset that is added to the media timestamp before it is passed as <code>
|
||||
presentationTimeUs</code> in <a href="#handleBuffer(java.nio.ByteBuffer,long,int)"><code>handleBuffer(ByteBuffer, long, int)</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>outputStreamOffsetUs</code> - The output stream offset in microseconds.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="enableTunnelingV21()">
|
||||
<!-- -->
|
||||
</a>
|
||||
|
@ -279,8 +279,8 @@ implements <a href="AudioProcessor.html" title="interface in com.google.android.
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isEnded()">isEnded</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns whether this processor will return no more output from <a href="AudioProcessor.html#getOutput()"><code>AudioProcessor.getOutput()</code></a> until it
|
||||
has been <a href="AudioProcessor.html#flush()"><code>AudioProcessor.flush()</code></a>ed and more input has been queued.</div>
|
||||
<div class="block">Returns whether this processor will return no more output from <a href="AudioProcessor.html#getOutput()"><code>AudioProcessor.getOutput()</code></a> until
|
||||
<a href="AudioProcessor.html#flush()"><code>AudioProcessor.flush()</code></a> has been called and more input has been queued.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
@ -320,10 +320,9 @@ implements <a href="AudioProcessor.html" title="interface in com.google.android.
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code>protected <a href="https://developer.android.com/reference/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="externalLink" target="_top">ByteBuffer</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#replaceOutputBuffer(int)">replaceOutputBuffer</a></span>​(int count)</code></th>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#replaceOutputBuffer(int)">replaceOutputBuffer</a></span>​(int size)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Replaces the current output buffer with a buffer of at least <code>count</code> bytes and returns
|
||||
it.</div>
|
||||
<div class="block">Replaces the current output buffer with a buffer of at least <code>size</code> bytes and returns it.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i12" class="altColor">
|
||||
@ -419,7 +418,8 @@ implements <a href="AudioProcessor.html" title="interface in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>configure</h4>
|
||||
<pre class="methodSignature">public final <a href="AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a> configure​(<a href="AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a> inputAudioFormat)
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public final <a href="AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a> configure​(<a href="AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a> inputAudioFormat)
|
||||
throws <a href="AudioProcessor.UnhandledAudioFormatException.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.UnhandledAudioFormatException</a></pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="AudioProcessor.html#configure(com.google.android.exoplayer2.audio.AudioProcessor.AudioFormat)">AudioProcessor</a></code></span></div>
|
||||
<div class="block">Configures the processor to process input audio with the specified format. After calling this
|
||||
@ -504,8 +504,8 @@ public <a href="https://developer.android.com/reference/java/nio/ByteBuffer
|
||||
<pre class="methodSignature">@CallSuper
|
||||
public boolean isEnded()</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="AudioProcessor.html#isEnded()">AudioProcessor</a></code></span></div>
|
||||
<div class="block">Returns whether this processor will return no more output from <a href="AudioProcessor.html#getOutput()"><code>AudioProcessor.getOutput()</code></a> until it
|
||||
has been <a href="AudioProcessor.html#flush()"><code>AudioProcessor.flush()</code></a>ed and more input has been queued.</div>
|
||||
<div class="block">Returns whether this processor will return no more output from <a href="AudioProcessor.html#getOutput()"><code>AudioProcessor.getOutput()</code></a> until
|
||||
<a href="AudioProcessor.html#flush()"><code>AudioProcessor.flush()</code></a> has been called and more input has been queued.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="AudioProcessor.html#isEnded()">isEnded</a></code> in interface <code><a href="AudioProcessor.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessor</a></code></dd>
|
||||
@ -549,10 +549,10 @@ public boolean isEnded()</pre>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>replaceOutputBuffer</h4>
|
||||
<pre class="methodSignature">protected final <a href="https://developer.android.com/reference/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="externalLink" target="_top">ByteBuffer</a> replaceOutputBuffer​(int count)</pre>
|
||||
<div class="block">Replaces the current output buffer with a buffer of at least <code>count</code> bytes and returns
|
||||
it. Callers should write to the returned buffer then <a href="https://developer.android.com/reference/java/nio/ByteBuffer.html#flip()" title="class or interface in java.nio" class="externalLink" target="_top"><code>ByteBuffer.flip()</code></a> it so it can be
|
||||
read via <a href="#getOutput()"><code>getOutput()</code></a>.</div>
|
||||
<pre class="methodSignature">protected final <a href="https://developer.android.com/reference/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="externalLink" target="_top">ByteBuffer</a> replaceOutputBuffer​(int size)</pre>
|
||||
<div class="block">Replaces the current output buffer with a buffer of at least <code>size</code> bytes and returns it.
|
||||
Callers should write to the returned buffer then <a href="https://developer.android.com/reference/java/nio/ByteBuffer.html#flip()" title="class or interface in java.nio" class="externalLink" target="_top"><code>ByteBuffer.flip()</code></a> it so it can be read
|
||||
via <a href="#getOutput()"><code>getOutput()</code></a>.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="hasPendingOutput()">
|
||||
@ -571,7 +571,8 @@ public boolean isEnded()</pre>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onConfigure</h4>
|
||||
<pre class="methodSignature">protected <a href="AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a> onConfigure​(<a href="AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a> inputAudioFormat)
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
protected <a href="AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a> onConfigure​(<a href="AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a> inputAudioFormat)
|
||||
throws <a href="AudioProcessor.UnhandledAudioFormatException.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.UnhandledAudioFormatException</a></pre>
|
||||
<div class="block">Called when the processor is configured for a new input format.</div>
|
||||
<dl>
|
||||
|
@ -207,14 +207,14 @@ implements <a href="../util/MediaClock.html" title="interface in com.google.andr
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface com.google.android.exoplayer2.<a href="../Renderer.html" title="interface in com.google.android.exoplayer2">Renderer</a></h3>
|
||||
<code><a href="../Renderer.html#MSG_CUSTOM_BASE">MSG_CUSTOM_BASE</a>, <a href="../Renderer.html#MSG_SET_AUDIO_ATTRIBUTES">MSG_SET_AUDIO_ATTRIBUTES</a>, <a href="../Renderer.html#MSG_SET_AUDIO_SESSION_ID">MSG_SET_AUDIO_SESSION_ID</a>, <a href="../Renderer.html#MSG_SET_AUX_EFFECT_INFO">MSG_SET_AUX_EFFECT_INFO</a>, <a href="../Renderer.html#MSG_SET_CAMERA_MOTION_LISTENER">MSG_SET_CAMERA_MOTION_LISTENER</a>, <a href="../Renderer.html#MSG_SET_CHANGE_FRAME_RATE_STRATEGY">MSG_SET_CHANGE_FRAME_RATE_STRATEGY</a>, <a href="../Renderer.html#MSG_SET_SCALING_MODE">MSG_SET_SCALING_MODE</a>, <a href="../Renderer.html#MSG_SET_SKIP_SILENCE_ENABLED">MSG_SET_SKIP_SILENCE_ENABLED</a>, <a href="../Renderer.html#MSG_SET_VIDEO_FRAME_METADATA_LISTENER">MSG_SET_VIDEO_FRAME_METADATA_LISTENER</a>, <a href="../Renderer.html#MSG_SET_VIDEO_OUTPUT">MSG_SET_VIDEO_OUTPUT</a>, <a href="../Renderer.html#MSG_SET_VOLUME">MSG_SET_VOLUME</a>, <a href="../Renderer.html#MSG_SET_WAKEUP_LISTENER">MSG_SET_WAKEUP_LISTENER</a>, <a href="../Renderer.html#STATE_DISABLED">STATE_DISABLED</a>, <a href="../Renderer.html#STATE_ENABLED">STATE_ENABLED</a>, <a href="../Renderer.html#STATE_STARTED">STATE_STARTED</a></code></li>
|
||||
<code><a href="../Renderer.html#MSG_CUSTOM_BASE">MSG_CUSTOM_BASE</a>, <a href="../Renderer.html#MSG_SET_AUDIO_ATTRIBUTES">MSG_SET_AUDIO_ATTRIBUTES</a>, <a href="../Renderer.html#MSG_SET_AUDIO_SESSION_ID">MSG_SET_AUDIO_SESSION_ID</a>, <a href="../Renderer.html#MSG_SET_AUX_EFFECT_INFO">MSG_SET_AUX_EFFECT_INFO</a>, <a href="../Renderer.html#MSG_SET_CAMERA_MOTION_LISTENER">MSG_SET_CAMERA_MOTION_LISTENER</a>, <a href="../Renderer.html#MSG_SET_CHANGE_FRAME_RATE_STRATEGY">MSG_SET_CHANGE_FRAME_RATE_STRATEGY</a>, <a href="../Renderer.html#MSG_SET_PREFERRED_AUDIO_DEVICE">MSG_SET_PREFERRED_AUDIO_DEVICE</a>, <a href="../Renderer.html#MSG_SET_SCALING_MODE">MSG_SET_SCALING_MODE</a>, <a href="../Renderer.html#MSG_SET_SKIP_SILENCE_ENABLED">MSG_SET_SKIP_SILENCE_ENABLED</a>, <a href="../Renderer.html#MSG_SET_VIDEO_FRAME_METADATA_LISTENER">MSG_SET_VIDEO_FRAME_METADATA_LISTENER</a>, <a href="../Renderer.html#MSG_SET_VIDEO_OUTPUT">MSG_SET_VIDEO_OUTPUT</a>, <a href="../Renderer.html#MSG_SET_VOLUME">MSG_SET_VOLUME</a>, <a href="../Renderer.html#MSG_SET_WAKEUP_LISTENER">MSG_SET_WAKEUP_LISTENER</a>, <a href="../Renderer.html#STATE_DISABLED">STATE_DISABLED</a>, <a href="../Renderer.html#STATE_ENABLED">STATE_ENABLED</a>, <a href="../Renderer.html#STATE_STARTED">STATE_STARTED</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="fields.inherited.from.class.com.google.android.exoplayer2.RendererCapabilities">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface com.google.android.exoplayer2.<a href="../RendererCapabilities.html" title="interface in com.google.android.exoplayer2">RendererCapabilities</a></h3>
|
||||
<code><a href="../RendererCapabilities.html#ADAPTIVE_NOT_SEAMLESS">ADAPTIVE_NOT_SEAMLESS</a>, <a href="../RendererCapabilities.html#ADAPTIVE_NOT_SUPPORTED">ADAPTIVE_NOT_SUPPORTED</a>, <a href="../RendererCapabilities.html#ADAPTIVE_SEAMLESS">ADAPTIVE_SEAMLESS</a>, <a href="../RendererCapabilities.html#ADAPTIVE_SUPPORT_MASK">ADAPTIVE_SUPPORT_MASK</a>, <a href="../RendererCapabilities.html#DECODER_SUPPORT_FALLBACK">DECODER_SUPPORT_FALLBACK</a>, <a href="../RendererCapabilities.html#DECODER_SUPPORT_PRIMARY">DECODER_SUPPORT_PRIMARY</a>, <a href="../RendererCapabilities.html#FORMAT_EXCEEDS_CAPABILITIES">FORMAT_EXCEEDS_CAPABILITIES</a>, <a href="../RendererCapabilities.html#FORMAT_HANDLED">FORMAT_HANDLED</a>, <a href="../RendererCapabilities.html#FORMAT_SUPPORT_MASK">FORMAT_SUPPORT_MASK</a>, <a href="../RendererCapabilities.html#FORMAT_UNSUPPORTED_DRM">FORMAT_UNSUPPORTED_DRM</a>, <a href="../RendererCapabilities.html#FORMAT_UNSUPPORTED_SUBTYPE">FORMAT_UNSUPPORTED_SUBTYPE</a>, <a href="../RendererCapabilities.html#FORMAT_UNSUPPORTED_TYPE">FORMAT_UNSUPPORTED_TYPE</a>, <a href="../RendererCapabilities.html#HARDWARE_ACCELERATION_NOT_SUPPORTED">HARDWARE_ACCELERATION_NOT_SUPPORTED</a>, <a href="../RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORT_MASK">HARDWARE_ACCELERATION_SUPPORT_MASK</a>, <a href="../RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORTED">HARDWARE_ACCELERATION_SUPPORTED</a>, <a href="../RendererCapabilities.html#MODE_SUPPORT_MASK">MODE_SUPPORT_MASK</a>, <a href="../RendererCapabilities.html#TUNNELING_NOT_SUPPORTED">TUNNELING_NOT_SUPPORTED</a>, <a href="../RendererCapabilities.html#TUNNELING_SUPPORT_MASK">TUNNELING_SUPPORT_MASK</a>, <a href="../RendererCapabilities.html#TUNNELING_SUPPORTED">TUNNELING_SUPPORTED</a></code></li>
|
||||
<code><a href="../RendererCapabilities.html#ADAPTIVE_NOT_SEAMLESS">ADAPTIVE_NOT_SEAMLESS</a>, <a href="../RendererCapabilities.html#ADAPTIVE_NOT_SUPPORTED">ADAPTIVE_NOT_SUPPORTED</a>, <a href="../RendererCapabilities.html#ADAPTIVE_SEAMLESS">ADAPTIVE_SEAMLESS</a>, <a href="../RendererCapabilities.html#ADAPTIVE_SUPPORT_MASK">ADAPTIVE_SUPPORT_MASK</a>, <a href="../RendererCapabilities.html#DECODER_SUPPORT_FALLBACK">DECODER_SUPPORT_FALLBACK</a>, <a href="../RendererCapabilities.html#DECODER_SUPPORT_FALLBACK_MIMETYPE">DECODER_SUPPORT_FALLBACK_MIMETYPE</a>, <a href="../RendererCapabilities.html#DECODER_SUPPORT_PRIMARY">DECODER_SUPPORT_PRIMARY</a>, <a href="../RendererCapabilities.html#FORMAT_EXCEEDS_CAPABILITIES">FORMAT_EXCEEDS_CAPABILITIES</a>, <a href="../RendererCapabilities.html#FORMAT_HANDLED">FORMAT_HANDLED</a>, <a href="../RendererCapabilities.html#FORMAT_SUPPORT_MASK">FORMAT_SUPPORT_MASK</a>, <a href="../RendererCapabilities.html#FORMAT_UNSUPPORTED_DRM">FORMAT_UNSUPPORTED_DRM</a>, <a href="../RendererCapabilities.html#FORMAT_UNSUPPORTED_SUBTYPE">FORMAT_UNSUPPORTED_SUBTYPE</a>, <a href="../RendererCapabilities.html#FORMAT_UNSUPPORTED_TYPE">FORMAT_UNSUPPORTED_TYPE</a>, <a href="../RendererCapabilities.html#HARDWARE_ACCELERATION_NOT_SUPPORTED">HARDWARE_ACCELERATION_NOT_SUPPORTED</a>, <a href="../RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORT_MASK">HARDWARE_ACCELERATION_SUPPORT_MASK</a>, <a href="../RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORTED">HARDWARE_ACCELERATION_SUPPORTED</a>, <a href="../RendererCapabilities.html#MODE_SUPPORT_MASK">MODE_SUPPORT_MASK</a>, <a href="../RendererCapabilities.html#TUNNELING_NOT_SUPPORTED">TUNNELING_NOT_SUPPORTED</a>, <a href="../RendererCapabilities.html#TUNNELING_SUPPORT_MASK">TUNNELING_SUPPORT_MASK</a>, <a href="../RendererCapabilities.html#TUNNELING_SUPPORTED">TUNNELING_SUPPORTED</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -640,7 +640,8 @@ public <a href="../util/MediaClock.html" title="interface in com.google.and
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>supportsFormatInternal</h4>
|
||||
<pre class="methodSignature"><a href="../C.FormatSupport.html" title="annotation in com.google.android.exoplayer2">@FormatSupport</a>
|
||||
<pre class="methodSignature">@ForOverride
|
||||
<a href="../C.FormatSupport.html" title="annotation in com.google.android.exoplayer2">@FormatSupport</a>
|
||||
protected abstract @com.google.android.exoplayer2.C.FormatSupport int supportsFormatInternal​(<a href="../Format.html" title="class in com.google.android.exoplayer2">Format</a> format)</pre>
|
||||
<div class="block">Returns the <a href="../C.FormatSupport.html" title="annotation in com.google.android.exoplayer2"><code>C.FormatSupport</code></a> for the given <a href="../Format.html" title="class in com.google.android.exoplayer2"><code>Format</code></a>.</div>
|
||||
<dl>
|
||||
@ -726,6 +727,7 @@ protected abstract @com.google.android.exoplayer2.C.FormatSupport int
|
||||
<li class="blockList">
|
||||
<h4>onPositionDiscontinuity</h4>
|
||||
<pre class="methodSignature">@CallSuper
|
||||
@ForOverride
|
||||
protected void onPositionDiscontinuity()</pre>
|
||||
<div class="block">See <a href="AudioSink.Listener.html#onPositionDiscontinuity()"><code>AudioSink.Listener.onPositionDiscontinuity()</code></a>.</div>
|
||||
</li>
|
||||
@ -736,7 +738,8 @@ protected void onPositionDiscontinuity()</pre>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createDecoder</h4>
|
||||
<pre class="methodSignature">protected abstract <a href="DecoderAudioRenderer.html" title="type parameter in DecoderAudioRenderer">T</a> createDecoder​(<a href="../Format.html" title="class in com.google.android.exoplayer2">Format</a> format,
|
||||
<pre class="methodSignature">@ForOverride
|
||||
protected abstract <a href="DecoderAudioRenderer.html" title="type parameter in DecoderAudioRenderer">T</a> createDecoder​(<a href="../Format.html" title="class in com.google.android.exoplayer2">Format</a> format,
|
||||
@Nullable
|
||||
<a href="../decoder/CryptoConfig.html" title="interface in com.google.android.exoplayer2.decoder">CryptoConfig</a> cryptoConfig)
|
||||
throws <a href="../decoder/DecoderException.html" title="class in com.google.android.exoplayer2.decoder">DecoderException</a></pre>
|
||||
@ -761,7 +764,8 @@ protected void onPositionDiscontinuity()</pre>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getOutputFormat</h4>
|
||||
<pre class="methodSignature">protected abstract <a href="../Format.html" title="class in com.google.android.exoplayer2">Format</a> getOutputFormat​(<a href="DecoderAudioRenderer.html" title="type parameter in DecoderAudioRenderer">T</a> decoder)</pre>
|
||||
<pre class="methodSignature">@ForOverride
|
||||
protected abstract <a href="../Format.html" title="class in com.google.android.exoplayer2">Format</a> getOutputFormat​(<a href="DecoderAudioRenderer.html" title="type parameter in DecoderAudioRenderer">T</a> decoder)</pre>
|
||||
<div class="block">Returns the format of audio buffers output by the decoder. Will not be called until the first
|
||||
output buffer has been dequeued, so the decoder may use input data to determine the format.</div>
|
||||
<dl>
|
||||
@ -776,7 +780,8 @@ protected void onPositionDiscontinuity()</pre>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>canReuseDecoder</h4>
|
||||
<pre class="methodSignature">protected <a href="../decoder/DecoderReuseEvaluation.html" title="class in com.google.android.exoplayer2.decoder">DecoderReuseEvaluation</a> canReuseDecoder​(<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> decoderName,
|
||||
<pre class="methodSignature">@ForOverride
|
||||
protected <a href="../decoder/DecoderReuseEvaluation.html" title="class in com.google.android.exoplayer2.decoder">DecoderReuseEvaluation</a> canReuseDecoder​(<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> decoderName,
|
||||
<a href="../Format.html" title="class in com.google.android.exoplayer2">Format</a> oldFormat,
|
||||
<a href="../Format.html" title="class in com.google.android.exoplayer2">Format</a> newFormat)</pre>
|
||||
<div class="block">Evaluates whether the existing decoder can be reused for a new <a href="../Format.html" title="class in com.google.android.exoplayer2"><code>Format</code></a>.
|
||||
|
@ -25,12 +25,6 @@
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
@ -95,7 +89,7 @@ loadScripts(document, 'script');</script>
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
@ -121,6 +115,10 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Superinterfaces:</dt>
|
||||
<dd><code><a href="AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessorChain</a></code></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>All Known Implementing Classes:</dt>
|
||||
<dd><code><a href="DefaultAudioSink.DefaultAudioProcessorChain.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.DefaultAudioProcessorChain</a></code></dd>
|
||||
</dl>
|
||||
@ -129,11 +127,12 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<dd><a href="DefaultAudioSink.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public static interface <span class="typeNameLabel">DefaultAudioSink.AudioProcessorChain</span></pre>
|
||||
<div class="block">Provides a chain of audio processors, which are used for any user-defined processing and
|
||||
applying playback parameters (if supported). Because applying playback parameters can skip and
|
||||
stretch/compress audio, the sink will query the chain for information on how to transform its
|
||||
output position to map it onto a media position, via <a href="#getMediaDuration(long)"><code>getMediaDuration(long)</code></a> and <a href="#getSkippedOutputFrameCount()"><code>getSkippedOutputFrameCount()</code></a>.</div>
|
||||
<pre><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public static interface <span class="typeNameLabel">DefaultAudioSink.AudioProcessorChain</span>
|
||||
extends <a href="AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessorChain</a></pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio"><code>AudioProcessorChain</code></a>.</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -147,147 +146,12 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="../PlaybackParameters.html" title="class in com.google.android.exoplayer2">PlaybackParameters</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#applyPlaybackParameters(com.google.android.exoplayer2.PlaybackParameters)">applyPlaybackParameters</a></span>​(<a href="../PlaybackParameters.html" title="class in com.google.android.exoplayer2">PlaybackParameters</a> playbackParameters)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Configures audio processors to apply the specified playback parameters immediately, returning
|
||||
the new playback parameters, which may differ from those passed in.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#applySkipSilenceEnabled(boolean)">applySkipSilenceEnabled</a></span>​(boolean skipSilenceEnabled)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Configures audio processors to apply whether to skip silences immediately, returning the new
|
||||
value.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="AudioProcessor.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessor</a>[]</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAudioProcessors()">getAudioProcessors</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the fixed chain of audio processors that will process audio.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>long</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMediaDuration(long)">getMediaDuration</a></span>​(long playoutDuration)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the media duration corresponding to the specified playout duration, taking speed
|
||||
adjustment due to audio processing into account.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>long</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSkippedOutputFrameCount()">getSkippedOutputFrameCount</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the number of output audio frames skipped since the audio processors were last
|
||||
flushed.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.com.google.android.exoplayer2.audio.AudioProcessorChain">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="getAudioProcessors()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getAudioProcessors</h4>
|
||||
<pre class="methodSignature"><a href="AudioProcessor.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessor</a>[] getAudioProcessors()</pre>
|
||||
<div class="block">Returns the fixed chain of audio processors that will process audio. This method is called
|
||||
once during initialization, but audio processors may change state to become active/inactive
|
||||
during playback.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="applyPlaybackParameters(com.google.android.exoplayer2.PlaybackParameters)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>applyPlaybackParameters</h4>
|
||||
<pre class="methodSignature"><a href="../PlaybackParameters.html" title="class in com.google.android.exoplayer2">PlaybackParameters</a> applyPlaybackParameters​(<a href="../PlaybackParameters.html" title="class in com.google.android.exoplayer2">PlaybackParameters</a> playbackParameters)</pre>
|
||||
<div class="block">Configures audio processors to apply the specified playback parameters immediately, returning
|
||||
the new playback parameters, which may differ from those passed in. Only called when
|
||||
processors have no input pending.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>playbackParameters</code> - The playback parameters to try to apply.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The playback parameters that were actually applied.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="applySkipSilenceEnabled(boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>applySkipSilenceEnabled</h4>
|
||||
<pre class="methodSignature">boolean applySkipSilenceEnabled​(boolean skipSilenceEnabled)</pre>
|
||||
<div class="block">Configures audio processors to apply whether to skip silences immediately, returning the new
|
||||
value. Only called when processors have no input pending.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>skipSilenceEnabled</code> - Whether silences should be skipped in the audio stream.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The new value.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getMediaDuration(long)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getMediaDuration</h4>
|
||||
<pre class="methodSignature">long getMediaDuration​(long playoutDuration)</pre>
|
||||
<div class="block">Returns the media duration corresponding to the specified playout duration, taking speed
|
||||
adjustment due to audio processing into account.
|
||||
|
||||
<p>The scaling performed by this method will use the actual playback speed achieved by the
|
||||
audio processor chain, on average, since it was last flushed. This may differ very slightly
|
||||
from the target playback speed.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>playoutDuration</code> - The playout duration to scale.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The corresponding media duration, in the same units as <code>duration</code>.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getSkippedOutputFrameCount()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getSkippedOutputFrameCount</h4>
|
||||
<pre class="methodSignature">long getSkippedOutputFrameCount()</pre>
|
||||
<div class="block">Returns the number of output audio frames skipped since the audio processors were last
|
||||
flushed.</div>
|
||||
</li>
|
||||
<h3>Methods inherited from interface com.google.android.exoplayer2.audio.<a href="AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessorChain</a></h3>
|
||||
<code><a href="AudioProcessorChain.html#applyPlaybackParameters(com.google.android.exoplayer2.PlaybackParameters)">applyPlaybackParameters</a>, <a href="AudioProcessorChain.html#applySkipSilenceEnabled(boolean)">applySkipSilenceEnabled</a>, <a href="AudioProcessorChain.html#getAudioProcessors()">getAudioProcessors</a>, <a href="AudioProcessorChain.html#getMediaDuration(long)">getMediaDuration</a>, <a href="AudioProcessorChain.html#getSkippedOutputFrameCount()">getSkippedOutputFrameCount</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -349,7 +213,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
|
@ -0,0 +1,331 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>DefaultAudioSink.AudioTrackBufferSizeProvider (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="DefaultAudioSink.AudioTrackBufferSizeProvider (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.audio</a></div>
|
||||
<h2 title="Interface DefaultAudioSink.AudioTrackBufferSizeProvider" class="title">Interface DefaultAudioSink.AudioTrackBufferSizeProvider</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Known Implementing Classes:</dt>
|
||||
<dd><code><a href="DefaultAudioTrackBufferSizeProvider.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioTrackBufferSizeProvider</a></code></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="DefaultAudioSink.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public static interface <span class="typeNameLabel">DefaultAudioSink.AudioTrackBufferSizeProvider</span></pre>
|
||||
<div class="block">Provides the buffer size to use when creating an <a href="https://developer.android.com/reference/android/media/AudioTrack.html" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack</code></a>.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Field</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="DefaultAudioSink.AudioTrackBufferSizeProvider.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioTrackBufferSizeProvider</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DEFAULT">DEFAULT</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Default instance.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBufferSizeInBytes(int,@com.google.android.exoplayer2.C.Encodingint,@com.google.android.exoplayer2.audio.DefaultAudioSink.OutputModeint,int,int,double)">getBufferSizeInBytes</a></span>​(int minBufferSizeInBytes,
|
||||
@com.google.android.exoplayer2.C.Encoding int encoding,
|
||||
@com.google.android.exoplayer2.audio.DefaultAudioSink.OutputMode int outputMode,
|
||||
int pcmFrameSize,
|
||||
int sampleRate,
|
||||
double maxAudioTrackPlaybackSpeed)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the buffer size to use when creating an <a href="https://developer.android.com/reference/android/media/AudioTrack.html" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack</code></a> for a specific format and
|
||||
output mode.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="field.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Detail</h3>
|
||||
<a id="DEFAULT">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>DEFAULT</h4>
|
||||
<pre>static final <a href="DefaultAudioSink.AudioTrackBufferSizeProvider.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioTrackBufferSizeProvider</a> DEFAULT</pre>
|
||||
<div class="block">Default instance.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="getBufferSizeInBytes(int,@com.google.android.exoplayer2.C.Encodingint,@com.google.android.exoplayer2.audio.DefaultAudioSink.OutputModeint,int,int,double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getBufferSizeInBytes</h4>
|
||||
<pre class="methodSignature">int getBufferSizeInBytes​(int minBufferSizeInBytes,
|
||||
@com.google.android.exoplayer2.C.Encoding int encoding,
|
||||
@com.google.android.exoplayer2.audio.DefaultAudioSink.OutputMode int outputMode,
|
||||
int pcmFrameSize,
|
||||
int sampleRate,
|
||||
double maxAudioTrackPlaybackSpeed)</pre>
|
||||
<div class="block">Returns the buffer size to use when creating an <a href="https://developer.android.com/reference/android/media/AudioTrack.html" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack</code></a> for a specific format and
|
||||
output mode.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>minBufferSizeInBytes</code> - The minimum buffer size in bytes required to play this format.
|
||||
See <a href="https://developer.android.com/reference/android/media/AudioTrack.html#getMinBufferSize(int,int,int)" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack.getMinBufferSize(int, int, int)</code></a>.</dd>
|
||||
<dd><code>encoding</code> - The <a href="../C.Encoding.html" title="annotation in com.google.android.exoplayer2"><code>C.Encoding</code></a> of the format.</dd>
|
||||
<dd><code>outputMode</code> - How the audio will be played. One of the <a href="DefaultAudioSink.OutputMode.html" title="annotation in com.google.android.exoplayer2.audio"><code>output modes</code></a>.</dd>
|
||||
<dd><code>pcmFrameSize</code> - The size of the PCM frames if the <code>encoding</code> is PCM, 1 otherwise,
|
||||
in bytes.</dd>
|
||||
<dd><code>sampleRate</code> - The sample rate of the format, in Hz.</dd>
|
||||
<dd><code>maxAudioTrackPlaybackSpeed</code> - The maximum speed the content will be played using <a href="https://developer.android.com/reference/android/media/AudioTrack.html#setPlaybackParams(android.media.PlaybackParams)" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack.setPlaybackParams(android.media.PlaybackParams)</code></a>. 0.5 is 2x slow motion, 1 is real time, 2 is 2x fast
|
||||
forward, etc. This will be <code>1</code> unless <a href="DefaultAudioSink.Builder.html#setEnableAudioTrackPlaybackParams(boolean)"><code>DefaultAudioSink.Builder.setEnableAudioTrackPlaybackParams(boolean)</code></a> is enabled.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The computed buffer size in bytes. It should always be <code>>=
|
||||
minBufferSizeInBytes</code>. The computed buffer size must contain an integer number of frames:
|
||||
<code>bufferSizeInBytes % pcmFrameSize == 0</code>.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</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};
|
||||
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";
|
||||
@ -195,9 +195,10 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAudioProcessorChain(com.google.android.exoplayer2.audio.DefaultAudioSink.AudioProcessorChain)">setAudioProcessorChain</a></span>​(<a href="DefaultAudioSink.AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioProcessorChain</a> audioProcessorChain)</code></th>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAudioProcessorChain(com.google.android.exoplayer2.audio.AudioProcessorChain)">setAudioProcessorChain</a></span>​(<a href="AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessorChain</a> audioProcessorChain)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the <a href="DefaultAudioSink.AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio"><code>DefaultAudioSink.AudioProcessorChain</code></a> to process audio before playback.</div>
|
||||
<div class="block">Sets the <a href="AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio"><code>AudioProcessorChain</code></a> to process audio
|
||||
before playback.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
@ -210,9 +211,9 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code><a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAudioTrackBufferSizeProvider(com.google.android.exoplayer2.audio.DefaultAudioSink.AudioTrackBufferSizeProvider)">setAudioTrackBufferSizeProvider</a></span>​(com.google.android.exoplayer2.audio.DefaultAudioSink.AudioTrackBufferSizeProvider audioTrackBufferSizeProvider)</code></th>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAudioTrackBufferSizeProvider(com.google.android.exoplayer2.audio.DefaultAudioSink.AudioTrackBufferSizeProvider)">setAudioTrackBufferSizeProvider</a></span>​(<a href="DefaultAudioSink.AudioTrackBufferSizeProvider.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioTrackBufferSizeProvider</a> audioTrackBufferSizeProvider)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets an <code>DefaultAudioSink.AudioTrackBufferSizeProvider</code> to compute the buffer size when <a href="DefaultAudioSink.html#configure(com.google.android.exoplayer2.Format,int,int%5B%5D)"><code>DefaultAudioSink.configure(com.google.android.exoplayer2.Format, int, int[])</code></a> is called with <code>specifiedBufferSize == 0</code>.</div>
|
||||
<div class="block">Sets an <a href="DefaultAudioSink.AudioTrackBufferSizeProvider.html" title="interface in com.google.android.exoplayer2.audio"><code>DefaultAudioSink.AudioTrackBufferSizeProvider</code></a> to compute the buffer size when <a href="DefaultAudioSink.html#configure(com.google.android.exoplayer2.Format,int,int%5B%5D)"><code>DefaultAudioSink.configure(com.google.android.exoplayer2.Format, int, int[])</code></a> is called with <code>specifiedBufferSize == 0</code>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
@ -231,6 +232,14 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code><a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setExperimentalAudioOffloadListener(com.google.android.exoplayer2.ExoPlayer.AudioOffloadListener)">setExperimentalAudioOffloadListener</a></span>​(<a href="../ExoPlayer.AudioOffloadListener.html" title="interface in com.google.android.exoplayer2">ExoPlayer.AudioOffloadListener</a> audioOffloadListener)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets an optional <a href="../ExoPlayer.AudioOffloadListener.html" title="interface in com.google.android.exoplayer2"><code>ExoPlayer.AudioOffloadListener</code></a> to receive events relevant to offloaded
|
||||
playback.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code><a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setOffloadMode(@com.google.android.exoplayer2.audio.DefaultAudioSink.OffloadModeint)">setOffloadMode</a></span>​(@com.google.android.exoplayer2.audio.DefaultAudioSink.OffloadMode int offloadMode)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the offload mode.</div>
|
||||
@ -286,7 +295,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAudioCapabilities</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a> setAudioCapabilities​(<a href="AudioCapabilities.html" title="class in com.google.android.exoplayer2.audio">AudioCapabilities</a> audioCapabilities)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a> setAudioCapabilities​(<a href="AudioCapabilities.html" title="class in com.google.android.exoplayer2.audio">AudioCapabilities</a> audioCapabilities)</pre>
|
||||
<div class="block">Sets audio capabilities for playback on this device. May be <code>null</code> if the default
|
||||
capabilities (no encoded audio passthrough support) should be assumed.
|
||||
|
||||
@ -299,7 +309,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAudioProcessors</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a> setAudioProcessors​(<a href="AudioProcessor.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessor</a>[] audioProcessors)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a> setAudioProcessors​(<a href="AudioProcessor.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessor</a>[] audioProcessors)</pre>
|
||||
<div class="block">Sets an array of <a href="AudioProcessor.html" title="interface in com.google.android.exoplayer2.audio"><code>AudioProcessors</code></a>s that will process PCM audio before
|
||||
output. May be empty. Equivalent of <code>setAudioProcessorChain(new
|
||||
DefaultAudioProcessorChain(audioProcessors)</code>.
|
||||
@ -307,16 +318,17 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<p>The default value is an empty array.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setAudioProcessorChain(com.google.android.exoplayer2.audio.DefaultAudioSink.AudioProcessorChain)">
|
||||
<a id="setAudioProcessorChain(com.google.android.exoplayer2.audio.AudioProcessorChain)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAudioProcessorChain</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a> setAudioProcessorChain​(<a href="DefaultAudioSink.AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioProcessorChain</a> audioProcessorChain)</pre>
|
||||
<div class="block">Sets the <a href="DefaultAudioSink.AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio"><code>DefaultAudioSink.AudioProcessorChain</code></a> to process audio before playback. The instance passed in
|
||||
must not be reused in other sinks. Processing chains are only supported for PCM playback (not
|
||||
passthrough or offload).
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a> setAudioProcessorChain​(<a href="AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessorChain</a> audioProcessorChain)</pre>
|
||||
<div class="block">Sets the <a href="AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio"><code>AudioProcessorChain</code></a> to process audio
|
||||
before playback. The instance passed in must not be reused in other sinks. Processing chains
|
||||
are only supported for PCM playback (not passthrough or offload).
|
||||
|
||||
<p>By default, no processing will be applied.</div>
|
||||
</li>
|
||||
@ -327,7 +339,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setEnableFloatOutput</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a> setEnableFloatOutput​(boolean enableFloatOutput)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a> setEnableFloatOutput​(boolean enableFloatOutput)</pre>
|
||||
<div class="block">Sets whether to enable 32-bit float output or integer output. Where possible, 32-bit float
|
||||
output will be used if the input is 32-bit float, and also if the input is high resolution
|
||||
(24-bit or 32-bit) integer PCM. Float output is supported from API level 21. Audio processing
|
||||
@ -342,7 +355,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setEnableAudioTrackPlaybackParams</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a> setEnableAudioTrackPlaybackParams​(boolean enableAudioTrackPlaybackParams)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a> setEnableAudioTrackPlaybackParams​(boolean enableAudioTrackPlaybackParams)</pre>
|
||||
<div class="block">Sets whether to control the playback speed using the platform implementation (see <a href="https://developer.android.com/reference/android/media/AudioTrack.html#setPlaybackParams(android.media.PlaybackParams)" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack.setPlaybackParams(PlaybackParams)</code></a>), if supported. If set to <code>false</code>, speed
|
||||
up/down of the audio will be done by ExoPlayer (see <a href="SonicAudioProcessor.html" title="class in com.google.android.exoplayer2.audio"><code>SonicAudioProcessor</code></a>). Platform
|
||||
speed adjustment is lower latency, but less reliable.
|
||||
@ -356,7 +370,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setOffloadMode</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a> setOffloadMode​(@com.google.android.exoplayer2.audio.DefaultAudioSink.OffloadMode int offloadMode)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a> setOffloadMode​(@com.google.android.exoplayer2.audio.DefaultAudioSink.OffloadMode int offloadMode)</pre>
|
||||
<div class="block">Sets the offload mode. If an audio format can be both played with offload and encoded audio
|
||||
passthrough, it will be played in offload. Audio offload is supported from API level 29. Most
|
||||
Android devices can only support one offload <a href="https://developer.android.com/reference/android/media/AudioTrack.html" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack</code></a> at a time and can invalidate
|
||||
@ -373,10 +388,26 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAudioTrackBufferSizeProvider</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a> setAudioTrackBufferSizeProvider​(com.google.android.exoplayer2.audio.DefaultAudioSink.AudioTrackBufferSizeProvider audioTrackBufferSizeProvider)</pre>
|
||||
<div class="block">Sets an <code>DefaultAudioSink.AudioTrackBufferSizeProvider</code> to compute the buffer size when <a href="DefaultAudioSink.html#configure(com.google.android.exoplayer2.Format,int,int%5B%5D)"><code>DefaultAudioSink.configure(com.google.android.exoplayer2.Format, int, int[])</code></a> is called with <code>specifiedBufferSize == 0</code>.
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a> setAudioTrackBufferSizeProvider​(<a href="DefaultAudioSink.AudioTrackBufferSizeProvider.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioTrackBufferSizeProvider</a> audioTrackBufferSizeProvider)</pre>
|
||||
<div class="block">Sets an <a href="DefaultAudioSink.AudioTrackBufferSizeProvider.html" title="interface in com.google.android.exoplayer2.audio"><code>DefaultAudioSink.AudioTrackBufferSizeProvider</code></a> to compute the buffer size when <a href="DefaultAudioSink.html#configure(com.google.android.exoplayer2.Format,int,int%5B%5D)"><code>DefaultAudioSink.configure(com.google.android.exoplayer2.Format, int, int[])</code></a> is called with <code>specifiedBufferSize == 0</code>.
|
||||
|
||||
<p>The default value is <code>DefaultAudioSink.AudioTrackBufferSizeProvider.DEFAULT</code>.</div>
|
||||
<p>The default value is <a href="DefaultAudioSink.AudioTrackBufferSizeProvider.html#DEFAULT"><code>DefaultAudioSink.AudioTrackBufferSizeProvider.DEFAULT</code></a>.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setExperimentalAudioOffloadListener(com.google.android.exoplayer2.ExoPlayer.AudioOffloadListener)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setExperimentalAudioOffloadListener</h4>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a> setExperimentalAudioOffloadListener​(@Nullable
|
||||
<a href="../ExoPlayer.AudioOffloadListener.html" title="interface in com.google.android.exoplayer2">ExoPlayer.AudioOffloadListener</a> audioOffloadListener)</pre>
|
||||
<div class="block">Sets an optional <a href="../ExoPlayer.AudioOffloadListener.html" title="interface in com.google.android.exoplayer2"><code>ExoPlayer.AudioOffloadListener</code></a> to receive events relevant to offloaded
|
||||
playback.
|
||||
|
||||
<p>The default value is null.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="build()">
|
||||
|
@ -130,7 +130,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><code><a href="DefaultAudioSink.AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioProcessorChain</a></code></dd>
|
||||
<dd><code><a href="AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessorChain</a></code>, <code><a href="DefaultAudioSink.AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioProcessorChain</a></code></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
@ -230,8 +230,7 @@ implements <a href="DefaultAudioSink.AudioProcessorChain.html" title="interface
|
||||
<td class="colFirst"><code>long</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSkippedOutputFrameCount()">getSkippedOutputFrameCount</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the number of output audio frames skipped since the audio processors were last
|
||||
flushed.</div>
|
||||
<div class="block">Returns the number of output audio frames skipped since the audio processors were last flushed.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -299,13 +298,13 @@ implements <a href="DefaultAudioSink.AudioProcessorChain.html" title="interface
|
||||
<li class="blockList">
|
||||
<h4>getAudioProcessors</h4>
|
||||
<pre class="methodSignature">public <a href="AudioProcessor.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessor</a>[] getAudioProcessors()</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="DefaultAudioSink.AudioProcessorChain.html#getAudioProcessors()">DefaultAudioSink.AudioProcessorChain</a></code></span></div>
|
||||
<div class="block">Returns the fixed chain of audio processors that will process audio. This method is called
|
||||
once during initialization, but audio processors may change state to become active/inactive
|
||||
during playback.</div>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="AudioProcessorChain.html#getAudioProcessors()">AudioProcessorChain</a></code></span></div>
|
||||
<div class="block">Returns the fixed chain of audio processors that will process audio. This method is called once
|
||||
during initialization, but audio processors may change state to become active/inactive during
|
||||
playback.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="DefaultAudioSink.AudioProcessorChain.html#getAudioProcessors()">getAudioProcessors</a></code> in interface <code><a href="DefaultAudioSink.AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioProcessorChain</a></code></dd>
|
||||
<dd><code><a href="AudioProcessorChain.html#getAudioProcessors()">getAudioProcessors</a></code> in interface <code><a href="AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessorChain</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
@ -316,13 +315,13 @@ implements <a href="DefaultAudioSink.AudioProcessorChain.html" title="interface
|
||||
<li class="blockList">
|
||||
<h4>applyPlaybackParameters</h4>
|
||||
<pre class="methodSignature">public <a href="../PlaybackParameters.html" title="class in com.google.android.exoplayer2">PlaybackParameters</a> applyPlaybackParameters​(<a href="../PlaybackParameters.html" title="class in com.google.android.exoplayer2">PlaybackParameters</a> playbackParameters)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="DefaultAudioSink.AudioProcessorChain.html#applyPlaybackParameters(com.google.android.exoplayer2.PlaybackParameters)">DefaultAudioSink.AudioProcessorChain</a></code></span></div>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="AudioProcessorChain.html#applyPlaybackParameters(com.google.android.exoplayer2.PlaybackParameters)">AudioProcessorChain</a></code></span></div>
|
||||
<div class="block">Configures audio processors to apply the specified playback parameters immediately, returning
|
||||
the new playback parameters, which may differ from those passed in. Only called when
|
||||
processors have no input pending.</div>
|
||||
the new playback parameters, which may differ from those passed in. Only called when processors
|
||||
have no input pending.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="DefaultAudioSink.AudioProcessorChain.html#applyPlaybackParameters(com.google.android.exoplayer2.PlaybackParameters)">applyPlaybackParameters</a></code> in interface <code><a href="DefaultAudioSink.AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioProcessorChain</a></code></dd>
|
||||
<dd><code><a href="AudioProcessorChain.html#applyPlaybackParameters(com.google.android.exoplayer2.PlaybackParameters)">applyPlaybackParameters</a></code> in interface <code><a href="AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessorChain</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>playbackParameters</code> - The playback parameters to try to apply.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
@ -337,12 +336,12 @@ implements <a href="DefaultAudioSink.AudioProcessorChain.html" title="interface
|
||||
<li class="blockList">
|
||||
<h4>applySkipSilenceEnabled</h4>
|
||||
<pre class="methodSignature">public boolean applySkipSilenceEnabled​(boolean skipSilenceEnabled)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="DefaultAudioSink.AudioProcessorChain.html#applySkipSilenceEnabled(boolean)">DefaultAudioSink.AudioProcessorChain</a></code></span></div>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="AudioProcessorChain.html#applySkipSilenceEnabled(boolean)">AudioProcessorChain</a></code></span></div>
|
||||
<div class="block">Configures audio processors to apply whether to skip silences immediately, returning the new
|
||||
value. Only called when processors have no input pending.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="DefaultAudioSink.AudioProcessorChain.html#applySkipSilenceEnabled(boolean)">applySkipSilenceEnabled</a></code> in interface <code><a href="DefaultAudioSink.AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioProcessorChain</a></code></dd>
|
||||
<dd><code><a href="AudioProcessorChain.html#applySkipSilenceEnabled(boolean)">applySkipSilenceEnabled</a></code> in interface <code><a href="AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessorChain</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>skipSilenceEnabled</code> - Whether silences should be skipped in the audio stream.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
@ -357,7 +356,7 @@ implements <a href="DefaultAudioSink.AudioProcessorChain.html" title="interface
|
||||
<li class="blockList">
|
||||
<h4>getMediaDuration</h4>
|
||||
<pre class="methodSignature">public long getMediaDuration​(long playoutDuration)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="DefaultAudioSink.AudioProcessorChain.html#getMediaDuration(long)">DefaultAudioSink.AudioProcessorChain</a></code></span></div>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="AudioProcessorChain.html#getMediaDuration(long)">AudioProcessorChain</a></code></span></div>
|
||||
<div class="block">Returns the media duration corresponding to the specified playout duration, taking speed
|
||||
adjustment due to audio processing into account.
|
||||
|
||||
@ -366,7 +365,7 @@ implements <a href="DefaultAudioSink.AudioProcessorChain.html" title="interface
|
||||
from the target playback speed.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="DefaultAudioSink.AudioProcessorChain.html#getMediaDuration(long)">getMediaDuration</a></code> in interface <code><a href="DefaultAudioSink.AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioProcessorChain</a></code></dd>
|
||||
<dd><code><a href="AudioProcessorChain.html#getMediaDuration(long)">getMediaDuration</a></code> in interface <code><a href="AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessorChain</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>playoutDuration</code> - The playout duration to scale.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
@ -381,12 +380,11 @@ implements <a href="DefaultAudioSink.AudioProcessorChain.html" title="interface
|
||||
<li class="blockList">
|
||||
<h4>getSkippedOutputFrameCount</h4>
|
||||
<pre class="methodSignature">public long getSkippedOutputFrameCount()</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="DefaultAudioSink.AudioProcessorChain.html#getSkippedOutputFrameCount()">DefaultAudioSink.AudioProcessorChain</a></code></span></div>
|
||||
<div class="block">Returns the number of output audio frames skipped since the audio processors were last
|
||||
flushed.</div>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="AudioProcessorChain.html#getSkippedOutputFrameCount()">AudioProcessorChain</a></code></span></div>
|
||||
<div class="block">Returns the number of output audio frames skipped since the audio processors were last flushed.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="DefaultAudioSink.AudioProcessorChain.html#getSkippedOutputFrameCount()">getSkippedOutputFrameCount</a></code> in interface <code><a href="DefaultAudioSink.AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioProcessorChain</a></code></dd>
|
||||
<dd><code><a href="AudioProcessorChain.html#getSkippedOutputFrameCount()">getSkippedOutputFrameCount</a></code> in interface <code><a href="AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessorChain</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -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};
|
||||
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};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@ -167,18 +167,26 @@ implements <a href="AudioSink.html" title="interface in com.google.android.exopl
|
||||
<td class="colFirst"><code>static interface </code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="DefaultAudioSink.AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioProcessorChain</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Provides a chain of audio processors, which are used for any user-defined processing and
|
||||
applying playback parameters (if supported).</div>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="deprecationComment">Use <a href="AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio"><code>AudioProcessorChain</code></a>.</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static interface </code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="DefaultAudioSink.AudioTrackBufferSizeProvider.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioTrackBufferSizeProvider</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Provides the buffer size to use when creating an <a href="https://developer.android.com/reference/android/media/AudioTrack.html" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.Builder</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">A builder to create <a href="DefaultAudioSink.html" title="class in com.google.android.exoplayer2.audio"><code>DefaultAudioSink</code></a> instances.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="DefaultAudioSink.DefaultAudioProcessorChain.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.DefaultAudioProcessorChain</a></span></code></th>
|
||||
<td class="colLast">
|
||||
@ -186,21 +194,21 @@ implements <a href="AudioSink.html" title="interface in com.google.android.exopl
|
||||
processors followed by <a href="SilenceSkippingAudioProcessor.html" title="class in com.google.android.exoplayer2.audio"><code>SilenceSkippingAudioProcessor</code></a> and <a href="SonicAudioProcessor.html" title="class in com.google.android.exoplayer2.audio"><code>SonicAudioProcessor</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="DefaultAudioSink.InvalidAudioTrackTimestampException.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioSink.InvalidAudioTrackTimestampException</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Thrown when the audio track has provided a spurious timestamp, if <a href="#failOnSpuriousAudioTimestamp"><code>failOnSpuriousAudioTimestamp</code></a> is set.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static interface </code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="DefaultAudioSink.OffloadMode.html" title="annotation in com.google.android.exoplayer2.audio">DefaultAudioSink.OffloadMode</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Audio offload mode configuration.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static interface </code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="DefaultAudioSink.OutputMode.html" title="annotation in com.google.android.exoplayer2.audio">DefaultAudioSink.OutputMode</a></span></code></th>
|
||||
<td class="colLast">
|
||||
@ -575,19 +583,26 @@ implements <a href="AudioSink.html" title="interface in com.google.android.exopl
|
||||
</tr>
|
||||
<tr id="i24" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPreferredDevice(android.media.AudioDeviceInfo)">setPreferredDevice</a></span>​(<a href="https://developer.android.com/reference/android/media/AudioDeviceInfo.html" title="class or interface in android.media" class="externalLink" target="_top">AudioDeviceInfo</a> audioDeviceInfo)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the preferred audio device.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i25" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSkipSilenceEnabled(boolean)">setSkipSilenceEnabled</a></span>​(boolean skipSilenceEnabled)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets whether silences should be skipped in the audio stream.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i25" class="rowColor">
|
||||
<tr id="i26" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVolume(float)">setVolume</a></span>​(float volume)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the playback volume.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i26" class="altColor">
|
||||
<tr id="i27" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#supportsFormat(com.google.android.exoplayer2.Format)">supportsFormat</a></span>​(<a href="../Format.html" title="class in com.google.android.exoplayer2">Format</a> format)</code></th>
|
||||
<td class="colLast">
|
||||
@ -602,6 +617,13 @@ implements <a href="AudioSink.html" title="interface in com.google.android.exopl
|
||||
<h3>Methods inherited from class java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
|
||||
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.com.google.android.exoplayer2.audio.AudioSink">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface com.google.android.exoplayer2.audio.<a href="AudioSink.html" title="interface in com.google.android.exoplayer2.audio">AudioSink</a></h3>
|
||||
<code><a href="AudioSink.html#setOutputStreamOffsetUs(long)">setOutputStreamOffsetUs</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
@ -1255,6 +1277,26 @@ public DefaultAudioSink​(@Nullable
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setPreferredDevice(android.media.AudioDeviceInfo)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPreferredDevice</h4>
|
||||
<pre class="methodSignature">@RequiresApi(23)
|
||||
public void setPreferredDevice​(@Nullable
|
||||
<a href="https://developer.android.com/reference/android/media/AudioDeviceInfo.html" title="class or interface in android.media" class="externalLink" target="_top">AudioDeviceInfo</a> audioDeviceInfo)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="AudioSink.html#setPreferredDevice(android.media.AudioDeviceInfo)">AudioSink</a></code></span></div>
|
||||
<div class="block">Sets the preferred audio device.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="AudioSink.html#setPreferredDevice(android.media.AudioDeviceInfo)">setPreferredDevice</a></code> in interface <code><a href="AudioSink.html" title="interface in com.google.android.exoplayer2.audio">AudioSink</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>audioDeviceInfo</code> - The preferred <a href="https://developer.android.com/reference/android/media/AudioDeviceInfo.html" title="class or interface in android.media" class="externalLink" target="_top">audio device</a>, or null to
|
||||
restore the default.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="enableTunnelingV21()">
|
||||
<!-- -->
|
||||
</a>
|
||||
|
@ -279,7 +279,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMinPcmBufferDurationUs</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultAudioTrackBufferSizeProvider.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioTrackBufferSizeProvider.Builder</a> setMinPcmBufferDurationUs​(int minPcmBufferDurationUs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultAudioTrackBufferSizeProvider.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioTrackBufferSizeProvider.Builder</a> setMinPcmBufferDurationUs​(int minPcmBufferDurationUs)</pre>
|
||||
<div class="block">Sets the minimum length for PCM <a href="https://developer.android.com/reference/android/media/AudioTrack.html" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack</code></a> buffers, in microseconds. Default is
|
||||
<a href="DefaultAudioTrackBufferSizeProvider.html#MIN_PCM_BUFFER_DURATION_US">250000</a>.</div>
|
||||
</li>
|
||||
@ -290,7 +291,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMaxPcmBufferDurationUs</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultAudioTrackBufferSizeProvider.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioTrackBufferSizeProvider.Builder</a> setMaxPcmBufferDurationUs​(int maxPcmBufferDurationUs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultAudioTrackBufferSizeProvider.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioTrackBufferSizeProvider.Builder</a> setMaxPcmBufferDurationUs​(int maxPcmBufferDurationUs)</pre>
|
||||
<div class="block">Sets the maximum length for PCM <a href="https://developer.android.com/reference/android/media/AudioTrack.html" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack</code></a> buffers, in microseconds. Default is
|
||||
<a href="DefaultAudioTrackBufferSizeProvider.html#MAX_PCM_BUFFER_DURATION_US">750000</a>.</div>
|
||||
</li>
|
||||
@ -301,7 +303,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPcmBufferMultiplicationFactor</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultAudioTrackBufferSizeProvider.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioTrackBufferSizeProvider.Builder</a> setPcmBufferMultiplicationFactor​(int pcmBufferMultiplicationFactor)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultAudioTrackBufferSizeProvider.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioTrackBufferSizeProvider.Builder</a> setPcmBufferMultiplicationFactor​(int pcmBufferMultiplicationFactor)</pre>
|
||||
<div class="block">Sets the multiplication factor to apply to the minimum buffer size requested. Default is
|
||||
<a href="DefaultAudioTrackBufferSizeProvider.html#PCM_BUFFER_MULTIPLICATION_FACTOR">4</a>.</div>
|
||||
</li>
|
||||
@ -312,7 +315,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPassthroughBufferDurationUs</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultAudioTrackBufferSizeProvider.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioTrackBufferSizeProvider.Builder</a> setPassthroughBufferDurationUs​(int passthroughBufferDurationUs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultAudioTrackBufferSizeProvider.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioTrackBufferSizeProvider.Builder</a> setPassthroughBufferDurationUs​(int passthroughBufferDurationUs)</pre>
|
||||
<div class="block">Sets the length for passthrough <a href="https://developer.android.com/reference/android/media/AudioTrack.html" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack</code></a> buffers, in microseconds. Default is
|
||||
<a href="DefaultAudioTrackBufferSizeProvider.html#PASSTHROUGH_BUFFER_DURATION_US">250000</a>.</div>
|
||||
</li>
|
||||
@ -323,7 +327,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setOffloadBufferDurationUs</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultAudioTrackBufferSizeProvider.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioTrackBufferSizeProvider.Builder</a> setOffloadBufferDurationUs​(int offloadBufferDurationUs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultAudioTrackBufferSizeProvider.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioTrackBufferSizeProvider.Builder</a> setOffloadBufferDurationUs​(int offloadBufferDurationUs)</pre>
|
||||
<div class="block">The length for offload <a href="https://developer.android.com/reference/android/media/AudioTrack.html" title="class or interface in android.media" class="externalLink"><code>AudioTrack</code></a> buffers, in microseconds. Default is <a href="DefaultAudioTrackBufferSizeProvider.html#OFFLOAD_BUFFER_DURATION_US" target="_top">50000000</a>.</div>
|
||||
</li>
|
||||
</ul>
|
||||
@ -333,7 +338,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAc3BufferMultiplicationFactor</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultAudioTrackBufferSizeProvider.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioTrackBufferSizeProvider.Builder</a> setAc3BufferMultiplicationFactor​(int ac3BufferMultiplicationFactor)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultAudioTrackBufferSizeProvider.Builder.html" title="class in com.google.android.exoplayer2.audio">DefaultAudioTrackBufferSizeProvider.Builder</a> setAc3BufferMultiplicationFactor​(int ac3BufferMultiplicationFactor)</pre>
|
||||
<div class="block">Sets the multiplication factor to apply to the passthrough buffer for AC3 to avoid underruns
|
||||
on some devices (e.g., Broadcom 7271). Default is <a href="DefaultAudioTrackBufferSizeProvider.html#AC3_BUFFER_MULTIPLICATION_FACTOR">2</a>.</div>
|
||||
</li>
|
||||
|
@ -128,9 +128,14 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><code><a href="DefaultAudioSink.AudioTrackBufferSizeProvider.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioTrackBufferSizeProvider</a></code></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public class <span class="typeNameLabel">DefaultAudioTrackBufferSizeProvider</span>
|
||||
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></pre>
|
||||
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a>
|
||||
implements <a href="DefaultAudioSink.AudioTrackBufferSizeProvider.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioTrackBufferSizeProvider</a></pre>
|
||||
<div class="block">Provide the buffer size to use when creating an <a href="https://developer.android.com/reference/android/media/AudioTrack.html" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack</code></a>.</div>
|
||||
</li>
|
||||
</ul>
|
||||
@ -186,41 +191,34 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static com.google.android.exoplayer2.audio.DefaultAudioSink.AudioTrackBufferSizeProvider</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DEFAULT">DEFAULT</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Default instance.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#maxPcmBufferDurationUs">maxPcmBufferDurationUs</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The maximum length for PCM <a href="https://developer.android.com/reference/android/media/AudioTrack.html" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack</code></a> buffers, in microseconds.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#minPcmBufferDurationUs">minPcmBufferDurationUs</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The minimum length for PCM <a href="https://developer.android.com/reference/android/media/AudioTrack.html" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack</code></a> buffers, in microseconds.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#offloadBufferDurationUs">offloadBufferDurationUs</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The length for offload <a href="https://developer.android.com/reference/android/media/AudioTrack.html" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack</code></a> buffers, in microseconds.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#passthroughBufferDurationUs">passthroughBufferDurationUs</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The length for passthrough <a href="https://developer.android.com/reference/android/media/AudioTrack.html" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack</code></a> buffers, in microseconds.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#pcmBufferMultiplicationFactor">pcmBufferMultiplicationFactor</a></span></code></th>
|
||||
<td class="colLast">
|
||||
@ -228,6 +226,13 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="fields.inherited.from.class.com.google.android.exoplayer2.audio.DefaultAudioSink.AudioTrackBufferSizeProvider">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface com.google.android.exoplayer2.audio.<a href="DefaultAudioSink.AudioTrackBufferSizeProvider.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioTrackBufferSizeProvider</a></h3>
|
||||
<code><a href="DefaultAudioSink.AudioTrackBufferSizeProvider.html#DEFAULT">DEFAULT</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
@ -294,7 +299,10 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
int pcmFrameSize,
|
||||
int sampleRate,
|
||||
double maxAudioTrackPlaybackSpeed)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the buffer size to use when creating an <a href="https://developer.android.com/reference/android/media/AudioTrack.html" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack</code></a> for a specific format and
|
||||
output mode.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>protected static int</code></td>
|
||||
@ -401,7 +409,7 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<a id="ac3BufferMultiplicationFactor">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>ac3BufferMultiplicationFactor</h4>
|
||||
<pre>public final int ac3BufferMultiplicationFactor</pre>
|
||||
@ -409,16 +417,6 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
(e.g., Broadcom 7271).</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="DEFAULT">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>DEFAULT</h4>
|
||||
<pre>public static final com.google.android.exoplayer2.audio.DefaultAudioSink.AudioTrackBufferSizeProvider DEFAULT</pre>
|
||||
<div class="block">Default instance.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
@ -460,6 +458,27 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
int pcmFrameSize,
|
||||
int sampleRate,
|
||||
double maxAudioTrackPlaybackSpeed)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="DefaultAudioSink.AudioTrackBufferSizeProvider.html#getBufferSizeInBytes(int,@com.google.android.exoplayer2.C.Encodingint,@com.google.android.exoplayer2.audio.DefaultAudioSink.OutputModeint,int,int,double)">DefaultAudioSink.AudioTrackBufferSizeProvider</a></code></span></div>
|
||||
<div class="block">Returns the buffer size to use when creating an <a href="https://developer.android.com/reference/android/media/AudioTrack.html" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack</code></a> for a specific format and
|
||||
output mode.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="DefaultAudioSink.AudioTrackBufferSizeProvider.html#getBufferSizeInBytes(int,@com.google.android.exoplayer2.C.Encodingint,@com.google.android.exoplayer2.audio.DefaultAudioSink.OutputModeint,int,int,double)">getBufferSizeInBytes</a></code> in interface <code><a href="DefaultAudioSink.AudioTrackBufferSizeProvider.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioTrackBufferSizeProvider</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>minBufferSizeInBytes</code> - The minimum buffer size in bytes required to play this format.
|
||||
See <a href="https://developer.android.com/reference/android/media/AudioTrack.html#getMinBufferSize(int,int,int)" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack.getMinBufferSize(int, int, int)</code></a>.</dd>
|
||||
<dd><code>encoding</code> - The <a href="../C.Encoding.html" title="annotation in com.google.android.exoplayer2"><code>C.Encoding</code></a> of the format.</dd>
|
||||
<dd><code>outputMode</code> - How the audio will be played. One of the <a href="DefaultAudioSink.OutputMode.html" title="annotation in com.google.android.exoplayer2.audio"><code>output modes</code></a>.</dd>
|
||||
<dd><code>pcmFrameSize</code> - The size of the PCM frames if the <code>encoding</code> is PCM, 1 otherwise,
|
||||
in bytes.</dd>
|
||||
<dd><code>sampleRate</code> - The sample rate of the format, in Hz.</dd>
|
||||
<dd><code>maxAudioTrackPlaybackSpeed</code> - The maximum speed the content will be played using <a href="https://developer.android.com/reference/android/media/AudioTrack.html#setPlaybackParams(android.media.PlaybackParams)" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack.setPlaybackParams(android.media.PlaybackParams)</code></a>. 0.5 is 2x slow motion, 1 is real time, 2 is 2x fast
|
||||
forward, etc. This will be <code>1</code> unless <a href="DefaultAudioSink.Builder.html#setEnableAudioTrackPlaybackParams(boolean)"><code>DefaultAudioSink.Builder.setEnableAudioTrackPlaybackParams(boolean)</code></a> is enabled.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The computed buffer size in bytes. It should always be <code>>=
|
||||
minBufferSizeInBytes</code>. The computed buffer size must contain an integer number of frames:
|
||||
<code>bufferSizeInBytes % pcmFrameSize == 0</code>.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="get1xBufferSizeInBytes(int,int,int,int,int)">
|
||||
|
@ -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};
|
||||
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};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@ -378,33 +378,48 @@ implements <a href="AudioSink.html" title="interface in com.google.android.exopl
|
||||
</tr>
|
||||
<tr id="i22" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setOutputStreamOffsetUs(long)">setOutputStreamOffsetUs</a></span>​(long outputStreamOffsetUs)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the offset that is added to the media timestamp before it is passed as <code>
|
||||
presentationTimeUs</code> in <a href="AudioSink.html#handleBuffer(java.nio.ByteBuffer,long,int)"><code>AudioSink.handleBuffer(ByteBuffer, long, int)</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i23" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlaybackParameters(com.google.android.exoplayer2.PlaybackParameters)">setPlaybackParameters</a></span>​(<a href="../PlaybackParameters.html" title="class in com.google.android.exoplayer2">PlaybackParameters</a> playbackParameters)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Attempts to set the playback parameters.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i23" class="rowColor">
|
||||
<tr id="i24" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlayerId(com.google.android.exoplayer2.analytics.PlayerId)">setPlayerId</a></span>​(<a href="../analytics/PlayerId.html" title="class in com.google.android.exoplayer2.analytics">PlayerId</a> playerId)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the <a href="../analytics/PlayerId.html" title="class in com.google.android.exoplayer2.analytics"><code>PlayerId</code></a> of the player using this audio sink.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i24" class="altColor">
|
||||
<tr id="i25" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPreferredDevice(android.media.AudioDeviceInfo)">setPreferredDevice</a></span>​(<a href="https://developer.android.com/reference/android/media/AudioDeviceInfo.html" title="class or interface in android.media" class="externalLink" target="_top">AudioDeviceInfo</a> audioDeviceInfo)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the preferred audio device.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i26" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSkipSilenceEnabled(boolean)">setSkipSilenceEnabled</a></span>​(boolean skipSilenceEnabled)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets whether silences should be skipped in the audio stream.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i25" class="rowColor">
|
||||
<tr id="i27" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVolume(float)">setVolume</a></span>​(float volume)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the playback volume.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i26" class="altColor">
|
||||
<tr id="i28" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#supportsFormat(com.google.android.exoplayer2.Format)">supportsFormat</a></span>​(<a href="../Format.html" title="class in com.google.android.exoplayer2">Format</a> format)</code></th>
|
||||
<td class="colLast">
|
||||
@ -824,6 +839,44 @@ public <a href="AudioAttributes.html" title="class in com.google.android.ex
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setPreferredDevice(android.media.AudioDeviceInfo)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPreferredDevice</h4>
|
||||
<pre class="methodSignature">@RequiresApi(23)
|
||||
public void setPreferredDevice​(@Nullable
|
||||
<a href="https://developer.android.com/reference/android/media/AudioDeviceInfo.html" title="class or interface in android.media" class="externalLink" target="_top">AudioDeviceInfo</a> audioDeviceInfo)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="AudioSink.html#setPreferredDevice(android.media.AudioDeviceInfo)">AudioSink</a></code></span></div>
|
||||
<div class="block">Sets the preferred audio device.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="AudioSink.html#setPreferredDevice(android.media.AudioDeviceInfo)">setPreferredDevice</a></code> in interface <code><a href="AudioSink.html" title="interface in com.google.android.exoplayer2.audio">AudioSink</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>audioDeviceInfo</code> - The preferred <a href="https://developer.android.com/reference/android/media/AudioDeviceInfo.html" title="class or interface in android.media" class="externalLink" target="_top">audio device</a>, or null to
|
||||
restore the default.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setOutputStreamOffsetUs(long)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setOutputStreamOffsetUs</h4>
|
||||
<pre class="methodSignature">public void setOutputStreamOffsetUs​(long outputStreamOffsetUs)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="AudioSink.html#setOutputStreamOffsetUs(long)">AudioSink</a></code></span></div>
|
||||
<div class="block">Sets the offset that is added to the media timestamp before it is passed as <code>
|
||||
presentationTimeUs</code> in <a href="AudioSink.html#handleBuffer(java.nio.ByteBuffer,long,int)"><code>AudioSink.handleBuffer(ByteBuffer, long, int)</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="AudioSink.html#setOutputStreamOffsetUs(long)">setOutputStreamOffsetUs</a></code> in interface <code><a href="AudioSink.html" title="interface in com.google.android.exoplayer2.audio">AudioSink</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>outputStreamOffsetUs</code> - The output stream offset in microseconds.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="enableTunnelingV21()">
|
||||
<!-- -->
|
||||
</a>
|
||||
|
@ -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};
|
||||
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};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@ -222,14 +222,14 @@ implements <a href="../util/MediaClock.html" title="interface in com.google.andr
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface com.google.android.exoplayer2.<a href="../Renderer.html" title="interface in com.google.android.exoplayer2">Renderer</a></h3>
|
||||
<code><a href="../Renderer.html#MSG_CUSTOM_BASE">MSG_CUSTOM_BASE</a>, <a href="../Renderer.html#MSG_SET_AUDIO_ATTRIBUTES">MSG_SET_AUDIO_ATTRIBUTES</a>, <a href="../Renderer.html#MSG_SET_AUDIO_SESSION_ID">MSG_SET_AUDIO_SESSION_ID</a>, <a href="../Renderer.html#MSG_SET_AUX_EFFECT_INFO">MSG_SET_AUX_EFFECT_INFO</a>, <a href="../Renderer.html#MSG_SET_CAMERA_MOTION_LISTENER">MSG_SET_CAMERA_MOTION_LISTENER</a>, <a href="../Renderer.html#MSG_SET_CHANGE_FRAME_RATE_STRATEGY">MSG_SET_CHANGE_FRAME_RATE_STRATEGY</a>, <a href="../Renderer.html#MSG_SET_SCALING_MODE">MSG_SET_SCALING_MODE</a>, <a href="../Renderer.html#MSG_SET_SKIP_SILENCE_ENABLED">MSG_SET_SKIP_SILENCE_ENABLED</a>, <a href="../Renderer.html#MSG_SET_VIDEO_FRAME_METADATA_LISTENER">MSG_SET_VIDEO_FRAME_METADATA_LISTENER</a>, <a href="../Renderer.html#MSG_SET_VIDEO_OUTPUT">MSG_SET_VIDEO_OUTPUT</a>, <a href="../Renderer.html#MSG_SET_VOLUME">MSG_SET_VOLUME</a>, <a href="../Renderer.html#MSG_SET_WAKEUP_LISTENER">MSG_SET_WAKEUP_LISTENER</a>, <a href="../Renderer.html#STATE_DISABLED">STATE_DISABLED</a>, <a href="../Renderer.html#STATE_ENABLED">STATE_ENABLED</a>, <a href="../Renderer.html#STATE_STARTED">STATE_STARTED</a></code></li>
|
||||
<code><a href="../Renderer.html#MSG_CUSTOM_BASE">MSG_CUSTOM_BASE</a>, <a href="../Renderer.html#MSG_SET_AUDIO_ATTRIBUTES">MSG_SET_AUDIO_ATTRIBUTES</a>, <a href="../Renderer.html#MSG_SET_AUDIO_SESSION_ID">MSG_SET_AUDIO_SESSION_ID</a>, <a href="../Renderer.html#MSG_SET_AUX_EFFECT_INFO">MSG_SET_AUX_EFFECT_INFO</a>, <a href="../Renderer.html#MSG_SET_CAMERA_MOTION_LISTENER">MSG_SET_CAMERA_MOTION_LISTENER</a>, <a href="../Renderer.html#MSG_SET_CHANGE_FRAME_RATE_STRATEGY">MSG_SET_CHANGE_FRAME_RATE_STRATEGY</a>, <a href="../Renderer.html#MSG_SET_PREFERRED_AUDIO_DEVICE">MSG_SET_PREFERRED_AUDIO_DEVICE</a>, <a href="../Renderer.html#MSG_SET_SCALING_MODE">MSG_SET_SCALING_MODE</a>, <a href="../Renderer.html#MSG_SET_SKIP_SILENCE_ENABLED">MSG_SET_SKIP_SILENCE_ENABLED</a>, <a href="../Renderer.html#MSG_SET_VIDEO_FRAME_METADATA_LISTENER">MSG_SET_VIDEO_FRAME_METADATA_LISTENER</a>, <a href="../Renderer.html#MSG_SET_VIDEO_OUTPUT">MSG_SET_VIDEO_OUTPUT</a>, <a href="../Renderer.html#MSG_SET_VOLUME">MSG_SET_VOLUME</a>, <a href="../Renderer.html#MSG_SET_WAKEUP_LISTENER">MSG_SET_WAKEUP_LISTENER</a>, <a href="../Renderer.html#STATE_DISABLED">STATE_DISABLED</a>, <a href="../Renderer.html#STATE_ENABLED">STATE_ENABLED</a>, <a href="../Renderer.html#STATE_STARTED">STATE_STARTED</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="fields.inherited.from.class.com.google.android.exoplayer2.RendererCapabilities">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface com.google.android.exoplayer2.<a href="../RendererCapabilities.html" title="interface in com.google.android.exoplayer2">RendererCapabilities</a></h3>
|
||||
<code><a href="../RendererCapabilities.html#ADAPTIVE_NOT_SEAMLESS">ADAPTIVE_NOT_SEAMLESS</a>, <a href="../RendererCapabilities.html#ADAPTIVE_NOT_SUPPORTED">ADAPTIVE_NOT_SUPPORTED</a>, <a href="../RendererCapabilities.html#ADAPTIVE_SEAMLESS">ADAPTIVE_SEAMLESS</a>, <a href="../RendererCapabilities.html#ADAPTIVE_SUPPORT_MASK">ADAPTIVE_SUPPORT_MASK</a>, <a href="../RendererCapabilities.html#DECODER_SUPPORT_FALLBACK">DECODER_SUPPORT_FALLBACK</a>, <a href="../RendererCapabilities.html#DECODER_SUPPORT_PRIMARY">DECODER_SUPPORT_PRIMARY</a>, <a href="../RendererCapabilities.html#FORMAT_EXCEEDS_CAPABILITIES">FORMAT_EXCEEDS_CAPABILITIES</a>, <a href="../RendererCapabilities.html#FORMAT_HANDLED">FORMAT_HANDLED</a>, <a href="../RendererCapabilities.html#FORMAT_SUPPORT_MASK">FORMAT_SUPPORT_MASK</a>, <a href="../RendererCapabilities.html#FORMAT_UNSUPPORTED_DRM">FORMAT_UNSUPPORTED_DRM</a>, <a href="../RendererCapabilities.html#FORMAT_UNSUPPORTED_SUBTYPE">FORMAT_UNSUPPORTED_SUBTYPE</a>, <a href="../RendererCapabilities.html#FORMAT_UNSUPPORTED_TYPE">FORMAT_UNSUPPORTED_TYPE</a>, <a href="../RendererCapabilities.html#HARDWARE_ACCELERATION_NOT_SUPPORTED">HARDWARE_ACCELERATION_NOT_SUPPORTED</a>, <a href="../RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORT_MASK">HARDWARE_ACCELERATION_SUPPORT_MASK</a>, <a href="../RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORTED">HARDWARE_ACCELERATION_SUPPORTED</a>, <a href="../RendererCapabilities.html#MODE_SUPPORT_MASK">MODE_SUPPORT_MASK</a>, <a href="../RendererCapabilities.html#TUNNELING_NOT_SUPPORTED">TUNNELING_NOT_SUPPORTED</a>, <a href="../RendererCapabilities.html#TUNNELING_SUPPORT_MASK">TUNNELING_SUPPORT_MASK</a>, <a href="../RendererCapabilities.html#TUNNELING_SUPPORTED">TUNNELING_SUPPORTED</a></code></li>
|
||||
<code><a href="../RendererCapabilities.html#ADAPTIVE_NOT_SEAMLESS">ADAPTIVE_NOT_SEAMLESS</a>, <a href="../RendererCapabilities.html#ADAPTIVE_NOT_SUPPORTED">ADAPTIVE_NOT_SUPPORTED</a>, <a href="../RendererCapabilities.html#ADAPTIVE_SEAMLESS">ADAPTIVE_SEAMLESS</a>, <a href="../RendererCapabilities.html#ADAPTIVE_SUPPORT_MASK">ADAPTIVE_SUPPORT_MASK</a>, <a href="../RendererCapabilities.html#DECODER_SUPPORT_FALLBACK">DECODER_SUPPORT_FALLBACK</a>, <a href="../RendererCapabilities.html#DECODER_SUPPORT_FALLBACK_MIMETYPE">DECODER_SUPPORT_FALLBACK_MIMETYPE</a>, <a href="../RendererCapabilities.html#DECODER_SUPPORT_PRIMARY">DECODER_SUPPORT_PRIMARY</a>, <a href="../RendererCapabilities.html#FORMAT_EXCEEDS_CAPABILITIES">FORMAT_EXCEEDS_CAPABILITIES</a>, <a href="../RendererCapabilities.html#FORMAT_HANDLED">FORMAT_HANDLED</a>, <a href="../RendererCapabilities.html#FORMAT_SUPPORT_MASK">FORMAT_SUPPORT_MASK</a>, <a href="../RendererCapabilities.html#FORMAT_UNSUPPORTED_DRM">FORMAT_UNSUPPORTED_DRM</a>, <a href="../RendererCapabilities.html#FORMAT_UNSUPPORTED_SUBTYPE">FORMAT_UNSUPPORTED_SUBTYPE</a>, <a href="../RendererCapabilities.html#FORMAT_UNSUPPORTED_TYPE">FORMAT_UNSUPPORTED_TYPE</a>, <a href="../RendererCapabilities.html#HARDWARE_ACCELERATION_NOT_SUPPORTED">HARDWARE_ACCELERATION_NOT_SUPPORTED</a>, <a href="../RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORT_MASK">HARDWARE_ACCELERATION_SUPPORT_MASK</a>, <a href="../RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORTED">HARDWARE_ACCELERATION_SUPPORTED</a>, <a href="../RendererCapabilities.html#MODE_SUPPORT_MASK">MODE_SUPPORT_MASK</a>, <a href="../RendererCapabilities.html#TUNNELING_NOT_SUPPORTED">TUNNELING_NOT_SUPPORTED</a>, <a href="../RendererCapabilities.html#TUNNELING_SUPPORT_MASK">TUNNELING_SUPPORT_MASK</a>, <a href="../RendererCapabilities.html#TUNNELING_SUPPORTED">TUNNELING_SUPPORTED</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -490,12 +490,19 @@ implements <a href="../util/MediaClock.html" title="interface in com.google.andr
|
||||
</tr>
|
||||
<tr id="i21" class="rowColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onOutputStreamOffsetUsChanged(long)">onOutputStreamOffsetUsChanged</a></span>​(long outputStreamOffsetUs)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Called after the output stream offset changes.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i22" class="altColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onPositionDiscontinuity()">onPositionDiscontinuity</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">See <a href="AudioSink.Listener.html#onPositionDiscontinuity()"><code>AudioSink.Listener.onPositionDiscontinuity()</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i22" class="altColor">
|
||||
<tr id="i23" class="rowColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onPositionReset(long,boolean)">onPositionReset</a></span>​(long positionUs,
|
||||
boolean joining)</code></th>
|
||||
@ -503,42 +510,42 @@ implements <a href="../util/MediaClock.html" title="interface in com.google.andr
|
||||
<div class="block">Called when the position is reset.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i23" class="rowColor">
|
||||
<tr id="i24" class="altColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onProcessedStreamChange()">onProcessedStreamChange</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Called after the last output buffer before a stream change has been processed.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i24" class="altColor">
|
||||
<tr id="i25" class="rowColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onQueueInputBuffer(com.google.android.exoplayer2.decoder.DecoderInputBuffer)">onQueueInputBuffer</a></span>​(<a href="../decoder/DecoderInputBuffer.html" title="class in com.google.android.exoplayer2.decoder">DecoderInputBuffer</a> buffer)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Called immediately before an input buffer is queued into the codec.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i25" class="rowColor">
|
||||
<tr id="i26" class="altColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onReset()">onReset</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Called when the renderer is reset.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i26" class="altColor">
|
||||
<tr id="i27" class="rowColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onStarted()">onStarted</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Called when the renderer is started.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i27" class="rowColor">
|
||||
<tr id="i28" class="altColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onStopped()">onStopped</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Called when the renderer is stopped.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i28" class="altColor">
|
||||
<tr id="i29" class="rowColor">
|
||||
<td class="colFirst"><code>protected boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#processOutputBuffer(long,long,com.google.android.exoplayer2.mediacodec.MediaCodecAdapter,java.nio.ByteBuffer,int,int,int,long,boolean,boolean,com.google.android.exoplayer2.Format)">processOutputBuffer</a></span>​(long positionUs,
|
||||
long elapsedRealtimeUs,
|
||||
@ -555,28 +562,28 @@ implements <a href="../util/MediaClock.html" title="interface in com.google.andr
|
||||
<div class="block">Processes an output media buffer.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i29" class="rowColor">
|
||||
<tr id="i30" class="altColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#renderToEndOfStream()">renderToEndOfStream</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Incrementally renders any remaining output.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i30" class="altColor">
|
||||
<tr id="i31" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlaybackParameters(com.google.android.exoplayer2.PlaybackParameters)">setPlaybackParameters</a></span>​(<a href="../PlaybackParameters.html" title="class in com.google.android.exoplayer2">PlaybackParameters</a> playbackParameters)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Attempts to set the playback parameters.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i31" class="rowColor">
|
||||
<tr id="i32" class="altColor">
|
||||
<td class="colFirst"><code>protected boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#shouldUseBypass(com.google.android.exoplayer2.Format)">shouldUseBypass</a></span>​(<a href="../Format.html" title="class in com.google.android.exoplayer2">Format</a> format)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns whether buffers in the input format can be processed without a codec.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i32" class="altColor">
|
||||
<tr id="i33" class="rowColor">
|
||||
<td class="colFirst"><code>protected @com.google.android.exoplayer2.RendererCapabilities.Capabilities int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#supportsFormat(com.google.android.exoplayer2.mediacodec.MediaCodecSelector,com.google.android.exoplayer2.Format)">supportsFormat</a></span>​(<a href="../mediacodec/MediaCodecSelector.html" title="interface in com.google.android.exoplayer2.mediacodec">MediaCodecSelector</a> mediaCodecSelector,
|
||||
<a href="../Format.html" title="class in com.google.android.exoplayer2">Format</a> format)</code></th>
|
||||
@ -1458,6 +1465,25 @@ protected void onPositionDiscontinuity()</pre>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="onOutputStreamOffsetUsChanged(long)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onOutputStreamOffsetUsChanged</h4>
|
||||
<pre class="methodSignature">protected void onOutputStreamOffsetUsChanged​(long outputStreamOffsetUs)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../mediacodec/MediaCodecRenderer.html#onOutputStreamOffsetUsChanged(long)">MediaCodecRenderer</a></code></span></div>
|
||||
<div class="block">Called after the output stream offset changes.
|
||||
|
||||
<p>The default implementation is a no-op.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../mediacodec/MediaCodecRenderer.html#onOutputStreamOffsetUsChanged(long)">onOutputStreamOffsetUsChanged</a></code> in class <code><a href="../mediacodec/MediaCodecRenderer.html" title="class in com.google.android.exoplayer2.mediacodec">MediaCodecRenderer</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>outputStreamOffsetUs</code> - The output stream offset in microseconds.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="handleMessage(@com.google.android.exoplayer2.Renderer.MessageTypeint,java.lang.Object)">
|
||||
<!-- -->
|
||||
</a>
|
||||
|
@ -477,7 +477,8 @@ extends <a href="BaseAudioProcessor.html" title="class in com.google.android.exo
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onConfigure</h4>
|
||||
<pre class="methodSignature">public <a href="AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a> onConfigure​(<a href="AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a> inputAudioFormat)
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a> onConfigure​(<a href="AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a> inputAudioFormat)
|
||||
throws <a href="AudioProcessor.UnhandledAudioFormatException.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.UnhandledAudioFormatException</a></pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="BaseAudioProcessor.html#onConfigure(com.google.android.exoplayer2.audio.AudioProcessor.AudioFormat)">BaseAudioProcessor</a></code></span></div>
|
||||
<div class="block">Called when the processor is configured for a new input format.</div>
|
||||
|
@ -269,8 +269,8 @@ implements <a href="AudioProcessor.html" title="interface in com.google.android.
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isEnded()">isEnded</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns whether this processor will return no more output from <a href="AudioProcessor.html#getOutput()"><code>AudioProcessor.getOutput()</code></a> until it
|
||||
has been <a href="AudioProcessor.html#flush()"><code>AudioProcessor.flush()</code></a>ed and more input has been queued.</div>
|
||||
<div class="block">Returns whether this processor will return no more output from <a href="AudioProcessor.html#getOutput()"><code>AudioProcessor.getOutput()</code></a> until
|
||||
<a href="AudioProcessor.html#flush()"><code>AudioProcessor.flush()</code></a> has been called and more input has been queued.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
@ -459,7 +459,8 @@ implements <a href="AudioProcessor.html" title="interface in com.google.android.
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>configure</h4>
|
||||
<pre class="methodSignature">public <a href="AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a> configure​(<a href="AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a> inputAudioFormat)
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a> configure​(<a href="AudioProcessor.AudioFormat.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.AudioFormat</a> inputAudioFormat)
|
||||
throws <a href="AudioProcessor.UnhandledAudioFormatException.html" title="class in com.google.android.exoplayer2.audio">AudioProcessor.UnhandledAudioFormatException</a></pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="AudioProcessor.html#configure(com.google.android.exoplayer2.audio.AudioProcessor.AudioFormat)">AudioProcessor</a></code></span></div>
|
||||
<div class="block">Configures the processor to process input audio with the specified format. After calling this
|
||||
@ -564,8 +565,8 @@ implements <a href="AudioProcessor.html" title="interface in com.google.android.
|
||||
<h4>isEnded</h4>
|
||||
<pre class="methodSignature">public boolean isEnded()</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="AudioProcessor.html#isEnded()">AudioProcessor</a></code></span></div>
|
||||
<div class="block">Returns whether this processor will return no more output from <a href="AudioProcessor.html#getOutput()"><code>AudioProcessor.getOutput()</code></a> until it
|
||||
has been <a href="AudioProcessor.html#flush()"><code>AudioProcessor.flush()</code></a>ed and more input has been queued.</div>
|
||||
<div class="block">Returns whether this processor will return no more output from <a href="AudioProcessor.html#getOutput()"><code>AudioProcessor.getOutput()</code></a> until
|
||||
<a href="AudioProcessor.html#flush()"><code>AudioProcessor.flush()</code></a> has been called and more input has been queued.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="AudioProcessor.html#isEnded()">isEnded</a></code> in interface <code><a href="AudioProcessor.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessor</a></code></dd>
|
||||
|
@ -146,8 +146,8 @@ extends <a href="BaseAudioProcessor.html" title="class in com.google.android.exo
|
||||
<p>This audio processor can be inserted into the audio processor chain to access audio data
|
||||
before/after particular processing steps have been applied. For example, to get audio output
|
||||
after playback speed adjustment and silence skipping have been applied it is necessary to pass a
|
||||
custom <a href="DefaultAudioSink.AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio"><code>DefaultAudioSink.AudioProcessorChain</code></a> when creating the audio sink, and include
|
||||
this audio processor after all other audio processors.</div>
|
||||
custom <a href="AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio"><code>AudioProcessorChain</code></a> when creating the audio sink, and include this audio processor
|
||||
after all other audio processors.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -117,28 +117,40 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">AudioProcessorChain</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Provides a chain of audio processors, which are used for any user-defined processing and applying
|
||||
playback parameters (if supported).</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="AudioRendererEventListener.html" title="interface in com.google.android.exoplayer2.audio">AudioRendererEventListener</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Listener of audio <a href="../Renderer.html" title="interface in com.google.android.exoplayer2"><code>Renderer</code></a> events.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="AudioSink.html" title="interface in com.google.android.exoplayer2.audio">AudioSink</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">A sink that consumes audio data.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="AudioSink.Listener.html" title="interface in com.google.android.exoplayer2.audio">AudioSink.Listener</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Listener for audio sink events.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="DefaultAudioSink.AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioProcessorChain</a></th>
|
||||
<td class="colLast">Deprecated.
|
||||
<div class="deprecationComment">Use <a href="AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio"><code>AudioProcessorChain</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="DefaultAudioSink.AudioTrackBufferSizeProvider.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioTrackBufferSizeProvider</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Provides a chain of audio processors, which are used for any user-defined processing and
|
||||
applying playback parameters (if supported).</div>
|
||||
<div class="block">Provides the buffer size to use when creating an <a href="https://developer.android.com/reference/android/media/AudioTrack.html" title="class or interface in android.media" class="externalLink" target="_top"><code>AudioTrack</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
|
@ -136,7 +136,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<li class="circle">com.google.android.exoplayer2.audio.<a href="DefaultAudioSink.html" title="class in com.google.android.exoplayer2.audio"><span class="typeNameLink">DefaultAudioSink</span></a> (implements com.google.android.exoplayer2.audio.<a href="AudioSink.html" title="interface in com.google.android.exoplayer2.audio">AudioSink</a>)</li>
|
||||
<li class="circle">com.google.android.exoplayer2.audio.<a href="DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio"><span class="typeNameLink">DefaultAudioSink.Builder</span></a></li>
|
||||
<li class="circle">com.google.android.exoplayer2.audio.<a href="DefaultAudioSink.DefaultAudioProcessorChain.html" title="class in com.google.android.exoplayer2.audio"><span class="typeNameLink">DefaultAudioSink.DefaultAudioProcessorChain</span></a> (implements com.google.android.exoplayer2.audio.<a href="DefaultAudioSink.AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioProcessorChain</a>)</li>
|
||||
<li class="circle">com.google.android.exoplayer2.audio.<a href="DefaultAudioTrackBufferSizeProvider.html" title="class in com.google.android.exoplayer2.audio"><span class="typeNameLink">DefaultAudioTrackBufferSizeProvider</span></a></li>
|
||||
<li class="circle">com.google.android.exoplayer2.audio.<a href="DefaultAudioTrackBufferSizeProvider.html" title="class in com.google.android.exoplayer2.audio"><span class="typeNameLink">DefaultAudioTrackBufferSizeProvider</span></a> (implements com.google.android.exoplayer2.audio.<a href="DefaultAudioSink.AudioTrackBufferSizeProvider.html" title="interface in com.google.android.exoplayer2.audio">DefaultAudioSink.AudioTrackBufferSizeProvider</a>)</li>
|
||||
<li class="circle">com.google.android.exoplayer2.audio.<a href="DefaultAudioTrackBufferSizeProvider.Builder.html" title="class in com.google.android.exoplayer2.audio"><span class="typeNameLink">DefaultAudioTrackBufferSizeProvider.Builder</span></a></li>
|
||||
<li class="circle">com.google.android.exoplayer2.audio.<a href="DtsUtil.html" title="class in com.google.android.exoplayer2.audio"><span class="typeNameLink">DtsUtil</span></a></li>
|
||||
<li class="circle">com.google.android.exoplayer2.audio.<a href="ForwardingAudioSink.html" title="class in com.google.android.exoplayer2.audio"><span class="typeNameLink">ForwardingAudioSink</span></a> (implements com.google.android.exoplayer2.audio.<a href="AudioSink.html" title="interface in com.google.android.exoplayer2.audio">AudioSink</a>)</li>
|
||||
@ -173,10 +173,15 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<ul>
|
||||
<li class="circle">com.google.android.exoplayer2.audio.<a href="AudioCapabilitiesReceiver.Listener.html" title="interface in com.google.android.exoplayer2.audio"><span class="typeNameLink">AudioCapabilitiesReceiver.Listener</span></a></li>
|
||||
<li class="circle">com.google.android.exoplayer2.audio.<a href="AudioProcessor.html" title="interface in com.google.android.exoplayer2.audio"><span class="typeNameLink">AudioProcessor</span></a></li>
|
||||
<li class="circle">com.google.android.exoplayer2.audio.<a href="AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio"><span class="typeNameLink">AudioProcessorChain</span></a>
|
||||
<ul>
|
||||
<li class="circle">com.google.android.exoplayer2.audio.<a href="DefaultAudioSink.AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio"><span class="typeNameLink">DefaultAudioSink.AudioProcessorChain</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="circle">com.google.android.exoplayer2.audio.<a href="AudioRendererEventListener.html" title="interface in com.google.android.exoplayer2.audio"><span class="typeNameLink">AudioRendererEventListener</span></a></li>
|
||||
<li class="circle">com.google.android.exoplayer2.audio.<a href="AudioSink.html" title="interface in com.google.android.exoplayer2.audio"><span class="typeNameLink">AudioSink</span></a></li>
|
||||
<li class="circle">com.google.android.exoplayer2.audio.<a href="AudioSink.Listener.html" title="interface in com.google.android.exoplayer2.audio"><span class="typeNameLink">AudioSink.Listener</span></a></li>
|
||||
<li class="circle">com.google.android.exoplayer2.audio.<a href="DefaultAudioSink.AudioProcessorChain.html" title="interface in com.google.android.exoplayer2.audio"><span class="typeNameLink">DefaultAudioSink.AudioProcessorChain</span></a></li>
|
||||
<li class="circle">com.google.android.exoplayer2.audio.<a href="DefaultAudioSink.AudioTrackBufferSizeProvider.html" title="interface in com.google.android.exoplayer2.audio"><span class="typeNameLink">DefaultAudioSink.AudioTrackBufferSizeProvider</span></a></li>
|
||||
<li class="circle">com.google.android.exoplayer2.audio.<a href="TeeAudioProcessor.AudioBufferSink.html" title="interface in com.google.android.exoplayer2.audio"><span class="typeNameLink">TeeAudioProcessor.AudioBufferSink</span></a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
@ -300,7 +300,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setKeyRequestParameters</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultDrmSessionManager.Builder.html" title="class in com.google.android.exoplayer2.drm">DefaultDrmSessionManager.Builder</a> setKeyRequestParameters​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultDrmSessionManager.Builder.html" title="class in com.google.android.exoplayer2.drm">DefaultDrmSessionManager.Builder</a> setKeyRequestParameters​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/util/Map.html" title="class or interface in java.util" class="externalLink">Map</a><<a href="https://developer.android.com/reference/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="https://developer.android.com/reference/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">String</a>> keyRequestParameters)</pre>
|
||||
<div class="block">Sets the key request parameters to pass as the last argument to <a href="ExoMediaDrm.html#getKeyRequest(byte%5B%5D,java.util.List,int,java.util.HashMap)"><code>ExoMediaDrm.getKeyRequest(byte[], List, int, HashMap)</code></a>. May be null if not parameters need to
|
||||
be passed.
|
||||
@ -320,7 +321,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setUuidAndExoMediaDrmProvider</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultDrmSessionManager.Builder.html" title="class in com.google.android.exoplayer2.drm">DefaultDrmSessionManager.Builder</a> setUuidAndExoMediaDrmProvider​(<a href="https://developer.android.com/reference/java/util/UUID.html" title="class or interface in java.util" class="externalLink" target="_top">UUID</a> uuid,
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultDrmSessionManager.Builder.html" title="class in com.google.android.exoplayer2.drm">DefaultDrmSessionManager.Builder</a> setUuidAndExoMediaDrmProvider​(<a href="https://developer.android.com/reference/java/util/UUID.html" title="class or interface in java.util" class="externalLink" target="_top">UUID</a> uuid,
|
||||
<a href="ExoMediaDrm.Provider.html" title="interface in com.google.android.exoplayer2.drm">ExoMediaDrm.Provider</a> exoMediaDrmProvider)</pre>
|
||||
<div class="block">Sets the UUID of the DRM scheme and the <a href="ExoMediaDrm.Provider.html" title="interface in com.google.android.exoplayer2.drm"><code>ExoMediaDrm.Provider</code></a> to use.</div>
|
||||
<dl>
|
||||
@ -338,7 +340,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMultiSession</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultDrmSessionManager.Builder.html" title="class in com.google.android.exoplayer2.drm">DefaultDrmSessionManager.Builder</a> setMultiSession​(boolean multiSession)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultDrmSessionManager.Builder.html" title="class in com.google.android.exoplayer2.drm">DefaultDrmSessionManager.Builder</a> setMultiSession​(boolean multiSession)</pre>
|
||||
<div class="block">Sets whether this session manager is allowed to acquire multiple simultaneous sessions.
|
||||
|
||||
<p>Users should pass false when a single key request will obtain all keys required to decrypt
|
||||
@ -358,7 +361,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setUseDrmSessionsForClearContent</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultDrmSessionManager.Builder.html" title="class in com.google.android.exoplayer2.drm">DefaultDrmSessionManager.Builder</a> setUseDrmSessionsForClearContent​(@com.google.android.exoplayer2.C.TrackType int... useDrmSessionsForClearContentTrackTypes)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultDrmSessionManager.Builder.html" title="class in com.google.android.exoplayer2.drm">DefaultDrmSessionManager.Builder</a> setUseDrmSessionsForClearContent​(@com.google.android.exoplayer2.C.TrackType int... useDrmSessionsForClearContentTrackTypes)</pre>
|
||||
<div class="block">Sets whether this session manager should attach <a href="DrmSession.html" title="interface in com.google.android.exoplayer2.drm"><code>DrmSessions</code></a> to the clear
|
||||
sections of the media content.
|
||||
|
||||
@ -383,7 +387,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPlayClearSamplesWithoutKeys</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultDrmSessionManager.Builder.html" title="class in com.google.android.exoplayer2.drm">DefaultDrmSessionManager.Builder</a> setPlayClearSamplesWithoutKeys​(boolean playClearSamplesWithoutKeys)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultDrmSessionManager.Builder.html" title="class in com.google.android.exoplayer2.drm">DefaultDrmSessionManager.Builder</a> setPlayClearSamplesWithoutKeys​(boolean playClearSamplesWithoutKeys)</pre>
|
||||
<div class="block">Sets whether clear samples within protected content should be played when keys for the
|
||||
encrypted part of the content have yet to be loaded.</div>
|
||||
<dl>
|
||||
@ -401,7 +406,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLoadErrorHandlingPolicy</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultDrmSessionManager.Builder.html" title="class in com.google.android.exoplayer2.drm">DefaultDrmSessionManager.Builder</a> setLoadErrorHandlingPolicy​(<a href="../upstream/LoadErrorHandlingPolicy.html" title="interface in com.google.android.exoplayer2.upstream">LoadErrorHandlingPolicy</a> loadErrorHandlingPolicy)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultDrmSessionManager.Builder.html" title="class in com.google.android.exoplayer2.drm">DefaultDrmSessionManager.Builder</a> setLoadErrorHandlingPolicy​(<a href="../upstream/LoadErrorHandlingPolicy.html" title="interface in com.google.android.exoplayer2.upstream">LoadErrorHandlingPolicy</a> loadErrorHandlingPolicy)</pre>
|
||||
<div class="block">Sets the <a href="../upstream/LoadErrorHandlingPolicy.html" title="interface in com.google.android.exoplayer2.upstream"><code>LoadErrorHandlingPolicy</code></a> for key and provisioning requests.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -417,7 +423,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSessionKeepaliveMs</h4>
|
||||
<pre class="methodSignature">public <a href="DefaultDrmSessionManager.Builder.html" title="class in com.google.android.exoplayer2.drm">DefaultDrmSessionManager.Builder</a> setSessionKeepaliveMs​(long sessionKeepaliveMs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="DefaultDrmSessionManager.Builder.html" title="class in com.google.android.exoplayer2.drm">DefaultDrmSessionManager.Builder</a> setSessionKeepaliveMs​(long sessionKeepaliveMs)</pre>
|
||||
<div class="block">Sets the time to keep <a href="DrmSession.html" title="interface in com.google.android.exoplayer2.drm"><code>DrmSessions</code></a> alive when they're not in use.
|
||||
|
||||
<p>It can be useful to keep sessions alive during playback of short clear sections of media
|
||||
|
@ -2,7 +2,7 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>SingleFrameGlTextureProcessor (ExoPlayer library)</title>
|
||||
<title>ColorLut (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
@ -19,14 +19,14 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="SingleFrameGlTextureProcessor (ExoPlayer library)";
|
||||
parent.document.title="ColorLut (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":6,"i1":6,"i2":6,"i3":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
||||
var data = {"i0":6,"i1":6,"i2":6,"i3":18};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
@ -113,26 +113,26 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.transformer</a></div>
|
||||
<h2 title="Interface SingleFrameGlTextureProcessor" class="title">Interface SingleFrameGlTextureProcessor</h2>
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Interface ColorLut" class="title">Interface ColorLut</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Superinterfaces:</dt>
|
||||
<dd><code><a href="../util/Effect.html" title="interface in com.google.android.exoplayer2.util">Effect</a></code>, <code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></code></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>All Known Implementing Classes:</dt>
|
||||
<dd><code><a href="SingleColorLut.html" title="class in com.google.android.exoplayer2.effect">SingleColorLut</a></code></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public interface <span class="typeNameLabel">SingleFrameGlTextureProcessor</span></pre>
|
||||
<div class="block">Manages a GLSL shader program for processing a frame. Implementations generally copy input pixels
|
||||
into an output frame, with changes to pixels specific to the implementation.
|
||||
|
||||
<p>Methods must be called in the following order:
|
||||
|
||||
<ol>
|
||||
<li>The constructor, for implementation-specific arguments.
|
||||
<li><a href="#initialize(android.content.Context,int,int,int)"><code>initialize(Context, int, int, int)</code></a>, to set up graphics initialization.
|
||||
<li><a href="#drawFrame(long)"><code>drawFrame(long)</code></a>, to process one frame.
|
||||
<li><a href="#release()"><code>release()</code></a>, upon conclusion of processing.
|
||||
</ol></div>
|
||||
<pre>public interface <span class="typeNameLabel">ColorLut</span>
|
||||
extends <a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></pre>
|
||||
<div class="block">Specifies color transformations using color lookup tables to apply to each frame in the fragment
|
||||
shader.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -147,42 +147,40 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#drawFrame(long)">drawFrame</a></span>​(long presentationTimeUs)</code></th>
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLength(long)">getLength</a></span>​(long presentationTimeUs)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Draws one frame.</div>
|
||||
<div class="block">Returns the length N of the 3D N x N x N LUT cube with the given timestamp.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://developer.android.com/reference/android/util/Size.html" title="class or interface in android.util" class="externalLink" target="_top">Size</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOutputSize()">getOutputSize</a></span>()</code></th>
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLutTextureId(long)">getLutTextureId</a></span>​(long presentationTimeUs)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the output <a href="https://developer.android.com/reference/android/util/Size.html" title="class or interface in android.util" class="externalLink"><code>Size</code></a> of frames processed through <a href="#drawFrame(long)" target="_top"><code>drawFrame(long)</code></a>.</div>
|
||||
<div class="block">Returns the OpenGL texture ID of the LUT to apply to the pixels of the frame with the given
|
||||
timestamp.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#initialize(android.content.Context,int,int,int)">initialize</a></span>​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
|
||||
int inputTexId,
|
||||
int inputWidth,
|
||||
int inputHeight)</code></th>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#release()">release</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Performs all initialization that requires OpenGL, such as, loading and compiling a GLSL shader
|
||||
program.</div>
|
||||
<div class="block">Releases the OpenGL texture of the LUT.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#release()">release</a></span>()</code></th>
|
||||
<td class="colFirst"><code>default <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect">SingleFrameGlTextureProcessor</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></span>​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
|
||||
boolean useHdr)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Releases all resources.</div>
|
||||
<div class="block">This method must be executed on the same thread as other GL commands.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -202,75 +200,63 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="initialize(android.content.Context,int,int,int)">
|
||||
<a id="getLutTextureId(long)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>initialize</h4>
|
||||
<pre class="methodSignature">void initialize​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
|
||||
int inputTexId,
|
||||
int inputWidth,
|
||||
int inputHeight)
|
||||
throws <a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></pre>
|
||||
<div class="block">Performs all initialization that requires OpenGL, such as, loading and compiling a GLSL shader
|
||||
program.
|
||||
|
||||
<p>This method may only be called if there is a current OpenGL context.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>context</code> - The <a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top"><code>Context</code></a>.</dd>
|
||||
<dd><code>inputTexId</code> - Identifier of a 2D OpenGL texture.</dd>
|
||||
<dd><code>inputWidth</code> - The input width, in pixels.</dd>
|
||||
<dd><code>inputHeight</code> - The input height, in pixels.</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></code> - If an error occurs while reading resources.</dd>
|
||||
</dl>
|
||||
<h4>getLutTextureId</h4>
|
||||
<pre class="methodSignature">int getLutTextureId​(long presentationTimeUs)</pre>
|
||||
<div class="block">Returns the OpenGL texture ID of the LUT to apply to the pixels of the frame with the given
|
||||
timestamp.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getOutputSize()">
|
||||
<a id="getLength(long)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getOutputSize</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/android/util/Size.html" title="class or interface in android.util" class="externalLink" target="_top">Size</a> getOutputSize()</pre>
|
||||
<div class="block">Returns the output <a href="https://developer.android.com/reference/android/util/Size.html" title="class or interface in android.util" class="externalLink"><code>Size</code></a> of frames processed through <a href="#drawFrame(long)" target="_top"><code>drawFrame(long)</code></a>.
|
||||
|
||||
<p>This method may only be called after the texture processor has been <a href="#initialize(android.content.Context,int,int,int)"><code>initialized</code></a>.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="drawFrame(long)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>drawFrame</h4>
|
||||
<pre class="methodSignature">void drawFrame​(long presentationTimeUs)
|
||||
throws <a href="FrameProcessingException.html" title="class in com.google.android.exoplayer2.transformer">FrameProcessingException</a></pre>
|
||||
<div class="block">Draws one frame.
|
||||
|
||||
<p>This method may only be called after the texture processor has been <a href="#initialize(android.content.Context,int,int,int)"><code>initialized</code></a>. The caller is responsible for focussing the
|
||||
correct render target before calling this method.
|
||||
|
||||
<p>A minimal implementation should tell OpenGL to use its shader program, bind the shader
|
||||
program's vertex attributes and uniforms, and issue a drawing command.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>presentationTimeUs</code> - The presentation timestamp of the current frame, in microseconds.</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="FrameProcessingException.html" title="class in com.google.android.exoplayer2.transformer">FrameProcessingException</a></code> - If an error occurs while processing or drawing the frame.</dd>
|
||||
</dl>
|
||||
<h4>getLength</h4>
|
||||
<pre class="methodSignature">int getLength​(long presentationTimeUs)</pre>
|
||||
<div class="block">Returns the length N of the 3D N x N x N LUT cube with the given timestamp.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="release()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>release</h4>
|
||||
<pre class="methodSignature">void release()</pre>
|
||||
<div class="block">Releases all resources.</div>
|
||||
<pre class="methodSignature">void release()
|
||||
throws <a href="../util/GlUtil.GlException.html" title="class in com.google.android.exoplayer2.util">GlUtil.GlException</a></pre>
|
||||
<div class="block">Releases the OpenGL texture of the LUT.</div>
|
||||
<dl>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../util/GlUtil.GlException.html" title="class in com.google.android.exoplayer2.util">GlUtil.GlException</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="toGlTextureProcessor(android.content.Context,boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toGlTextureProcessor</h4>
|
||||
<pre class="methodSignature">@WorkerThread
|
||||
default <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect">SingleFrameGlTextureProcessor</a> toGlTextureProcessor​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
|
||||
boolean useHdr)
|
||||
throws <a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></pre>
|
||||
<div class="block">This method must be executed on the same thread as other GL commands.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="GlEffect.html#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></code> in interface <code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>context</code> - A <a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top"><code>Context</code></a>.</dd>
|
||||
<dd><code>useHdr</code> - Whether input textures come from an HDR source. If <code>true</code>, colors will be
|
||||
in linear RGB BT.2020. If <code>false</code>, colors will be in linear RGB BT.709.</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
@ -0,0 +1,376 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>Contrast (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Contrast (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Class Contrast" class="title">Class Contrast</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.google.android.exoplayer2.effect.Contrast</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></code>, <code><a href="../util/Effect.html" title="interface in com.google.android.exoplayer2.util">Effect</a></code></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public class <span class="typeNameLabel">Contrast</span>
|
||||
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a>
|
||||
implements <a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></pre>
|
||||
<div class="block">A <a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect"><code>GlEffect</code></a> to control the contrast of video frames.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Field</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>float</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#contrast">contrast</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Adjusts the contrast of video frames in the interval [-1, 1].</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Constructor</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(float)">Contrast</a></span>​(float contrast)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Creates a new instance for the given contrast value.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect">SingleFrameGlTextureProcessor</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></span>​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
|
||||
boolean useHdr)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns a <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect"><code>SingleFrameGlTextureProcessor</code></a> that applies the effect.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
|
||||
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="field.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Detail</h3>
|
||||
<a id="contrast">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>contrast</h4>
|
||||
<pre>public final float contrast</pre>
|
||||
<div class="block">Adjusts the contrast of video frames in the interval [-1, 1].</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a id="<init>(float)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Contrast</h4>
|
||||
<pre>public Contrast​(float contrast)</pre>
|
||||
<div class="block">Creates a new instance for the given contrast value.
|
||||
|
||||
<p>Contrast values range from -1 (all gray pixels) to 1 (maximum difference of colors). 0 means
|
||||
to add no contrast and leaves the frames unchanged.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="toGlTextureProcessor(android.content.Context,boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toGlTextureProcessor</h4>
|
||||
<pre class="methodSignature">public <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect">SingleFrameGlTextureProcessor</a> toGlTextureProcessor​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
|
||||
boolean useHdr)
|
||||
throws <a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="GlEffect.html#toGlTextureProcessor(android.content.Context,boolean)">GlEffect</a></code></span></div>
|
||||
<div class="block">Returns a <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect"><code>SingleFrameGlTextureProcessor</code></a> that applies the effect.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="GlEffect.html#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></code> in interface <code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>context</code> - A <a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top"><code>Context</code></a>.</dd>
|
||||
<dd><code>useHdr</code> - Whether input textures come from an HDR source. If <code>true</code>, colors will be
|
||||
in linear RGB BT.2020. If <code>false</code>, colors will be in linear RGB BT.709.</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -2,7 +2,7 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>Presentation.Builder (ExoPlayer library)</title>
|
||||
<title>Crop (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
@ -19,13 +19,13 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Presentation.Builder (ExoPlayer library)";
|
||||
parent.document.title="Crop (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":10,"i1":10,"i2":10,"i3":10};
|
||||
var data = {"i0":10,"i1":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@ -113,15 +113,15 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.transformer</a></div>
|
||||
<h2 title="Class Presentation.Builder" class="title">Class Presentation.Builder</h2>
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Class Crop" class="title">Class Crop</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.google.android.exoplayer2.transformer.Presentation.Builder</li>
|
||||
<li>com.google.android.exoplayer2.effect.Crop</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -129,13 +129,16 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="Presentation.html" title="class in com.google.android.exoplayer2.transformer">Presentation</a></dd>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></code>, <code><a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">GlMatrixTransformation</a></code>, <code><a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">MatrixTransformation</a></code>, <code><a href="../util/Effect.html" title="interface in com.google.android.exoplayer2.util">Effect</a></code></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public static final class <span class="typeNameLabel">Presentation.Builder</span>
|
||||
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></pre>
|
||||
<div class="block">A builder for <a href="Presentation.html" title="class in com.google.android.exoplayer2.transformer"><code>Presentation</code></a> instances.</div>
|
||||
<pre>public final class <span class="typeNameLabel">Crop</span>
|
||||
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a>
|
||||
implements <a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">MatrixTransformation</a></pre>
|
||||
<div class="block">Specifies a crop to apply in the vertex shader.
|
||||
|
||||
<p>The background color of the output frame will be black, with alpha = 0 if applicable.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -156,9 +159,13 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">Builder</a></span>()</code></th>
|
||||
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(float,float,float,float)">Crop</a></span>​(float left,
|
||||
float right,
|
||||
float bottom,
|
||||
float top)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Creates a builder with default values.</div>
|
||||
<div class="block">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.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -180,34 +187,18 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="Presentation.html" title="class in com.google.android.exoplayer2.transformer">Presentation</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#build()">build</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colFirst"><code><a href="https://developer.android.com/reference/android/util/Pair.html" title="class or interface in android.util" class="externalLink">Pair</a><<a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>,​<a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a>></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#configure(int,int)">configure</a></span>​(int inputWidth,
|
||||
int inputHeight)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Configures the input and output dimensions.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="Presentation.Builder.html" title="class in com.google.android.exoplayer2.transformer">Presentation.Builder</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAspectRatio(float,@com.google.android.exoplayer2.transformer.Presentation.Layoutint)">setAspectRatio</a></span>​(float aspectRatio,
|
||||
@com.google.android.exoplayer2.transformer.Presentation.Layout int layout)</code></th>
|
||||
<td class="colFirst"><code><a href="https://developer.android.com/reference/android/graphics/Matrix.html" title="class or interface in android.graphics" class="externalLink" target="_top">Matrix</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMatrix(long)">getMatrix</a></span>​(long presentationTimeUs)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the aspect ratio (width/height ratio) for the output frame.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="Presentation.Builder.html" title="class in com.google.android.exoplayer2.transformer">Presentation.Builder</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCrop(float,float,float,float)">setCrop</a></span>​(float left,
|
||||
float right,
|
||||
float bottom,
|
||||
float top)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">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.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code><a href="Presentation.Builder.html" title="class in com.google.android.exoplayer2.transformer">Presentation.Builder</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setResolution(int)">setResolution</a></span>​(int height)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the output resolution using the output height.</div>
|
||||
<div class="block">Returns the 3x3 transformation <a href="https://developer.android.com/reference/android/graphics/Matrix.html" title="class or interface in android.graphics" class="externalLink" target="_top"><code>Matrix</code></a> to apply to the frame with the given timestamp.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -218,6 +209,20 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<h3>Methods inherited from class java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
|
||||
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.com.google.android.exoplayer2.effect.GlMatrixTransformation">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface com.google.android.exoplayer2.effect.<a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">GlMatrixTransformation</a></h3>
|
||||
<code><a href="GlMatrixTransformation.html#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.com.google.android.exoplayer2.effect.MatrixTransformation">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface com.google.android.exoplayer2.effect.<a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">MatrixTransformation</a></h3>
|
||||
<code><a href="MatrixTransformation.html#getGlMatrixArray(long)">getGlMatrixArray</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
@ -234,14 +239,29 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a id="<init>()">
|
||||
<a id="<init>(float,float,float,float)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Builder</h4>
|
||||
<pre>public Builder()</pre>
|
||||
<div class="block">Creates a builder with default values.</div>
|
||||
<h4>Crop</h4>
|
||||
<pre>public Crop​(float left,
|
||||
float right,
|
||||
float bottom,
|
||||
float top)</pre>
|
||||
<div class="block">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.
|
||||
|
||||
<p><code>left</code> and <code>bottom</code> default to -1, and <code>right</code> and <code>top</code> 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.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>left</code> - The left edge of the output frame, in NDC. Must be less than <code>right</code>.</dd>
|
||||
<dd><code>right</code> - The right edge of the output frame, in NDC. Must be greater than <code>left</code>.</dd>
|
||||
<dd><code>bottom</code> - The bottom edge of the output frame, in NDC. Must be less than <code>top</code>.</dd>
|
||||
<dd><code>top</code> - The top edge of the output frame, in NDC. Must be greater than <code>bottom</code>.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
@ -254,97 +274,42 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="setResolution(int)">
|
||||
<a id="configure(int,int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setResolution</h4>
|
||||
<pre class="methodSignature">public <a href="Presentation.Builder.html" title="class in com.google.android.exoplayer2.transformer">Presentation.Builder</a> setResolution​(int height)</pre>
|
||||
<div class="block">Sets the output resolution using the output height.
|
||||
<h4>configure</h4>
|
||||
<pre class="methodSignature">public <a href="https://developer.android.com/reference/android/util/Pair.html" title="class or interface in android.util" class="externalLink">Pair</a><<a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>,​<a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a>> configure​(int inputWidth,
|
||||
int inputHeight)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="GlMatrixTransformation.html#configure(int,int)">GlMatrixTransformation</a></code></span></div>
|
||||
<div class="block">Configures the input and output dimensions.
|
||||
|
||||
<p>The default value, <a href="../C.html#LENGTH_UNSET"><code>C.LENGTH_UNSET</code></a>, 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.
|
||||
|
||||
<p>For example, a 1920x1440 frame can be scaled to 640x480 by calling <code>
|
||||
setResolution(480)</code>.</div>
|
||||
<p>Must be called before <a href="GlMatrixTransformation.html#getGlMatrixArray(long)"><code>GlMatrixTransformation.getGlMatrixArray(long)</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="GlMatrixTransformation.html#configure(int,int)">configure</a></code> in interface <code><a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">GlMatrixTransformation</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>height</code> - The output height of the displayed frame, in pixels.</dd>
|
||||
<dd><code>inputWidth</code> - The input frame width, in pixels.</dd>
|
||||
<dd><code>inputHeight</code> - The input frame height, in pixels.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>This builder.</dd>
|
||||
<dd>The output frame width and height, in pixels.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setCrop(float,float,float,float)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setCrop</h4>
|
||||
<pre class="methodSignature">public <a href="Presentation.Builder.html" title="class in com.google.android.exoplayer2.transformer">Presentation.Builder</a> setCrop​(float left,
|
||||
float right,
|
||||
float bottom,
|
||||
float top)</pre>
|
||||
<div class="block">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.
|
||||
|
||||
<p><code>left</code> and <code>bottom</code> default to -1, and <code>right</code> and <code>top</code> 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.
|
||||
|
||||
<p>Width and height values set may be rescaled by <a href="#setResolution(int)"><code>setResolution(int)</code></a>, which is
|
||||
applied after cropping changes.
|
||||
|
||||
<p>Only one of <code>setCrop</code> or <a href="#setAspectRatio(float,@com.google.android.exoplayer2.transformer.Presentation.Layoutint)"><code>setAspectRatio(float, int)</code></a> can be called for one
|
||||
<a href="Presentation.html" title="class in com.google.android.exoplayer2.transformer"><code>Presentation</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>left</code> - The left edge of the output frame, in NDC. Must be less than <code>right</code>.</dd>
|
||||
<dd><code>right</code> - The right edge of the output frame, in NDC. Must be greater than <code>left</code>.</dd>
|
||||
<dd><code>bottom</code> - The bottom edge of the output frame, in NDC. Must be less than <code>top</code>.</dd>
|
||||
<dd><code>top</code> - The top edge of the output frame, in NDC. Must be greater than <code>bottom</code>.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>This builder.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setAspectRatio(float,@com.google.android.exoplayer2.transformer.Presentation.Layoutint)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAspectRatio</h4>
|
||||
<pre class="methodSignature">public <a href="Presentation.Builder.html" title="class in com.google.android.exoplayer2.transformer">Presentation.Builder</a> setAspectRatio​(float aspectRatio,
|
||||
@com.google.android.exoplayer2.transformer.Presentation.Layout int layout)</pre>
|
||||
<div class="block">Sets the aspect ratio (width/height ratio) for the output frame.
|
||||
|
||||
<p>Resizes a frame's width or height to conform to an <code>aspectRatio</code>, given a <a href="Presentation.Layout.html" title="annotation in com.google.android.exoplayer2.transformer"><code>Presentation.Layout</code></a>. <code>aspectRatio</code> defaults to <a href="../C.html#LENGTH_UNSET"><code>C.LENGTH_UNSET</code></a>, which corresponds to the
|
||||
same aspect ratio as the input frame. <code>layout</code> defaults to <a href="Presentation.html#LAYOUT_SCALE_TO_FIT"><code>Presentation.LAYOUT_SCALE_TO_FIT</code></a>
|
||||
|
||||
<p>Width and height values set may be rescaled by <a href="#setResolution(int)"><code>setResolution(int)</code></a>, which is
|
||||
applied after aspect ratio changes.
|
||||
|
||||
<p>Only one of <a href="#setCrop(float,float,float,float)"><code>setCrop(float, float, float, float)</code></a> or <code>setAspectRatio</code> can be
|
||||
called for one <a href="Presentation.html" title="class in com.google.android.exoplayer2.transformer"><code>Presentation</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>aspectRatio</code> - The aspect ratio (width/height ratio) of the output frame. Must be
|
||||
positive.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>This builder.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="build()">
|
||||
<a id="getMatrix(long)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>build</h4>
|
||||
<pre class="methodSignature">public <a href="Presentation.html" title="class in com.google.android.exoplayer2.transformer">Presentation</a> build()</pre>
|
||||
<h4>getMatrix</h4>
|
||||
<pre class="methodSignature">public <a href="https://developer.android.com/reference/android/graphics/Matrix.html" title="class or interface in android.graphics" class="externalLink" target="_top">Matrix</a> getMatrix​(long presentationTimeUs)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="MatrixTransformation.html#getMatrix(long)">MatrixTransformation</a></code></span></div>
|
||||
<div class="block">Returns the 3x3 transformation <a href="https://developer.android.com/reference/android/graphics/Matrix.html" title="class or interface in android.graphics" class="externalLink" target="_top"><code>Matrix</code></a> to apply to the frame with the given timestamp.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="MatrixTransformation.html#getMatrix(long)">getMatrix</a></code> in interface <code><a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">MatrixTransformation</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
@ -0,0 +1,277 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>GlEffect (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="GlEffect (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Interface GlEffect" class="title">Interface GlEffect</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Superinterfaces:</dt>
|
||||
<dd><code><a href="../util/Effect.html" title="interface in com.google.android.exoplayer2.util">Effect</a></code></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>All Known Subinterfaces:</dt>
|
||||
<dd><code><a href="ColorLut.html" title="interface in com.google.android.exoplayer2.effect">ColorLut</a></code>, <code><a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">GlMatrixTransformation</a></code>, <code><a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">MatrixTransformation</a></code>, <code><a href="RgbMatrix.html" title="interface in com.google.android.exoplayer2.effect">RgbMatrix</a></code></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>All Known Implementing Classes:</dt>
|
||||
<dd><code><a href="Contrast.html" title="class in com.google.android.exoplayer2.effect">Contrast</a></code>, <code><a href="Crop.html" title="class in com.google.android.exoplayer2.effect">Crop</a></code>, <code><a href="HslAdjustment.html" title="class in com.google.android.exoplayer2.effect">HslAdjustment</a></code>, <code><a href="Presentation.html" title="class in com.google.android.exoplayer2.effect">Presentation</a></code>, <code><a href="RgbAdjustment.html" title="class in com.google.android.exoplayer2.effect">RgbAdjustment</a></code>, <code><a href="RgbFilter.html" title="class in com.google.android.exoplayer2.effect">RgbFilter</a></code>, <code><a href="ScaleToFitTransformation.html" title="class in com.google.android.exoplayer2.effect">ScaleToFitTransformation</a></code>, <code><a href="SingleColorLut.html" title="class in com.google.android.exoplayer2.effect">SingleColorLut</a></code></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public interface <span class="typeNameLabel">GlEffect</span>
|
||||
extends <a href="../util/Effect.html" title="interface in com.google.android.exoplayer2.util">Effect</a></pre>
|
||||
<div class="block">Interface for a video frame effect with a <a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor</code></a> implementation.
|
||||
|
||||
<p>Implementations contain information specifying the effect and can be <a href="#toGlTextureProcessor(android.content.Context,boolean)">converted</a> to a <a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor</code></a> which applies
|
||||
the effect.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></span>​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
|
||||
boolean useHdr)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns a <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect"><code>SingleFrameGlTextureProcessor</code></a> that applies the effect.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="toGlTextureProcessor(android.content.Context,boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toGlTextureProcessor</h4>
|
||||
<pre class="methodSignature"><a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor</a> toGlTextureProcessor​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
|
||||
boolean useHdr)
|
||||
throws <a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></pre>
|
||||
<div class="block">Returns a <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect"><code>SingleFrameGlTextureProcessor</code></a> that applies the effect.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>context</code> - A <a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top"><code>Context</code></a>.</dd>
|
||||
<dd><code>useHdr</code> - Whether input textures come from an HDR source. If <code>true</code>, colors will be
|
||||
in linear RGB BT.2020. If <code>false</code>, colors will be in linear RGB BT.709.</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,349 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>GlEffectsFrameProcessor.Factory (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="GlEffectsFrameProcessor.Factory (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Class GlEffectsFrameProcessor.Factory" class="title">Class GlEffectsFrameProcessor.Factory</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.google.android.exoplayer2.effect.GlEffectsFrameProcessor.Factory</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><code><a href="../util/FrameProcessor.Factory.html" title="interface in com.google.android.exoplayer2.util">FrameProcessor.Factory</a></code></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="GlEffectsFrameProcessor.html" title="class in com.google.android.exoplayer2.effect">GlEffectsFrameProcessor</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public static class <span class="typeNameLabel">GlEffectsFrameProcessor.Factory</span>
|
||||
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a>
|
||||
implements <a href="../util/FrameProcessor.Factory.html" title="interface in com.google.android.exoplayer2.util">FrameProcessor.Factory</a></pre>
|
||||
<div class="block">A factory for <a href="GlEffectsFrameProcessor.html" title="class in com.google.android.exoplayer2.effect"><code>GlEffectsFrameProcessor</code></a> instances.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Constructor</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">Factory</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="GlEffectsFrameProcessor.html" title="class in com.google.android.exoplayer2.effect">GlEffectsFrameProcessor</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#create(android.content.Context,com.google.android.exoplayer2.util.FrameProcessor.Listener,java.util.List,com.google.android.exoplayer2.util.DebugViewProvider,com.google.android.exoplayer2.video.ColorInfo,boolean)">create</a></span>​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
|
||||
<a href="../util/FrameProcessor.Listener.html" title="interface in com.google.android.exoplayer2.util">FrameProcessor.Listener</a> listener,
|
||||
<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="../util/Effect.html" title="interface in com.google.android.exoplayer2.util" target="_top">Effect</a>> effects,
|
||||
<a href="../util/DebugViewProvider.html" title="interface in com.google.android.exoplayer2.util">DebugViewProvider</a> debugViewProvider,
|
||||
<a href="../video/ColorInfo.html" title="class in com.google.android.exoplayer2.video">ColorInfo</a> colorInfo,
|
||||
boolean releaseFramesAutomatically)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Creates a new <a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util"><code>FrameProcessor</code></a> instance.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
|
||||
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a id="<init>()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Factory</h4>
|
||||
<pre>public Factory()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="create(android.content.Context,com.google.android.exoplayer2.util.FrameProcessor.Listener,java.util.List,com.google.android.exoplayer2.util.DebugViewProvider,com.google.android.exoplayer2.video.ColorInfo,boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>create</h4>
|
||||
<pre class="methodSignature">public <a href="GlEffectsFrameProcessor.html" title="class in com.google.android.exoplayer2.effect">GlEffectsFrameProcessor</a> create​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
|
||||
<a href="../util/FrameProcessor.Listener.html" title="interface in com.google.android.exoplayer2.util">FrameProcessor.Listener</a> listener,
|
||||
<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="../util/Effect.html" title="interface in com.google.android.exoplayer2.util" target="_top">Effect</a>> effects,
|
||||
<a href="../util/DebugViewProvider.html" title="interface in com.google.android.exoplayer2.util">DebugViewProvider</a> debugViewProvider,
|
||||
<a href="../video/ColorInfo.html" title="class in com.google.android.exoplayer2.video">ColorInfo</a> colorInfo,
|
||||
boolean releaseFramesAutomatically)
|
||||
throws <a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></pre>
|
||||
<div class="block">Creates a new <a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util"><code>FrameProcessor</code></a> instance.
|
||||
|
||||
<p>All <a href="../util/Effect.html" title="interface in com.google.android.exoplayer2.util"><code>Effect</code></a> instances must be <a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect"><code>GlEffect</code></a> instances.
|
||||
|
||||
<p>Using HDR requires the <code>EXT_YUV_target</code> OpenGL extension.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessor.Factory.html#create(android.content.Context,com.google.android.exoplayer2.util.FrameProcessor.Listener,java.util.List,com.google.android.exoplayer2.util.DebugViewProvider,com.google.android.exoplayer2.video.ColorInfo,boolean)">create</a></code> in interface <code><a href="../util/FrameProcessor.Factory.html" title="interface in com.google.android.exoplayer2.util">FrameProcessor.Factory</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>context</code> - A <a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top"><code>Context</code></a>.</dd>
|
||||
<dd><code>listener</code> - A <a href="../util/FrameProcessor.Listener.html" title="interface in com.google.android.exoplayer2.util"><code>FrameProcessor.Listener</code></a>.</dd>
|
||||
<dd><code>effects</code> - The <a href="../util/Effect.html" title="interface in com.google.android.exoplayer2.util"><code>Effect</code></a> instances to apply to each frame.</dd>
|
||||
<dd><code>debugViewProvider</code> - A <a href="../util/DebugViewProvider.html" title="interface in com.google.android.exoplayer2.util"><code>DebugViewProvider</code></a>.</dd>
|
||||
<dd><code>colorInfo</code> - The <a href="../video/ColorInfo.html" title="class in com.google.android.exoplayer2.video"><code>ColorInfo</code></a> for input and output frames.</dd>
|
||||
<dd><code>releaseFramesAutomatically</code> - If <code>true</code>, the <a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util"><code>FrameProcessor</code></a> will render
|
||||
output frames to the <a href="../util/FrameProcessor.html#setOutputSurfaceInfo(com.google.android.exoplayer2.util.SurfaceInfo)">output surface</a>
|
||||
automatically as <a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util"><code>FrameProcessor</code></a> is done processing them. If <code>false</code>, the
|
||||
<a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util"><code>FrameProcessor</code></a> will block until <a href="../util/FrameProcessor.html#releaseOutputFrame(long)"><code>FrameProcessor.releaseOutputFrame(long)</code></a> is called, to
|
||||
render or drop the frame.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>A new instance.</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></code> - If a problem occurs while creating the <a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util"><code>FrameProcessor</code></a>.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,525 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>GlEffectsFrameProcessor (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="GlEffectsFrameProcessor (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Class GlEffectsFrameProcessor" class="title">Class GlEffectsFrameProcessor</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.google.android.exoplayer2.effect.GlEffectsFrameProcessor</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><code><a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util">FrameProcessor</a></code></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public final class <span class="typeNameLabel">GlEffectsFrameProcessor</span>
|
||||
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a>
|
||||
implements <a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util">FrameProcessor</a></pre>
|
||||
<div class="block">A <a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util"><code>FrameProcessor</code></a> implementation that applies <a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect"><code>GlEffect</code></a> instances using OpenGL on a
|
||||
background thread.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="nested.class.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Class</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="GlEffectsFrameProcessor.Factory.html" title="class in com.google.android.exoplayer2.effect">GlEffectsFrameProcessor.Factory</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">A factory for <a href="GlEffectsFrameProcessor.html" title="class in com.google.android.exoplayer2.effect"><code>GlEffectsFrameProcessor</code></a> instances.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="nested.classes.inherited.from.class.com.google.android.exoplayer2.util.FrameProcessor">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from interface com.google.android.exoplayer2.util.<a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util">FrameProcessor</a></h3>
|
||||
<code><a href="../util/FrameProcessor.Listener.html" title="interface in com.google.android.exoplayer2.util">FrameProcessor.Listener</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="fields.inherited.from.class.com.google.android.exoplayer2.util.FrameProcessor">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface com.google.android.exoplayer2.util.<a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util">FrameProcessor</a></h3>
|
||||
<code><a href="../util/FrameProcessor.html#DROP_OUTPUT_FRAME">DROP_OUTPUT_FRAME</a>, <a href="../util/FrameProcessor.html#RELEASE_OUTPUT_FRAME_IMMEDIATELY">RELEASE_OUTPUT_FRAME_IMMEDIATELY</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="https://developer.android.com/reference/android/view/Surface.html" title="class or interface in android.view" class="externalLink" target="_top">Surface</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInputSurface()">getInputSurface</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the input <a href="https://developer.android.com/reference/android/view/Surface.html" title="class or interface in android.view" class="externalLink"><code>Surface</code></a>, where <a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util" target="_top"><code>FrameProcessor</code></a> consumes input frames from.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPendingInputFrameCount()">getPendingInputFrameCount</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the number of input frames that have been <a href="../util/FrameProcessor.html#registerInputFrame()">registered</a>
|
||||
but not processed off the <a href="../util/FrameProcessor.html#getInputSurface()">input surface</a> yet.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#registerInputFrame()">registerInputFrame</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Informs the <code>FrameProcessor</code> that a frame will be queued to its input surface.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#release()">release</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Releases all resources.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#releaseOutputFrame(long)">releaseOutputFrame</a></span>​(long releaseTimeNs)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Releases the oldest unreleased output frame that has become <a href="../util/FrameProcessor.Listener.html#onOutputFrameAvailable(long)">available</a> at the given <code>releaseTimeNs</code>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setInputFrameInfo(com.google.android.exoplayer2.util.FrameInfo)">setInputFrameInfo</a></span>​(<a href="../util/FrameInfo.html" title="class in com.google.android.exoplayer2.util">FrameInfo</a> inputFrameInfo)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets information about the input frames.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setOutputSurfaceInfo(com.google.android.exoplayer2.util.SurfaceInfo)">setOutputSurfaceInfo</a></span>​(<a href="../util/SurfaceInfo.html" title="class in com.google.android.exoplayer2.util">SurfaceInfo</a> outputSurfaceInfo)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the output surface and supporting information.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#signalEndOfInput()">signalEndOfInput</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Informs the <code>FrameProcessor</code> that no further input frames should be accepted.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
|
||||
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="getInputSurface()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getInputSurface</h4>
|
||||
<pre class="methodSignature">public <a href="https://developer.android.com/reference/android/view/Surface.html" title="class or interface in android.view" class="externalLink" target="_top">Surface</a> getInputSurface()</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../util/FrameProcessor.html#getInputSurface()">FrameProcessor</a></code></span></div>
|
||||
<div class="block">Returns the input <a href="https://developer.android.com/reference/android/view/Surface.html" title="class or interface in android.view" class="externalLink"><code>Surface</code></a>, where <a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util" target="_top"><code>FrameProcessor</code></a> consumes input frames from.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessor.html#getInputSurface()">getInputSurface</a></code> in interface <code><a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util">FrameProcessor</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setInputFrameInfo(com.google.android.exoplayer2.util.FrameInfo)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setInputFrameInfo</h4>
|
||||
<pre class="methodSignature">public void setInputFrameInfo​(<a href="../util/FrameInfo.html" title="class in com.google.android.exoplayer2.util">FrameInfo</a> inputFrameInfo)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../util/FrameProcessor.html#setInputFrameInfo(com.google.android.exoplayer2.util.FrameInfo)">FrameProcessor</a></code></span></div>
|
||||
<div class="block">Sets information about the input frames.
|
||||
|
||||
<p>The new input information is applied from the next frame <a href="../util/FrameProcessor.html#registerInputFrame()">registered</a> onwards.
|
||||
|
||||
<p>Pixels are expanded using the <a href="../util/FrameInfo.html#pixelWidthHeightRatio"><code>FrameInfo.pixelWidthHeightRatio</code></a> so that the output
|
||||
frames' pixels have a ratio of 1.
|
||||
|
||||
<p>The caller should update <a href="../util/FrameInfo.html#streamOffsetUs"><code>FrameInfo.streamOffsetUs</code></a> when switching input streams to
|
||||
ensure that frame timestamps are always monotonically increasing.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessor.html#setInputFrameInfo(com.google.android.exoplayer2.util.FrameInfo)">setInputFrameInfo</a></code> in interface <code><a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util">FrameProcessor</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="registerInputFrame()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>registerInputFrame</h4>
|
||||
<pre class="methodSignature">public void registerInputFrame()</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../util/FrameProcessor.html#registerInputFrame()">FrameProcessor</a></code></span></div>
|
||||
<div class="block">Informs the <code>FrameProcessor</code> that a frame will be queued to its input surface.
|
||||
|
||||
<p>Must be called before rendering a frame to the frame processor's input surface.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessor.html#registerInputFrame()">registerInputFrame</a></code> in interface <code><a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util">FrameProcessor</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getPendingInputFrameCount()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getPendingInputFrameCount</h4>
|
||||
<pre class="methodSignature">public int getPendingInputFrameCount()</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../util/FrameProcessor.html#getPendingInputFrameCount()">FrameProcessor</a></code></span></div>
|
||||
<div class="block">Returns the number of input frames that have been <a href="../util/FrameProcessor.html#registerInputFrame()">registered</a>
|
||||
but not processed off the <a href="../util/FrameProcessor.html#getInputSurface()">input surface</a> yet.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessor.html#getPendingInputFrameCount()">getPendingInputFrameCount</a></code> in interface <code><a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util">FrameProcessor</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setOutputSurfaceInfo(com.google.android.exoplayer2.util.SurfaceInfo)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setOutputSurfaceInfo</h4>
|
||||
<pre class="methodSignature">public void setOutputSurfaceInfo​(@Nullable
|
||||
<a href="../util/SurfaceInfo.html" title="class in com.google.android.exoplayer2.util">SurfaceInfo</a> outputSurfaceInfo)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../util/FrameProcessor.html#setOutputSurfaceInfo(com.google.android.exoplayer2.util.SurfaceInfo)">FrameProcessor</a></code></span></div>
|
||||
<div class="block">Sets the output surface and supporting information. When output frames are released and not
|
||||
dropped, they will be rendered to this output <a href="../util/SurfaceInfo.html" title="class in com.google.android.exoplayer2.util"><code>SurfaceInfo</code></a>.
|
||||
|
||||
<p>The new output <a href="../util/SurfaceInfo.html" title="class in com.google.android.exoplayer2.util"><code>SurfaceInfo</code></a> is applied from the next output frame rendered onwards.
|
||||
If the output <a href="../util/SurfaceInfo.html" title="class in com.google.android.exoplayer2.util"><code>SurfaceInfo</code></a> is <code>null</code>, the <code>FrameProcessor</code> will stop
|
||||
rendering pending frames and resume rendering once a non-null <a href="../util/SurfaceInfo.html" title="class in com.google.android.exoplayer2.util"><code>SurfaceInfo</code></a> is set.
|
||||
|
||||
<p>If the dimensions given in <a href="../util/SurfaceInfo.html" title="class in com.google.android.exoplayer2.util"><code>SurfaceInfo</code></a> do not match the <a href="../util/FrameProcessor.Listener.html#onOutputSizeChanged(int,int)">output size after applying the final effect</a> the frames
|
||||
are resized before rendering to the surface and letter/pillar-boxing is applied.
|
||||
|
||||
<p>The caller is responsible for tracking the lifecycle of the <a href="../util/SurfaceInfo.html#surface"><code>SurfaceInfo.surface</code></a>
|
||||
including calling this method with a new surface if it is destroyed. When this method returns,
|
||||
the previous output surface is no longer being used and can safely be released by the caller.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessor.html#setOutputSurfaceInfo(com.google.android.exoplayer2.util.SurfaceInfo)">setOutputSurfaceInfo</a></code> in interface <code><a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util">FrameProcessor</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="releaseOutputFrame(long)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>releaseOutputFrame</h4>
|
||||
<pre class="methodSignature">public void releaseOutputFrame​(long releaseTimeNs)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../util/FrameProcessor.html#releaseOutputFrame(long)">FrameProcessor</a></code></span></div>
|
||||
<div class="block">Releases the oldest unreleased output frame that has become <a href="../util/FrameProcessor.Listener.html#onOutputFrameAvailable(long)">available</a> at the given <code>releaseTimeNs</code>.
|
||||
|
||||
<p>This will either render the output frame to the <a href="../util/FrameProcessor.html#setOutputSurfaceInfo(com.google.android.exoplayer2.util.SurfaceInfo)">output
|
||||
surface</a>, or drop the frame, per <code>releaseTimeNs</code>.
|
||||
|
||||
<p>This method must only be called if <code>releaseFramesAutomatically</code> was set to <code>
|
||||
false</code> using the <a href="../util/FrameProcessor.Factory.html" title="interface in com.google.android.exoplayer2.util"><code>FrameProcessor.Factory</code></a> and should be called exactly once for each frame that becomes
|
||||
<a href="../util/FrameProcessor.Listener.html#onOutputFrameAvailable(long)">available</a>.
|
||||
|
||||
<p>The <code>releaseTimeNs</code> may be passed to <a href="https://developer.android.com/reference/android/opengl/EGLExt.html#eglPresentationTimeANDROID(android.opengl.EGLDisplay,android.opengl.EGLSurface,long)" title="class or interface in android.opengl" class="externalLink" target="_top"><code>EGLExt.eglPresentationTimeANDROID(android.opengl.EGLDisplay, android.opengl.EGLSurface, long)</code></a>
|
||||
depending on the implementation.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessor.html#releaseOutputFrame(long)">releaseOutputFrame</a></code> in interface <code><a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util">FrameProcessor</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>releaseTimeNs</code> - The release time to use for the frame, in nanoseconds. The release time
|
||||
can be before of after the current system time. Use <a href="../util/FrameProcessor.html#DROP_OUTPUT_FRAME"><code>FrameProcessor.DROP_OUTPUT_FRAME</code></a> to drop the
|
||||
frame, or <a href="../util/FrameProcessor.html#RELEASE_OUTPUT_FRAME_IMMEDIATELY"><code>FrameProcessor.RELEASE_OUTPUT_FRAME_IMMEDIATELY</code></a> to release the frame immediately.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="signalEndOfInput()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>signalEndOfInput</h4>
|
||||
<pre class="methodSignature">public void signalEndOfInput()</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../util/FrameProcessor.html#signalEndOfInput()">FrameProcessor</a></code></span></div>
|
||||
<div class="block">Informs the <code>FrameProcessor</code> that no further input frames should be accepted.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessor.html#signalEndOfInput()">signalEndOfInput</a></code> in interface <code><a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util">FrameProcessor</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="release()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>release</h4>
|
||||
<pre class="methodSignature">public void release()</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../util/FrameProcessor.html#release()">FrameProcessor</a></code></span></div>
|
||||
<div class="block">Releases all resources.
|
||||
|
||||
<p>If the frame processor is released before it has <a href="../util/FrameProcessor.Listener.html#onFrameProcessingEnded()">ended</a>, it will attempt to cancel processing any input frames
|
||||
that have already become available. Input frames that become available after release are
|
||||
ignored.
|
||||
|
||||
<p>This method blocks until all resources are released or releasing times out.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessor.html#release()">release</a></code> in interface <code><a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util">FrameProcessor</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -113,7 +113,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.transformer</a></div>
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Interface GlMatrixTransformation" class="title">Interface GlMatrixTransformation</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
@ -122,26 +122,27 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Superinterfaces:</dt>
|
||||
<dd><code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.transformer">GlEffect</a></code></dd>
|
||||
<dd><code><a href="../util/Effect.html" title="interface in com.google.android.exoplayer2.util">Effect</a></code>, <code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></code></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>All Known Subinterfaces:</dt>
|
||||
<dd><code><a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer">MatrixTransformation</a></code></dd>
|
||||
<dd><code><a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">MatrixTransformation</a></code></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>All Known Implementing Classes:</dt>
|
||||
<dd><code><a href="Presentation.html" title="class in com.google.android.exoplayer2.transformer">Presentation</a></code>, <code><a href="ScaleToFitTransformation.html" title="class in com.google.android.exoplayer2.transformer">ScaleToFitTransformation</a></code></dd>
|
||||
<dd><code><a href="Crop.html" title="class in com.google.android.exoplayer2.effect">Crop</a></code>, <code><a href="Presentation.html" title="class in com.google.android.exoplayer2.effect">Presentation</a></code>, <code><a href="ScaleToFitTransformation.html" title="class in com.google.android.exoplayer2.effect">ScaleToFitTransformation</a></code></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public interface <span class="typeNameLabel">GlMatrixTransformation</span>
|
||||
extends <a href="GlEffect.html" title="interface in com.google.android.exoplayer2.transformer">GlEffect</a></pre>
|
||||
extends <a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></pre>
|
||||
<div class="block">Specifies a 4x4 transformation <a href="https://developer.android.com/reference/android/opengl/Matrix.html" title="class or interface in android.opengl" class="externalLink" target="_top"><code>Matrix</code></a> to apply in the vertex shader for each frame.
|
||||
|
||||
<p>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.
|
||||
|
||||
<p>Output frame pixels outside of the transformed input frame will be black.</div>
|
||||
<p>Output frame pixels outside of the transformed input frame will be black, with alpha = 0 if
|
||||
applicable.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -163,7 +164,7 @@ extends <a href="GlEffect.html" title="interface in com.google.android.exoplayer
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>default <a href="https://developer.android.com/reference/android/util/Size.html" title="class or interface in android.util" class="externalLink" target="_top">Size</a></code></td>
|
||||
<td class="colFirst"><code>default <a href="https://developer.android.com/reference/android/util/Pair.html" title="class or interface in android.util" class="externalLink">Pair</a><<a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>,​<a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a>></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#configure(int,int)">configure</a></span>​(int inputWidth,
|
||||
int inputHeight)</code></th>
|
||||
<td class="colLast">
|
||||
@ -178,10 +179,11 @@ extends <a href="GlEffect.html" title="interface in com.google.android.exoplayer
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>default <a href="SingleFrameGlTextureProcessor.html" title="interface in com.google.android.exoplayer2.transformer">SingleFrameGlTextureProcessor</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toGlTextureProcessor()">toGlTextureProcessor</a></span>()</code></th>
|
||||
<td class="colFirst"><code>default <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect">SingleFrameGlTextureProcessor</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></span>​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
|
||||
boolean useHdr)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns a <a href="SingleFrameGlTextureProcessor.html" title="interface in com.google.android.exoplayer2.transformer"><code>SingleFrameGlTextureProcessor</code></a> that applies the effect.</div>
|
||||
<div class="block">Returns a <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect"><code>SingleFrameGlTextureProcessor</code></a> that applies the effect.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -207,8 +209,8 @@ extends <a href="GlEffect.html" title="interface in com.google.android.exoplayer
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>configure</h4>
|
||||
<pre class="methodSignature">default <a href="https://developer.android.com/reference/android/util/Size.html" title="class or interface in android.util" class="externalLink" target="_top">Size</a> configure​(int inputWidth,
|
||||
int inputHeight)</pre>
|
||||
<pre class="methodSignature">default <a href="https://developer.android.com/reference/android/util/Pair.html" title="class or interface in android.util" class="externalLink">Pair</a><<a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>,​<a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a>> configure​(int inputWidth,
|
||||
int inputHeight)</pre>
|
||||
<div class="block">Configures the input and output dimensions.
|
||||
|
||||
<p>Must be called before <a href="#getGlMatrixArray(long)"><code>getGlMatrixArray(long)</code></a>.</div>
|
||||
@ -217,7 +219,7 @@ extends <a href="GlEffect.html" title="interface in com.google.android.exoplayer
|
||||
<dd><code>inputWidth</code> - The input frame width, in pixels.</dd>
|
||||
<dd><code>inputHeight</code> - The input frame height, in pixels.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The output frame <a href="https://developer.android.com/reference/android/util/Size.html" title="class or interface in android.util" class="externalLink" target="_top"><code>Size</code></a>, in pixels.</dd>
|
||||
<dd>The output frame width and height, in pixels.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
@ -231,18 +233,26 @@ extends <a href="GlEffect.html" title="interface in com.google.android.exoplayer
|
||||
<div class="block">Returns the 4x4 transformation <a href="https://developer.android.com/reference/android/opengl/Matrix.html" title="class or interface in android.opengl" class="externalLink" target="_top"><code>Matrix</code></a> to apply to the frame with the given timestamp.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="toGlTextureProcessor()">
|
||||
<a id="toGlTextureProcessor(android.content.Context,boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toGlTextureProcessor</h4>
|
||||
<pre class="methodSignature">default <a href="SingleFrameGlTextureProcessor.html" title="interface in com.google.android.exoplayer2.transformer">SingleFrameGlTextureProcessor</a> toGlTextureProcessor()</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="GlEffect.html#toGlTextureProcessor()">GlEffect</a></code></span></div>
|
||||
<div class="block">Returns a <a href="SingleFrameGlTextureProcessor.html" title="interface in com.google.android.exoplayer2.transformer"><code>SingleFrameGlTextureProcessor</code></a> that applies the effect.</div>
|
||||
<pre class="methodSignature">default <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect">SingleFrameGlTextureProcessor</a> toGlTextureProcessor​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
|
||||
boolean useHdr)
|
||||
throws <a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="GlEffect.html#toGlTextureProcessor(android.content.Context,boolean)">GlEffect</a></code></span></div>
|
||||
<div class="block">Returns a <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect"><code>SingleFrameGlTextureProcessor</code></a> that applies the effect.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="GlEffect.html#toGlTextureProcessor()">toGlTextureProcessor</a></code> in interface <code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.transformer">GlEffect</a></code></dd>
|
||||
<dd><code><a href="GlEffect.html#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></code> in interface <code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>context</code> - A <a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top"><code>Context</code></a>.</dd>
|
||||
<dd><code>useHdr</code> - Whether input textures come from an HDR source. If <code>true</code>, colors will be
|
||||
in linear RGB BT.2020. If <code>false</code>, colors will be in linear RGB BT.709.</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
@ -0,0 +1,259 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>GlTextureProcessor.ErrorListener (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="GlTextureProcessor.ErrorListener (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Interface GlTextureProcessor.ErrorListener" class="title">Interface GlTextureProcessor.ErrorListener</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>Enclosing interface:</dt>
|
||||
<dd><a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public static interface <span class="typeNameLabel">GlTextureProcessor.ErrorListener</span></pre>
|
||||
<div class="block">Listener for frame processing errors.
|
||||
|
||||
<p>This listener can be called from any thread.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onFrameProcessingError(com.google.android.exoplayer2.util.FrameProcessingException)">onFrameProcessingError</a></span>​(<a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a> e)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Called when an exception occurs during asynchronous frame processing.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="onFrameProcessingError(com.google.android.exoplayer2.util.FrameProcessingException)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>onFrameProcessingError</h4>
|
||||
<pre class="methodSignature">void onFrameProcessingError​(<a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a> e)</pre>
|
||||
<div class="block">Called when an exception occurs during asynchronous frame processing.
|
||||
|
||||
<p>If an error occurred, consuming and producing further frames will not work as expected and
|
||||
the <a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor</code></a> should be released.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,282 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>GlTextureProcessor.InputListener (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="GlTextureProcessor.InputListener (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":18,"i1":18};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],16:["t5","Default Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Interface GlTextureProcessor.InputListener" class="title">Interface GlTextureProcessor.InputListener</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>Enclosing interface:</dt>
|
||||
<dd><a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public static interface <span class="typeNameLabel">GlTextureProcessor.InputListener</span></pre>
|
||||
<div class="block">Listener for input-related frame processing events.
|
||||
|
||||
<p>This listener can be called from any thread.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>default void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onInputFrameProcessed(com.google.android.exoplayer2.effect.TextureInfo)">onInputFrameProcessed</a></span>​(<a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect">TextureInfo</a> inputTexture)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Called when the <a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor</code></a> has processed an input frame.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>default void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onReadyToAcceptInputFrame()">onReadyToAcceptInputFrame</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Called when the <a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor</code></a> is ready to accept another input frame.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="onReadyToAcceptInputFrame()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onReadyToAcceptInputFrame</h4>
|
||||
<pre class="methodSignature">default void onReadyToAcceptInputFrame()</pre>
|
||||
<div class="block">Called when the <a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor</code></a> is ready to accept another input frame.
|
||||
|
||||
<p>For each time this method is called, <a href="GlTextureProcessor.html#queueInputFrame(com.google.android.exoplayer2.effect.TextureInfo,long)"><code>GlTextureProcessor.queueInputFrame(TextureInfo, long)</code></a> can be
|
||||
called once.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="onInputFrameProcessed(com.google.android.exoplayer2.effect.TextureInfo)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>onInputFrameProcessed</h4>
|
||||
<pre class="methodSignature">default void onInputFrameProcessed​(<a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect">TextureInfo</a> inputTexture)</pre>
|
||||
<div class="block">Called when the <a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor</code></a> has processed an input frame.
|
||||
|
||||
<p>The implementation shall not assume the <a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor</code></a> is <a href="#onReadyToAcceptInputFrame()">ready to accept another input frame</a> when this method is called.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>inputTexture</code> - The <a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect"><code>TextureInfo</code></a> that was used to <a href="GlTextureProcessor.html#queueInputFrame(com.google.android.exoplayer2.effect.TextureInfo,long)">queue</a> the input frame.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,287 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>GlTextureProcessor.OutputListener (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="GlTextureProcessor.OutputListener (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":18,"i1":18};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],16:["t5","Default Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Interface GlTextureProcessor.OutputListener" class="title">Interface GlTextureProcessor.OutputListener</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>Enclosing interface:</dt>
|
||||
<dd><a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public static interface <span class="typeNameLabel">GlTextureProcessor.OutputListener</span></pre>
|
||||
<div class="block">Listener for output-related frame processing events.
|
||||
|
||||
<p>This listener can be called from any thread.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>default void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onCurrentOutputStreamEnded()">onCurrentOutputStreamEnded</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Called when the <a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor</code></a> will not produce further output frames belonging
|
||||
to the current output stream.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>default void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onOutputFrameAvailable(com.google.android.exoplayer2.effect.TextureInfo,long)">onOutputFrameAvailable</a></span>​(<a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect">TextureInfo</a> outputTexture,
|
||||
long presentationTimeUs)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Called when the <a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor</code></a> has produced an output frame.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="onOutputFrameAvailable(com.google.android.exoplayer2.effect.TextureInfo,long)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onOutputFrameAvailable</h4>
|
||||
<pre class="methodSignature">default void onOutputFrameAvailable​(<a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect">TextureInfo</a> outputTexture,
|
||||
long presentationTimeUs)</pre>
|
||||
<div class="block">Called when the <a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor</code></a> has produced an output frame.
|
||||
|
||||
<p>After the listener's owner has processed the output frame, it must call <a href="GlTextureProcessor.html#releaseOutputFrame(com.google.android.exoplayer2.effect.TextureInfo)"><code>GlTextureProcessor.releaseOutputFrame(TextureInfo)</code></a>. The output frame should be released as soon as possible,
|
||||
as there is no guarantee that the <a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor</code></a> will produce further output
|
||||
frames before this output frame is released.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>outputTexture</code> - A <a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect"><code>TextureInfo</code></a> describing the texture containing the output
|
||||
frame.</dd>
|
||||
<dd><code>presentationTimeUs</code> - The presentation timestamp of the output frame, in microseconds.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="onCurrentOutputStreamEnded()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>onCurrentOutputStreamEnded</h4>
|
||||
<pre class="methodSignature">default void onCurrentOutputStreamEnded()</pre>
|
||||
<div class="block">Called when the <a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor</code></a> will not produce further output frames belonging
|
||||
to the current output stream.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,439 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>GlTextureProcessor (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="GlTextureProcessor (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Interface GlTextureProcessor" class="title">Interface GlTextureProcessor</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Known Implementing Classes:</dt>
|
||||
<dd><code><a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect">SingleFrameGlTextureProcessor</a></code></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public interface <span class="typeNameLabel">GlTextureProcessor</span></pre>
|
||||
<div class="block">Processes frames from one OpenGL 2D texture to another.
|
||||
|
||||
<p>The <code>GlTextureProcessor</code> consumes input frames it accepts via <a href="#queueInputFrame(com.google.android.exoplayer2.effect.TextureInfo,long)"><code>queueInputFrame(TextureInfo, long)</code></a> and surrenders each texture back to the caller via its
|
||||
<a href="GlTextureProcessor.InputListener.html#onInputFrameProcessed(com.google.android.exoplayer2.effect.TextureInfo)">listener</a> once the texture's
|
||||
contents have been processed.
|
||||
|
||||
<p>The <code>GlTextureProcessor</code> produces output frames asynchronously and notifies its owner
|
||||
when they are available via its <a href="GlTextureProcessor.OutputListener.html#onOutputFrameAvailable(com.google.android.exoplayer2.effect.TextureInfo,long)">listener</a>. The <code>GlTextureProcessor</code> instance's owner must surrender the texture back
|
||||
to the <code>GlTextureProcessor</code> via <a href="#releaseOutputFrame(com.google.android.exoplayer2.effect.TextureInfo)"><code>releaseOutputFrame(TextureInfo)</code></a> when it has
|
||||
finished processing it.
|
||||
|
||||
<p><code>GlTextureProcessor</code> implementations can choose to produce output frames before
|
||||
receiving input frames or process several input frames before producing an output frame. However,
|
||||
<code>GlTextureProcessor</code> implementations cannot assume that they will receive more than one
|
||||
input frame at a time, so they must process each input frame they accept even if they cannot
|
||||
produce output yet.
|
||||
|
||||
<p>The methods in this interface must be called on the thread that owns the parent OpenGL
|
||||
context. If the implementation uses another OpenGL context, e.g., on another thread, it must
|
||||
configure it to share data with the context of thread the interface methods are called on.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="nested.class.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Interface</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static interface </code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="GlTextureProcessor.ErrorListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.ErrorListener</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Listener for frame processing errors.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static interface </code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="GlTextureProcessor.InputListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.InputListener</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Listener for input-related frame processing events.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static interface </code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="GlTextureProcessor.OutputListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.OutputListener</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Listener for output-related frame processing events.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#queueInputFrame(com.google.android.exoplayer2.effect.TextureInfo,long)">queueInputFrame</a></span>​(<a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect">TextureInfo</a> inputTexture,
|
||||
long presentationTimeUs)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Processes an input frame if possible.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#release()">release</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Releases all resources.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#releaseOutputFrame(com.google.android.exoplayer2.effect.TextureInfo)">releaseOutputFrame</a></span>​(<a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect">TextureInfo</a> outputTexture)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Notifies the texture processor that the frame on the given output texture is no longer used and
|
||||
can be overwritten.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setErrorListener(com.google.android.exoplayer2.effect.GlTextureProcessor.ErrorListener)">setErrorListener</a></span>​(<a href="GlTextureProcessor.ErrorListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.ErrorListener</a> errorListener)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the <a href="GlTextureProcessor.ErrorListener.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor.ErrorListener</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setInputListener(com.google.android.exoplayer2.effect.GlTextureProcessor.InputListener)">setInputListener</a></span>​(<a href="GlTextureProcessor.InputListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.InputListener</a> inputListener)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the <a href="GlTextureProcessor.InputListener.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor.InputListener</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setOutputListener(com.google.android.exoplayer2.effect.GlTextureProcessor.OutputListener)">setOutputListener</a></span>​(<a href="GlTextureProcessor.OutputListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.OutputListener</a> outputListener)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the <a href="GlTextureProcessor.OutputListener.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor.OutputListener</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#signalEndOfCurrentInputStream()">signalEndOfCurrentInputStream</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Notifies the <code>GlTextureProcessor</code> that no further input frames belonging to the current
|
||||
input stream will be queued.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="setInputListener(com.google.android.exoplayer2.effect.GlTextureProcessor.InputListener)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setInputListener</h4>
|
||||
<pre class="methodSignature">void setInputListener​(<a href="GlTextureProcessor.InputListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.InputListener</a> inputListener)</pre>
|
||||
<div class="block">Sets the <a href="GlTextureProcessor.InputListener.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor.InputListener</code></a>.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setOutputListener(com.google.android.exoplayer2.effect.GlTextureProcessor.OutputListener)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setOutputListener</h4>
|
||||
<pre class="methodSignature">void setOutputListener​(<a href="GlTextureProcessor.OutputListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.OutputListener</a> outputListener)</pre>
|
||||
<div class="block">Sets the <a href="GlTextureProcessor.OutputListener.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor.OutputListener</code></a>.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setErrorListener(com.google.android.exoplayer2.effect.GlTextureProcessor.ErrorListener)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setErrorListener</h4>
|
||||
<pre class="methodSignature">void setErrorListener​(<a href="GlTextureProcessor.ErrorListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.ErrorListener</a> errorListener)</pre>
|
||||
<div class="block">Sets the <a href="GlTextureProcessor.ErrorListener.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor.ErrorListener</code></a>.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="queueInputFrame(com.google.android.exoplayer2.effect.TextureInfo,long)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>queueInputFrame</h4>
|
||||
<pre class="methodSignature">void queueInputFrame​(<a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect">TextureInfo</a> inputTexture,
|
||||
long presentationTimeUs)</pre>
|
||||
<div class="block">Processes an input frame if possible.
|
||||
|
||||
<p>The <code>GlTextureProcessor</code> owns the accepted frame until it calls <a href="GlTextureProcessor.InputListener.html#onInputFrameProcessed(com.google.android.exoplayer2.effect.TextureInfo)"><code>GlTextureProcessor.InputListener.onInputFrameProcessed(TextureInfo)</code></a>. The caller should not overwrite or release
|
||||
the texture before the <code>GlTextureProcessor</code> has finished processing it.
|
||||
|
||||
<p>This method must only be called when the <code>GlTextureProcessor</code> can <a href="GlTextureProcessor.InputListener.html#onReadyToAcceptInputFrame()">accept an input frame</a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>inputTexture</code> - A <a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect"><code>TextureInfo</code></a> describing the texture containing the input frame.</dd>
|
||||
<dd><code>presentationTimeUs</code> - The presentation timestamp of the input frame, in microseconds.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="releaseOutputFrame(com.google.android.exoplayer2.effect.TextureInfo)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>releaseOutputFrame</h4>
|
||||
<pre class="methodSignature">void releaseOutputFrame​(<a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect">TextureInfo</a> outputTexture)</pre>
|
||||
<div class="block">Notifies the texture processor that the frame on the given output texture is no longer used and
|
||||
can be overwritten.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="signalEndOfCurrentInputStream()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>signalEndOfCurrentInputStream</h4>
|
||||
<pre class="methodSignature">void signalEndOfCurrentInputStream()</pre>
|
||||
<div class="block">Notifies the <code>GlTextureProcessor</code> that no further input frames belonging to the current
|
||||
input stream will be queued.
|
||||
|
||||
<p>Input frames that are queued after this method is called belong to a different input stream,
|
||||
so presentation timestamps may reset to start from a smaller presentation timestamp than the
|
||||
last frame of the previous input stream.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="release()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>release</h4>
|
||||
<pre class="methodSignature">void release()
|
||||
throws <a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></pre>
|
||||
<div class="block">Releases all resources.</div>
|
||||
<dl>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></code> - If an error occurs while releasing resources.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,394 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>HslAdjustment.Builder (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="HslAdjustment.Builder (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":10,"i1":10,"i2":10,"i3":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Class HslAdjustment.Builder" class="title">Class HslAdjustment.Builder</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.google.android.exoplayer2.effect.HslAdjustment.Builder</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="HslAdjustment.html" title="class in com.google.android.exoplayer2.effect">HslAdjustment</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public static final class <span class="typeNameLabel">HslAdjustment.Builder</span>
|
||||
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></pre>
|
||||
<div class="block">A builder for <code>HslAdjustment</code> instances.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Constructor</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">Builder</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Creates a new instance with the default values.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="HslAdjustment.Builder.html" title="class in com.google.android.exoplayer2.effect">HslAdjustment.Builder</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#adjustHue(float)">adjustHue</a></span>​(float hueAdjustmentDegrees)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Rotates the hue of the frame by <code>hueAdjustmentDegrees</code>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="HslAdjustment.Builder.html" title="class in com.google.android.exoplayer2.effect">HslAdjustment.Builder</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#adjustLightness(float)">adjustLightness</a></span>​(float lightnessAdjustment)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Adjusts the lightness of the frame by <code>lightnessAdjustment</code>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="HslAdjustment.Builder.html" title="class in com.google.android.exoplayer2.effect">HslAdjustment.Builder</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#adjustSaturation(float)">adjustSaturation</a></span>​(float saturationAdjustment)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Adjusts the saturation of the frame by <code>saturationAdjustment</code>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code><a href="HslAdjustment.html" title="class in com.google.android.exoplayer2.effect">HslAdjustment</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#build()">build</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Creates a new <a href="HslAdjustment.html" title="class in com.google.android.exoplayer2.effect"><code>HslAdjustment</code></a> instance.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
|
||||
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a id="<init>()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Builder</h4>
|
||||
<pre>public Builder()</pre>
|
||||
<div class="block">Creates a new instance with the default values.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="adjustHue(float)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>adjustHue</h4>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="HslAdjustment.Builder.html" title="class in com.google.android.exoplayer2.effect">HslAdjustment.Builder</a> adjustHue​(float hueAdjustmentDegrees)</pre>
|
||||
<div class="block">Rotates the hue of the frame by <code>hueAdjustmentDegrees</code>.
|
||||
|
||||
<p>The Hue of the frame is defined in the interval of [0, 360] degrees. The actual degrees of
|
||||
hue adjustment applied is <code>hueAdjustmentDegrees % 360</code>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>hueAdjustmentDegrees</code> - The hue adjustment in rotation degrees. The default value is
|
||||
<code>0</code>, which means no change is applied.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="adjustSaturation(float)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>adjustSaturation</h4>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="HslAdjustment.Builder.html" title="class in com.google.android.exoplayer2.effect">HslAdjustment.Builder</a> adjustSaturation​(float saturationAdjustment)</pre>
|
||||
<div class="block">Adjusts the saturation of the frame by <code>saturationAdjustment</code>.
|
||||
|
||||
<p>Saturation is defined in the interval of [0, 100] where a saturation of <code>0</code> will
|
||||
generate a grayscale frame and a saturation of <code>100</code> has a maximum separation between
|
||||
the colors.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>saturationAdjustment</code> - The difference of how much the saturation will be adjusted in
|
||||
either direction. Needs to be in the interval of [-100, 100] and the default value is
|
||||
<code>0</code>, which means no change is applied.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="adjustLightness(float)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>adjustLightness</h4>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="HslAdjustment.Builder.html" title="class in com.google.android.exoplayer2.effect">HslAdjustment.Builder</a> adjustLightness​(float lightnessAdjustment)</pre>
|
||||
<div class="block">Adjusts the lightness of the frame by <code>lightnessAdjustment</code>.
|
||||
|
||||
<p>Lightness is defined in the interval of [0, 100] where a lightness of <code>0</code> is a black
|
||||
frame and a lightness of <code>100</code> is a white frame.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>lightnessAdjustment</code> - The difference by how much the lightness will be adjusted in
|
||||
either direction. Needs to be in the interval of [-100, 100] and the default value is
|
||||
<code>0</code>, which means no change is applied.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="build()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>build</h4>
|
||||
<pre class="methodSignature">public <a href="HslAdjustment.html" title="class in com.google.android.exoplayer2.effect">HslAdjustment</a> build()</pre>
|
||||
<div class="block">Creates a new <a href="HslAdjustment.html" title="class in com.google.android.exoplayer2.effect"><code>HslAdjustment</code></a> instance.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,389 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>HslAdjustment (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="HslAdjustment (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Class HslAdjustment" class="title">Class HslAdjustment</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.google.android.exoplayer2.effect.HslAdjustment</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></code>, <code><a href="../util/Effect.html" title="interface in com.google.android.exoplayer2.util">Effect</a></code></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public class <span class="typeNameLabel">HslAdjustment</span>
|
||||
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a>
|
||||
implements <a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></pre>
|
||||
<div class="block">Adjusts the HSL (Hue, Saturation, and Lightness) of a frame.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="nested.class.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Class</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="HslAdjustment.Builder.html" title="class in com.google.android.exoplayer2.effect">HslAdjustment.Builder</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">A builder for <code>HslAdjustment</code> instances.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Field</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>float</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hueAdjustmentDegrees">hueAdjustmentDegrees</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Indicates the hue adjustment in degrees.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>float</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lightnessAdjustment">lightnessAdjustment</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Indicates the lightness adjustment.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>float</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#saturationAdjustment">saturationAdjustment</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Indicates the saturation adjustment.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect">SingleFrameGlTextureProcessor</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></span>​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
|
||||
boolean useHdr)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns a <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect"><code>SingleFrameGlTextureProcessor</code></a> that applies the effect.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
|
||||
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="field.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Detail</h3>
|
||||
<a id="hueAdjustmentDegrees">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hueAdjustmentDegrees</h4>
|
||||
<pre>public final float hueAdjustmentDegrees</pre>
|
||||
<div class="block">Indicates the hue adjustment in degrees.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="saturationAdjustment">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>saturationAdjustment</h4>
|
||||
<pre>public final float saturationAdjustment</pre>
|
||||
<div class="block">Indicates the saturation adjustment.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="lightnessAdjustment">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>lightnessAdjustment</h4>
|
||||
<pre>public final float lightnessAdjustment</pre>
|
||||
<div class="block">Indicates the lightness adjustment.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="toGlTextureProcessor(android.content.Context,boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toGlTextureProcessor</h4>
|
||||
<pre class="methodSignature">public <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect">SingleFrameGlTextureProcessor</a> toGlTextureProcessor​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
|
||||
boolean useHdr)
|
||||
throws <a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="GlEffect.html#toGlTextureProcessor(android.content.Context,boolean)">GlEffect</a></code></span></div>
|
||||
<div class="block">Returns a <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect"><code>SingleFrameGlTextureProcessor</code></a> that applies the effect.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="GlEffect.html#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></code> in interface <code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>context</code> - A <a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top"><code>Context</code></a>.</dd>
|
||||
<dd><code>useHdr</code> - Whether input textures come from an HDR source. If <code>true</code>, colors will be
|
||||
in linear RGB BT.2020. If <code>false</code>, colors will be in linear RGB BT.709.</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -113,7 +113,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.transformer</a></div>
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Interface MatrixTransformation" class="title">Interface MatrixTransformation</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
@ -122,22 +122,23 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Superinterfaces:</dt>
|
||||
<dd><code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.transformer">GlEffect</a></code>, <code><a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer">GlMatrixTransformation</a></code></dd>
|
||||
<dd><code><a href="../util/Effect.html" title="interface in com.google.android.exoplayer2.util">Effect</a></code>, <code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></code>, <code><a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">GlMatrixTransformation</a></code></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>All Known Implementing Classes:</dt>
|
||||
<dd><code><a href="Presentation.html" title="class in com.google.android.exoplayer2.transformer">Presentation</a></code>, <code><a href="ScaleToFitTransformation.html" title="class in com.google.android.exoplayer2.transformer">ScaleToFitTransformation</a></code></dd>
|
||||
<dd><code><a href="Crop.html" title="class in com.google.android.exoplayer2.effect">Crop</a></code>, <code><a href="Presentation.html" title="class in com.google.android.exoplayer2.effect">Presentation</a></code>, <code><a href="ScaleToFitTransformation.html" title="class in com.google.android.exoplayer2.effect">ScaleToFitTransformation</a></code></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public interface <span class="typeNameLabel">MatrixTransformation</span>
|
||||
extends <a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer">GlMatrixTransformation</a></pre>
|
||||
extends <a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">GlMatrixTransformation</a></pre>
|
||||
<div class="block">Specifies a 3x3 transformation <a href="https://developer.android.com/reference/android/graphics/Matrix.html" title="class or interface in android.graphics" class="externalLink" target="_top"><code>Matrix</code></a> to apply in the vertex shader for each frame.
|
||||
|
||||
<p>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.
|
||||
|
||||
<p>Output frame pixels outside of the transformed input frame will be black.</div>
|
||||
<p>Output frame pixels outside of the transformed input frame will be black, with alpha = 0 if
|
||||
applicable.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -174,11 +175,11 @@ extends <a href="GlMatrixTransformation.html" title="interface in com.google.and
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.com.google.android.exoplayer2.transformer.GlMatrixTransformation">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.com.google.android.exoplayer2.effect.GlMatrixTransformation">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface com.google.android.exoplayer2.transformer.<a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer">GlMatrixTransformation</a></h3>
|
||||
<code><a href="GlMatrixTransformation.html#configure(int,int)">configure</a>, <a href="GlMatrixTransformation.html#toGlTextureProcessor()">toGlTextureProcessor</a></code></li>
|
||||
<h3>Methods inherited from interface com.google.android.exoplayer2.effect.<a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">GlMatrixTransformation</a></h3>
|
||||
<code><a href="GlMatrixTransformation.html#configure(int,int)">configure</a>, <a href="GlMatrixTransformation.html#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -217,7 +218,7 @@ extends <a href="GlMatrixTransformation.html" title="interface in com.google.and
|
||||
<div class="block">Returns the 4x4 transformation <a href="https://developer.android.com/reference/android/opengl/Matrix.html" title="class or interface in android.opengl" class="externalLink" target="_top"><code>Matrix</code></a> to apply to the frame with the given timestamp.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="GlMatrixTransformation.html#getGlMatrixArray(long)">getGlMatrixArray</a></code> in interface <code><a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer">GlMatrixTransformation</a></code></dd>
|
||||
<dd><code><a href="GlMatrixTransformation.html#getGlMatrixArray(long)">getGlMatrixArray</a></code> in interface <code><a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">GlMatrixTransformation</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
@ -105,7 +105,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.transformer</a></div>
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Annotation Type Presentation.Layout" class="title">Annotation Type Presentation.Layout</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
@ -121,8 +121,7 @@ public static @interface <span class="memberNameLabel">Presentation.Layout</span
|
||||
|
||||
<p>One of <a href="Presentation.html#LAYOUT_SCALE_TO_FIT"><code>Presentation.LAYOUT_SCALE_TO_FIT</code></a>, <a href="Presentation.html#LAYOUT_SCALE_TO_FIT_WITH_CROP"><code>Presentation.LAYOUT_SCALE_TO_FIT_WITH_CROP</code></a>, or <a href="Presentation.html#LAYOUT_STRETCH_TO_FIT"><code>Presentation.LAYOUT_STRETCH_TO_FIT</code></a>.
|
||||
|
||||
<p>May scale either width or height, leaving the other output dimension equal to its input,
|
||||
unless <a href="Presentation.Builder.html#setResolution(int)"><code>Presentation.Builder.setResolution(int)</code></a> rescales width and height.</div>
|
||||
<p>May scale either width or height, leaving the other output dimension equal to its input.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
@ -25,8 +25,8 @@
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":10,"i1":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var data = {"i0":10,"i1":9,"i2":9,"i3":9,"i4":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";
|
||||
var tableTab = "tableTab";
|
||||
@ -113,7 +113,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.transformer</a></div>
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Class Presentation" class="title">Class Presentation</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
@ -121,7 +121,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.google.android.exoplayer2.transformer.Presentation</li>
|
||||
<li>com.google.android.exoplayer2.effect.Presentation</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -130,19 +130,17 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.transformer">GlEffect</a></code>, <code><a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer">GlMatrixTransformation</a></code>, <code><a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer">MatrixTransformation</a></code></dd>
|
||||
<dd><code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></code>, <code><a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">GlMatrixTransformation</a></code>, <code><a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">MatrixTransformation</a></code>, <code><a href="../util/Effect.html" title="interface in com.google.android.exoplayer2.util">Effect</a></code></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public final class <span class="typeNameLabel">Presentation</span>
|
||||
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a>
|
||||
implements <a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer">MatrixTransformation</a></pre>
|
||||
<div class="block">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).
|
||||
implements <a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">MatrixTransformation</a></pre>
|
||||
<div class="block">Controls how a frame is presented with options to set the output resolution 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).
|
||||
|
||||
<p>Cropping or aspect ratio is applied before setting resolution.
|
||||
|
||||
<p>The background color of the output frame will be black.</div>
|
||||
<p>The background color of the output frame will be black, with alpha = 0 if applicable.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -164,15 +162,8 @@ implements <a href="MatrixTransformation.html" title="interface in com.google.an
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Presentation.Builder.html" title="class in com.google.android.exoplayer2.transformer">Presentation.Builder</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">A builder for <a href="Presentation.html" title="class in com.google.android.exoplayer2.transformer"><code>Presentation</code></a> instances.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static interface </code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Presentation.Layout.html" title="annotation in com.google.android.exoplayer2.transformer">Presentation.Layout</a></span></code></th>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Presentation.Layout.html" title="annotation in com.google.android.exoplayer2.effect">Presentation.Layout</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Strategies controlling the layout of input pixels in the output frame.</div>
|
||||
</td>
|
||||
@ -229,14 +220,14 @@ implements <a href="MatrixTransformation.html" title="interface in com.google.an
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="https://developer.android.com/reference/android/util/Size.html" title="class or interface in android.util" class="externalLink" target="_top">Size</a></code></td>
|
||||
<td class="colFirst"><code><a href="https://developer.android.com/reference/android/util/Pair.html" title="class or interface in android.util" class="externalLink">Pair</a><<a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>,​<a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a>></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#configure(int,int)">configure</a></span>​(int inputWidth,
|
||||
int inputHeight)</code></th>
|
||||
<td class="colLast">
|
||||
@ -244,6 +235,30 @@ implements <a href="MatrixTransformation.html" title="interface in com.google.an
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="Presentation.html" title="class in com.google.android.exoplayer2.effect">Presentation</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createForAspectRatio(float,@com.google.android.exoplayer2.effect.Presentation.Layoutint)">createForAspectRatio</a></span>​(float aspectRatio,
|
||||
@com.google.android.exoplayer2.effect.Presentation.Layout int layout)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Creates a new <a href="Presentation.html" title="class in com.google.android.exoplayer2.effect"><code>Presentation</code></a> instance.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="Presentation.html" title="class in com.google.android.exoplayer2.effect">Presentation</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createForHeight(int)">createForHeight</a></span>​(int height)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Creates a new <a href="Presentation.html" title="class in com.google.android.exoplayer2.effect"><code>Presentation</code></a> instance.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="Presentation.html" title="class in com.google.android.exoplayer2.effect">Presentation</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createForWidthAndHeight(int,int,@com.google.android.exoplayer2.effect.Presentation.Layoutint)">createForWidthAndHeight</a></span>​(int width,
|
||||
int height,
|
||||
@com.google.android.exoplayer2.effect.Presentation.Layout int layout)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Creates a new <a href="Presentation.html" title="class in com.google.android.exoplayer2.effect"><code>Presentation</code></a> instance.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code><a href="https://developer.android.com/reference/android/graphics/Matrix.html" title="class or interface in android.graphics" class="externalLink" target="_top">Matrix</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMatrix(long)">getMatrix</a></span>​(long presentationTimeUs)</code></th>
|
||||
<td class="colLast">
|
||||
@ -259,17 +274,17 @@ implements <a href="MatrixTransformation.html" title="interface in com.google.an
|
||||
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.com.google.android.exoplayer2.transformer.GlMatrixTransformation">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.com.google.android.exoplayer2.effect.GlMatrixTransformation">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface com.google.android.exoplayer2.transformer.<a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer">GlMatrixTransformation</a></h3>
|
||||
<code><a href="GlMatrixTransformation.html#toGlTextureProcessor()">toGlTextureProcessor</a></code></li>
|
||||
<h3>Methods inherited from interface com.google.android.exoplayer2.effect.<a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">GlMatrixTransformation</a></h3>
|
||||
<code><a href="GlMatrixTransformation.html#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.com.google.android.exoplayer2.transformer.MatrixTransformation">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.com.google.android.exoplayer2.effect.MatrixTransformation">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface com.google.android.exoplayer2.transformer.<a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer">MatrixTransformation</a></h3>
|
||||
<h3>Methods inherited from interface com.google.android.exoplayer2.effect.<a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">MatrixTransformation</a></h3>
|
||||
<code><a href="MatrixTransformation.html#getGlMatrixArray(long)">getGlMatrixArray</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
@ -309,7 +324,7 @@ implements <a href="MatrixTransformation.html" title="interface in com.google.an
|
||||
</ul></div>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../constant-values.html#com.google.android.exoplayer2.transformer.Presentation.LAYOUT_SCALE_TO_FIT">Constant Field Values</a></dd>
|
||||
<dd><a href="../../../../../constant-values.html#com.google.android.exoplayer2.effect.Presentation.LAYOUT_SCALE_TO_FIT">Constant Field Values</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
@ -333,7 +348,7 @@ implements <a href="MatrixTransformation.html" title="interface in com.google.an
|
||||
</ul></div>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../constant-values.html#com.google.android.exoplayer2.transformer.Presentation.LAYOUT_SCALE_TO_FIT_WITH_CROP">Constant Field Values</a></dd>
|
||||
<dd><a href="../../../../../constant-values.html#com.google.android.exoplayer2.effect.Presentation.LAYOUT_SCALE_TO_FIT_WITH_CROP">Constant Field Values</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
@ -356,7 +371,7 @@ implements <a href="MatrixTransformation.html" title="interface in com.google.an
|
||||
</ul></div>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../constant-values.html#com.google.android.exoplayer2.transformer.Presentation.LAYOUT_STRETCH_TO_FIT">Constant Field Values</a></dd>
|
||||
<dd><a href="../../../../../constant-values.html#com.google.android.exoplayer2.effect.Presentation.LAYOUT_STRETCH_TO_FIT">Constant Field Values</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
@ -370,26 +385,84 @@ implements <a href="MatrixTransformation.html" title="interface in com.google.an
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="createForAspectRatio(float,@com.google.android.exoplayer2.effect.Presentation.Layoutint)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createForAspectRatio</h4>
|
||||
<pre class="methodSignature">public static <a href="Presentation.html" title="class in com.google.android.exoplayer2.effect">Presentation</a> createForAspectRatio​(float aspectRatio,
|
||||
@com.google.android.exoplayer2.effect.Presentation.Layout int layout)</pre>
|
||||
<div class="block">Creates a new <a href="Presentation.html" title="class in com.google.android.exoplayer2.effect"><code>Presentation</code></a> instance.
|
||||
|
||||
<p>The output frame will have the given aspect ratio (width/height ratio). Width or height will
|
||||
be resized to conform to this <code>aspectRatio</code>, given a <a href="Presentation.Layout.html" title="annotation in com.google.android.exoplayer2.effect"><code>Presentation.Layout</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>aspectRatio</code> - The aspect ratio (width/height ratio) of the output frame. Must be positive.</dd>
|
||||
<dd><code>layout</code> - The layout of the output frame.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="createForHeight(int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createForHeight</h4>
|
||||
<pre class="methodSignature">public static <a href="Presentation.html" title="class in com.google.android.exoplayer2.effect">Presentation</a> createForHeight​(int height)</pre>
|
||||
<div class="block">Creates a new <a href="Presentation.html" title="class in com.google.android.exoplayer2.effect"><code>Presentation</code></a> instance.
|
||||
|
||||
<p>The output frame will have the given height. Width will scale to preserve the input aspect
|
||||
ratio.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>height</code> - The height of the output frame, in pixels.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="createForWidthAndHeight(int,int,@com.google.android.exoplayer2.effect.Presentation.Layoutint)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createForWidthAndHeight</h4>
|
||||
<pre class="methodSignature">public static <a href="Presentation.html" title="class in com.google.android.exoplayer2.effect">Presentation</a> createForWidthAndHeight​(int width,
|
||||
int height,
|
||||
@com.google.android.exoplayer2.effect.Presentation.Layout int layout)</pre>
|
||||
<div class="block">Creates a new <a href="Presentation.html" title="class in com.google.android.exoplayer2.effect"><code>Presentation</code></a> instance.
|
||||
|
||||
<p>The output frame will have the given width and height, given a <a href="Presentation.Layout.html" title="annotation in com.google.android.exoplayer2.effect"><code>Presentation.Layout</code></a>.
|
||||
|
||||
<p>Width and height must be positive integers representing the output frame's width and height.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>width</code> - The width of the output frame, in pixels.</dd>
|
||||
<dd><code>height</code> - The height of the output frame, in pixels.</dd>
|
||||
<dd><code>layout</code> - The layout of the output frame.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="configure(int,int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>configure</h4>
|
||||
<pre class="methodSignature">public <a href="https://developer.android.com/reference/android/util/Size.html" title="class or interface in android.util" class="externalLink" target="_top">Size</a> configure​(int inputWidth,
|
||||
int inputHeight)</pre>
|
||||
<pre class="methodSignature">public <a href="https://developer.android.com/reference/android/util/Pair.html" title="class or interface in android.util" class="externalLink">Pair</a><<a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>,​<a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a>> configure​(int inputWidth,
|
||||
int inputHeight)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="GlMatrixTransformation.html#configure(int,int)">GlMatrixTransformation</a></code></span></div>
|
||||
<div class="block">Configures the input and output dimensions.
|
||||
|
||||
<p>Must be called before <a href="GlMatrixTransformation.html#getGlMatrixArray(long)"><code>GlMatrixTransformation.getGlMatrixArray(long)</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="GlMatrixTransformation.html#configure(int,int)">configure</a></code> in interface <code><a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer">GlMatrixTransformation</a></code></dd>
|
||||
<dd><code><a href="GlMatrixTransformation.html#configure(int,int)">configure</a></code> in interface <code><a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">GlMatrixTransformation</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>inputWidth</code> - The input frame width, in pixels.</dd>
|
||||
<dd><code>inputHeight</code> - The input frame height, in pixels.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The output frame <a href="https://developer.android.com/reference/android/util/Size.html" title="class or interface in android.util" class="externalLink" target="_top"><code>Size</code></a>, in pixels.</dd>
|
||||
<dd>The output frame width and height, in pixels.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
@ -404,7 +477,7 @@ implements <a href="MatrixTransformation.html" title="interface in com.google.an
|
||||
<div class="block">Returns the 3x3 transformation <a href="https://developer.android.com/reference/android/graphics/Matrix.html" title="class or interface in android.graphics" class="externalLink" target="_top"><code>Matrix</code></a> to apply to the frame with the given timestamp.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="MatrixTransformation.html#getMatrix(long)">getMatrix</a></code> in interface <code><a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer">MatrixTransformation</a></code></dd>
|
||||
<dd><code><a href="MatrixTransformation.html#getMatrix(long)">getMatrix</a></code> in interface <code><a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">MatrixTransformation</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
@ -0,0 +1,382 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>RgbAdjustment.Builder (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="RgbAdjustment.Builder (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":10,"i1":10,"i2":10,"i3":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Class RgbAdjustment.Builder" class="title">Class RgbAdjustment.Builder</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.google.android.exoplayer2.effect.RgbAdjustment.Builder</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="RgbAdjustment.html" title="class in com.google.android.exoplayer2.effect">RgbAdjustment</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public static final class <span class="typeNameLabel">RgbAdjustment.Builder</span>
|
||||
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></pre>
|
||||
<div class="block">A builder for <a href="RgbAdjustment.html" title="class in com.google.android.exoplayer2.effect"><code>RgbAdjustment</code></a> instances.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Constructor</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">Builder</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Creates a new instance with default values.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="RgbAdjustment.html" title="class in com.google.android.exoplayer2.effect">RgbAdjustment</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#build()">build</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Creates a new <a href="RgbAdjustment.html" title="class in com.google.android.exoplayer2.effect"><code>RgbAdjustment</code></a> instance.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="RgbAdjustment.Builder.html" title="class in com.google.android.exoplayer2.effect">RgbAdjustment.Builder</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBlueScale(float)">setBlueScale</a></span>​(float blueScale)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Scales the blue channel of the frame by <code>blueScale</code>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="RgbAdjustment.Builder.html" title="class in com.google.android.exoplayer2.effect">RgbAdjustment.Builder</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setGreenScale(float)">setGreenScale</a></span>​(float greenScale)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Scales the green channel of the frame by <code>greenScale</code>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code><a href="RgbAdjustment.Builder.html" title="class in com.google.android.exoplayer2.effect">RgbAdjustment.Builder</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRedScale(float)">setRedScale</a></span>​(float redScale)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Scales the red channel of the frame by <code>redScale</code>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
|
||||
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a id="<init>()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Builder</h4>
|
||||
<pre>public Builder()</pre>
|
||||
<div class="block">Creates a new instance with default values.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="setRedScale(float)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setRedScale</h4>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="RgbAdjustment.Builder.html" title="class in com.google.android.exoplayer2.effect">RgbAdjustment.Builder</a> setRedScale​(float redScale)</pre>
|
||||
<div class="block">Scales the red channel of the frame by <code>redScale</code>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>redScale</code> - The scale to apply to the red channel. Needs to be non-negative and the
|
||||
default value is <code>1</code>.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setGreenScale(float)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setGreenScale</h4>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="RgbAdjustment.Builder.html" title="class in com.google.android.exoplayer2.effect">RgbAdjustment.Builder</a> setGreenScale​(float greenScale)</pre>
|
||||
<div class="block">Scales the green channel of the frame by <code>greenScale</code>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>greenScale</code> - The scale to apply to the green channel. Needs to be non-negative and the
|
||||
default value is <code>1</code>.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setBlueScale(float)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setBlueScale</h4>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="RgbAdjustment.Builder.html" title="class in com.google.android.exoplayer2.effect">RgbAdjustment.Builder</a> setBlueScale​(float blueScale)</pre>
|
||||
<div class="block">Scales the blue channel of the frame by <code>blueScale</code>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>blueScale</code> - The scale to apply to the blue channel. Needs to be non-negative and the
|
||||
default value is <code>1</code>.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="build()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>build</h4>
|
||||
<pre class="methodSignature">public <a href="RgbAdjustment.html" title="class in com.google.android.exoplayer2.effect">RgbAdjustment</a> build()</pre>
|
||||
<div class="block">Creates a new <a href="RgbAdjustment.html" title="class in com.google.android.exoplayer2.effect"><code>RgbAdjustment</code></a> instance.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,318 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>RgbAdjustment (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="RgbAdjustment (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Class RgbAdjustment" class="title">Class RgbAdjustment</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.google.android.exoplayer2.effect.RgbAdjustment</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></code>, <code><a href="RgbMatrix.html" title="interface in com.google.android.exoplayer2.effect">RgbMatrix</a></code>, <code><a href="../util/Effect.html" title="interface in com.google.android.exoplayer2.util">Effect</a></code></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public final class <span class="typeNameLabel">RgbAdjustment</span>
|
||||
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a>
|
||||
implements <a href="RgbMatrix.html" title="interface in com.google.android.exoplayer2.effect">RgbMatrix</a></pre>
|
||||
<div class="block">Scales the red, green, and blue color channels of a frame.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="nested.class.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Class</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="RgbAdjustment.Builder.html" title="class in com.google.android.exoplayer2.effect">RgbAdjustment.Builder</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">A builder for <a href="RgbAdjustment.html" title="class in com.google.android.exoplayer2.effect"><code>RgbAdjustment</code></a> instances.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>float[]</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMatrix(long,boolean)">getMatrix</a></span>​(long presentationTimeUs,
|
||||
boolean useHdr)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the 4x4 RGB transformation <a href="https://developer.android.com/reference/android/opengl/Matrix.html" title="class or interface in android.opengl" class="externalLink" target="_top">matrix</a> to apply to the
|
||||
color values of each pixel in the frame with the given timestamp.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
|
||||
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.com.google.android.exoplayer2.effect.RgbMatrix">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface com.google.android.exoplayer2.effect.<a href="RgbMatrix.html" title="interface in com.google.android.exoplayer2.effect">RgbMatrix</a></h3>
|
||||
<code><a href="RgbMatrix.html#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="getMatrix(long,boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getMatrix</h4>
|
||||
<pre class="methodSignature">public float[] getMatrix​(long presentationTimeUs,
|
||||
boolean useHdr)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="RgbMatrix.html#getMatrix(long,boolean)">RgbMatrix</a></code></span></div>
|
||||
<div class="block">Returns the 4x4 RGB transformation <a href="https://developer.android.com/reference/android/opengl/Matrix.html" title="class or interface in android.opengl" class="externalLink" target="_top">matrix</a> to apply to the
|
||||
color values of each pixel in the frame with the given timestamp.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="RgbMatrix.html#getMatrix(long,boolean)">getMatrix</a></code> in interface <code><a href="RgbMatrix.html" title="interface in com.google.android.exoplayer2.effect">RgbMatrix</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>presentationTimeUs</code> - The timestamp of the frame to apply the matrix on.</dd>
|
||||
<dd><code>useHdr</code> - If <code>true</code>, colors will be in linear RGB BT.2020. If <code>false</code>, colors
|
||||
will be in linear RGB BT.709. Must be consistent with <code>useHdr</code> in <a href="RgbMatrix.html#toGlTextureProcessor(android.content.Context,boolean)"><code>RgbMatrix.toGlTextureProcessor(Context, boolean)</code></a>.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The <code>RgbMatrix</code> to apply to the frame.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,353 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>RgbFilter (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="RgbFilter (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":9,"i1":9,"i2":10,"i3":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";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Class RgbFilter" class="title">Class RgbFilter</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.google.android.exoplayer2.effect.RgbFilter</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></code>, <code><a href="RgbMatrix.html" title="interface in com.google.android.exoplayer2.effect">RgbMatrix</a></code>, <code><a href="../util/Effect.html" title="interface in com.google.android.exoplayer2.util">Effect</a></code></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public class <span class="typeNameLabel">RgbFilter</span>
|
||||
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a>
|
||||
implements <a href="RgbMatrix.html" title="interface in com.google.android.exoplayer2.effect">RgbMatrix</a></pre>
|
||||
<div class="block">Provides common color filters.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="RgbFilter.html" title="class in com.google.android.exoplayer2.effect">RgbFilter</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createGrayscaleFilter()">createGrayscaleFilter</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Creates a new grayscale <code>RgbFilter</code> instance.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="RgbFilter.html" title="class in com.google.android.exoplayer2.effect">RgbFilter</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createInvertedFilter()">createInvertedFilter</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Creates a new inverted <code>RgbFilter</code> instance.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>float[]</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMatrix(long,boolean)">getMatrix</a></span>​(long presentationTimeUs,
|
||||
boolean useHdr)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the 4x4 RGB transformation <a href="https://developer.android.com/reference/android/opengl/Matrix.html" title="class or interface in android.opengl" class="externalLink" target="_top">matrix</a> to apply to the
|
||||
color values of each pixel in the frame with the given timestamp.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code><a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect">SingleFrameGlTextureProcessor</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></span>​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
|
||||
boolean useHdr)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns a <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect"><code>SingleFrameGlTextureProcessor</code></a> that applies the effect.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
|
||||
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="createGrayscaleFilter()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createGrayscaleFilter</h4>
|
||||
<pre class="methodSignature">public static <a href="RgbFilter.html" title="class in com.google.android.exoplayer2.effect">RgbFilter</a> createGrayscaleFilter()</pre>
|
||||
<div class="block">Creates a new grayscale <code>RgbFilter</code> instance.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="createInvertedFilter()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createInvertedFilter</h4>
|
||||
<pre class="methodSignature">public static <a href="RgbFilter.html" title="class in com.google.android.exoplayer2.effect">RgbFilter</a> createInvertedFilter()</pre>
|
||||
<div class="block">Creates a new inverted <code>RgbFilter</code> instance.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getMatrix(long,boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getMatrix</h4>
|
||||
<pre class="methodSignature">public float[] getMatrix​(long presentationTimeUs,
|
||||
boolean useHdr)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="RgbMatrix.html#getMatrix(long,boolean)">RgbMatrix</a></code></span></div>
|
||||
<div class="block">Returns the 4x4 RGB transformation <a href="https://developer.android.com/reference/android/opengl/Matrix.html" title="class or interface in android.opengl" class="externalLink" target="_top">matrix</a> to apply to the
|
||||
color values of each pixel in the frame with the given timestamp.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="RgbMatrix.html#getMatrix(long,boolean)">getMatrix</a></code> in interface <code><a href="RgbMatrix.html" title="interface in com.google.android.exoplayer2.effect">RgbMatrix</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>presentationTimeUs</code> - The timestamp of the frame to apply the matrix on.</dd>
|
||||
<dd><code>useHdr</code> - If <code>true</code>, colors will be in linear RGB BT.2020. If <code>false</code>, colors
|
||||
will be in linear RGB BT.709. Must be consistent with <code>useHdr</code> in <a href="RgbMatrix.html#toGlTextureProcessor(android.content.Context,boolean)"><code>RgbMatrix.toGlTextureProcessor(Context, boolean)</code></a>.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The <code>RgbMatrix</code> to apply to the frame.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="toGlTextureProcessor(android.content.Context,boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toGlTextureProcessor</h4>
|
||||
<pre class="methodSignature">public <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect">SingleFrameGlTextureProcessor</a> toGlTextureProcessor​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
|
||||
boolean useHdr)
|
||||
throws <a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="GlEffect.html#toGlTextureProcessor(android.content.Context,boolean)">GlEffect</a></code></span></div>
|
||||
<div class="block">Returns a <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect"><code>SingleFrameGlTextureProcessor</code></a> that applies the effect.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="GlEffect.html#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></code> in interface <code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></code></dd>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="RgbMatrix.html#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></code> in interface <code><a href="RgbMatrix.html" title="interface in com.google.android.exoplayer2.effect">RgbMatrix</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>context</code> - A <a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top"><code>Context</code></a>.</dd>
|
||||
<dd><code>useHdr</code> - Whether input textures come from an HDR source. If <code>true</code>, colors will be
|
||||
in linear RGB BT.2020. If <code>false</code>, colors will be in linear RGB BT.709.</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,302 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>RgbMatrix (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="RgbMatrix (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":6,"i1":18};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Interface RgbMatrix" class="title">Interface RgbMatrix</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Superinterfaces:</dt>
|
||||
<dd><code><a href="../util/Effect.html" title="interface in com.google.android.exoplayer2.util">Effect</a></code>, <code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></code></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>All Known Implementing Classes:</dt>
|
||||
<dd><code><a href="RgbAdjustment.html" title="class in com.google.android.exoplayer2.effect">RgbAdjustment</a></code>, <code><a href="RgbFilter.html" title="class in com.google.android.exoplayer2.effect">RgbFilter</a></code></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public interface <span class="typeNameLabel">RgbMatrix</span>
|
||||
extends <a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></pre>
|
||||
<div class="block">Specifies a 4x4 RGB color transformation matrix to apply to each frame in the fragment shader.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>float[]</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMatrix(long,boolean)">getMatrix</a></span>​(long presentationTimeUs,
|
||||
boolean useHdr)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the 4x4 RGB transformation <a href="https://developer.android.com/reference/android/opengl/Matrix.html" title="class or interface in android.opengl" class="externalLink" target="_top">matrix</a> to apply to the
|
||||
color values of each pixel in the frame with the given timestamp.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>default <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect">SingleFrameGlTextureProcessor</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></span>​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
|
||||
boolean useHdr)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns a <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect"><code>SingleFrameGlTextureProcessor</code></a> that applies the effect.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="getMatrix(long,boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getMatrix</h4>
|
||||
<pre class="methodSignature">float[] getMatrix​(long presentationTimeUs,
|
||||
boolean useHdr)</pre>
|
||||
<div class="block">Returns the 4x4 RGB transformation <a href="https://developer.android.com/reference/android/opengl/Matrix.html" title="class or interface in android.opengl" class="externalLink" target="_top">matrix</a> to apply to the
|
||||
color values of each pixel in the frame with the given timestamp.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>presentationTimeUs</code> - The timestamp of the frame to apply the matrix on.</dd>
|
||||
<dd><code>useHdr</code> - If <code>true</code>, colors will be in linear RGB BT.2020. If <code>false</code>, colors
|
||||
will be in linear RGB BT.709. Must be consistent with <code>useHdr</code> in <a href="#toGlTextureProcessor(android.content.Context,boolean)"><code>toGlTextureProcessor(Context, boolean)</code></a>.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The <code>RgbMatrix</code> to apply to the frame.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="toGlTextureProcessor(android.content.Context,boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toGlTextureProcessor</h4>
|
||||
<pre class="methodSignature">default <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect">SingleFrameGlTextureProcessor</a> toGlTextureProcessor​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
|
||||
boolean useHdr)
|
||||
throws <a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="GlEffect.html#toGlTextureProcessor(android.content.Context,boolean)">GlEffect</a></code></span></div>
|
||||
<div class="block">Returns a <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect"><code>SingleFrameGlTextureProcessor</code></a> that applies the effect.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="GlEffect.html#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></code> in interface <code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>context</code> - A <a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top"><code>Context</code></a>.</dd>
|
||||
<dd><code>useHdr</code> - Whether input textures come from an HDR source. If <code>true</code>, colors will be
|
||||
in linear RGB BT.2020. If <code>false</code>, colors will be in linear RGB BT.709.</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -113,7 +113,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.transformer</a></div>
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Class ScaleToFitTransformation.Builder" class="title">Class ScaleToFitTransformation.Builder</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
@ -121,7 +121,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.google.android.exoplayer2.transformer.ScaleToFitTransformation.Builder</li>
|
||||
<li>com.google.android.exoplayer2.effect.ScaleToFitTransformation.Builder</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -130,12 +130,12 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="ScaleToFitTransformation.html" title="class in com.google.android.exoplayer2.transformer">ScaleToFitTransformation</a></dd>
|
||||
<dd><a href="ScaleToFitTransformation.html" title="class in com.google.android.exoplayer2.effect">ScaleToFitTransformation</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public static final class <span class="typeNameLabel">ScaleToFitTransformation.Builder</span>
|
||||
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></pre>
|
||||
<div class="block">A builder for <a href="ScaleToFitTransformation.html" title="class in com.google.android.exoplayer2.transformer"><code>ScaleToFitTransformation</code></a> instances.</div>
|
||||
<div class="block">A builder for <a href="ScaleToFitTransformation.html" title="class in com.google.android.exoplayer2.effect"><code>ScaleToFitTransformation</code></a> instances.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -180,19 +180,19 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="ScaleToFitTransformation.html" title="class in com.google.android.exoplayer2.transformer">ScaleToFitTransformation</a></code></td>
|
||||
<td class="colFirst"><code><a href="ScaleToFitTransformation.html" title="class in com.google.android.exoplayer2.effect">ScaleToFitTransformation</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#build()">build</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="ScaleToFitTransformation.Builder.html" title="class in com.google.android.exoplayer2.transformer">ScaleToFitTransformation.Builder</a></code></td>
|
||||
<td class="colFirst"><code><a href="ScaleToFitTransformation.Builder.html" title="class in com.google.android.exoplayer2.effect">ScaleToFitTransformation.Builder</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRotationDegrees(float)">setRotationDegrees</a></span>​(float rotationDegrees)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the counterclockwise rotation degrees.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="ScaleToFitTransformation.Builder.html" title="class in com.google.android.exoplayer2.transformer">ScaleToFitTransformation.Builder</a></code></td>
|
||||
<td class="colFirst"><code><a href="ScaleToFitTransformation.Builder.html" title="class in com.google.android.exoplayer2.effect">ScaleToFitTransformation.Builder</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setScale(float,float)">setScale</a></span>​(float scaleX,
|
||||
float scaleY)</code></th>
|
||||
<td class="colLast">
|
||||
@ -249,7 +249,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setScale</h4>
|
||||
<pre class="methodSignature">public <a href="ScaleToFitTransformation.Builder.html" title="class in com.google.android.exoplayer2.transformer">ScaleToFitTransformation.Builder</a> setScale​(float scaleX,
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ScaleToFitTransformation.Builder.html" title="class in com.google.android.exoplayer2.effect">ScaleToFitTransformation.Builder</a> setScale​(float scaleX,
|
||||
float scaleY)</pre>
|
||||
<div class="block">Sets the x and y axis scaling factors to apply to each frame's width and height.
|
||||
|
||||
@ -269,7 +270,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setRotationDegrees</h4>
|
||||
<pre class="methodSignature">public <a href="ScaleToFitTransformation.Builder.html" title="class in com.google.android.exoplayer2.transformer">ScaleToFitTransformation.Builder</a> setRotationDegrees​(float rotationDegrees)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ScaleToFitTransformation.Builder.html" title="class in com.google.android.exoplayer2.effect">ScaleToFitTransformation.Builder</a> setRotationDegrees​(float rotationDegrees)</pre>
|
||||
<div class="block">Sets the counterclockwise rotation degrees.
|
||||
|
||||
<p>The default value, 0, corresponds to not applying any rotation.</div>
|
||||
@ -287,7 +289,7 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>build</h4>
|
||||
<pre class="methodSignature">public <a href="ScaleToFitTransformation.html" title="class in com.google.android.exoplayer2.transformer">ScaleToFitTransformation</a> build()</pre>
|
||||
<pre class="methodSignature">public <a href="ScaleToFitTransformation.html" title="class in com.google.android.exoplayer2.effect">ScaleToFitTransformation</a> build()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
@ -113,7 +113,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.transformer</a></div>
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Class ScaleToFitTransformation" class="title">Class ScaleToFitTransformation</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
@ -121,7 +121,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.google.android.exoplayer2.transformer.ScaleToFitTransformation</li>
|
||||
<li>com.google.android.exoplayer2.effect.ScaleToFitTransformation</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -130,18 +130,18 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.transformer">GlEffect</a></code>, <code><a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer">GlMatrixTransformation</a></code>, <code><a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer">MatrixTransformation</a></code></dd>
|
||||
<dd><code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></code>, <code><a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">GlMatrixTransformation</a></code>, <code><a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">MatrixTransformation</a></code>, <code><a href="../util/Effect.html" title="interface in com.google.android.exoplayer2.util">Effect</a></code></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public final class <span class="typeNameLabel">ScaleToFitTransformation</span>
|
||||
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a>
|
||||
implements <a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer">MatrixTransformation</a></pre>
|
||||
implements <a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">MatrixTransformation</a></pre>
|
||||
<div class="block">Specifies a simple rotation and/or scale to apply in the vertex shader.
|
||||
|
||||
<p>All input frames' pixels will be preserved and copied into an output frame, potentially
|
||||
changing the width and height of the frame by scaling dimensions to fit.
|
||||
|
||||
<p>The background color of the output frame will be black.</div>
|
||||
<p>The background color of the output frame will be black, with alpha = 0 if applicable.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -164,9 +164,9 @@ implements <a href="MatrixTransformation.html" title="interface in com.google.an
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="ScaleToFitTransformation.Builder.html" title="class in com.google.android.exoplayer2.transformer">ScaleToFitTransformation.Builder</a></span></code></th>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="ScaleToFitTransformation.Builder.html" title="class in com.google.android.exoplayer2.effect">ScaleToFitTransformation.Builder</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">A builder for <a href="ScaleToFitTransformation.html" title="class in com.google.android.exoplayer2.transformer"><code>ScaleToFitTransformation</code></a> instances.</div>
|
||||
<div class="block">A builder for <a href="ScaleToFitTransformation.html" title="class in com.google.android.exoplayer2.effect"><code>ScaleToFitTransformation</code></a> instances.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -188,7 +188,7 @@ implements <a href="MatrixTransformation.html" title="interface in com.google.an
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="https://developer.android.com/reference/android/util/Size.html" title="class or interface in android.util" class="externalLink" target="_top">Size</a></code></td>
|
||||
<td class="colFirst"><code><a href="https://developer.android.com/reference/android/util/Pair.html" title="class or interface in android.util" class="externalLink">Pair</a><<a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>,​<a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a>></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#configure(int,int)">configure</a></span>​(int inputWidth,
|
||||
int inputHeight)</code></th>
|
||||
<td class="colLast">
|
||||
@ -211,17 +211,17 @@ implements <a href="MatrixTransformation.html" title="interface in com.google.an
|
||||
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.com.google.android.exoplayer2.transformer.GlMatrixTransformation">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.com.google.android.exoplayer2.effect.GlMatrixTransformation">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface com.google.android.exoplayer2.transformer.<a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer">GlMatrixTransformation</a></h3>
|
||||
<code><a href="GlMatrixTransformation.html#toGlTextureProcessor()">toGlTextureProcessor</a></code></li>
|
||||
<h3>Methods inherited from interface com.google.android.exoplayer2.effect.<a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">GlMatrixTransformation</a></h3>
|
||||
<code><a href="GlMatrixTransformation.html#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.com.google.android.exoplayer2.transformer.MatrixTransformation">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.com.google.android.exoplayer2.effect.MatrixTransformation">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface com.google.android.exoplayer2.transformer.<a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer">MatrixTransformation</a></h3>
|
||||
<h3>Methods inherited from interface com.google.android.exoplayer2.effect.<a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">MatrixTransformation</a></h3>
|
||||
<code><a href="MatrixTransformation.html#getGlMatrixArray(long)">getGlMatrixArray</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
@ -246,20 +246,20 @@ implements <a href="MatrixTransformation.html" title="interface in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>configure</h4>
|
||||
<pre class="methodSignature">public <a href="https://developer.android.com/reference/android/util/Size.html" title="class or interface in android.util" class="externalLink" target="_top">Size</a> configure​(int inputWidth,
|
||||
int inputHeight)</pre>
|
||||
<pre class="methodSignature">public <a href="https://developer.android.com/reference/android/util/Pair.html" title="class or interface in android.util" class="externalLink">Pair</a><<a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>,​<a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a>> configure​(int inputWidth,
|
||||
int inputHeight)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="GlMatrixTransformation.html#configure(int,int)">GlMatrixTransformation</a></code></span></div>
|
||||
<div class="block">Configures the input and output dimensions.
|
||||
|
||||
<p>Must be called before <a href="GlMatrixTransformation.html#getGlMatrixArray(long)"><code>GlMatrixTransformation.getGlMatrixArray(long)</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="GlMatrixTransformation.html#configure(int,int)">configure</a></code> in interface <code><a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer">GlMatrixTransformation</a></code></dd>
|
||||
<dd><code><a href="GlMatrixTransformation.html#configure(int,int)">configure</a></code> in interface <code><a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">GlMatrixTransformation</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>inputWidth</code> - The input frame width, in pixels.</dd>
|
||||
<dd><code>inputHeight</code> - The input frame height, in pixels.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The output frame <a href="https://developer.android.com/reference/android/util/Size.html" title="class or interface in android.util" class="externalLink" target="_top"><code>Size</code></a>, in pixels.</dd>
|
||||
<dd>The output frame width and height, in pixels.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
@ -274,7 +274,7 @@ implements <a href="MatrixTransformation.html" title="interface in com.google.an
|
||||
<div class="block">Returns the 3x3 transformation <a href="https://developer.android.com/reference/android/graphics/Matrix.html" title="class or interface in android.graphics" class="externalLink" target="_top"><code>Matrix</code></a> to apply to the frame with the given timestamp.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="MatrixTransformation.html#getMatrix(long)">getMatrix</a></code> in interface <code><a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.transformer">MatrixTransformation</a></code></dd>
|
||||
<dd><code><a href="MatrixTransformation.html#getMatrix(long)">getMatrix</a></code> in interface <code><a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">MatrixTransformation</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
@ -0,0 +1,395 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>SingleColorLut (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="SingleColorLut (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":9,"i1":9,"i2":10,"i3":10,"i4":10,"i5":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";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Class SingleColorLut" class="title">Class SingleColorLut</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.google.android.exoplayer2.effect.SingleColorLut</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><code><a href="ColorLut.html" title="interface in com.google.android.exoplayer2.effect">ColorLut</a></code>, <code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></code>, <code><a href="../util/Effect.html" title="interface in com.google.android.exoplayer2.util">Effect</a></code></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public class <span class="typeNameLabel">SingleColorLut</span>
|
||||
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a>
|
||||
implements <a href="ColorLut.html" title="interface in com.google.android.exoplayer2.effect">ColorLut</a></pre>
|
||||
<div class="block">Transforms the colors of a frame by applying the same color lookup table to each frame.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="SingleColorLut.html" title="class in com.google.android.exoplayer2.effect">SingleColorLut</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createFromBitmap(android.graphics.Bitmap)">createFromBitmap</a></span>​(<a href="https://developer.android.com/reference/android/graphics/Bitmap.html" title="class or interface in android.graphics" class="externalLink" target="_top">Bitmap</a> lut)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Creates a new instance.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="SingleColorLut.html" title="class in com.google.android.exoplayer2.effect">SingleColorLut</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createFromCube(int%5B%5D%5B%5D%5B%5D)">createFromCube</a></span>​(int[][][] lutCube)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Creates a new instance.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLength(long)">getLength</a></span>​(long presentationTimeUs)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the length N of the 3D N x N x N LUT cube with the given timestamp.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLutTextureId(long)">getLutTextureId</a></span>​(long presentationTimeUs)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Must be called after <a href="#toGlTextureProcessor(android.content.Context,boolean)"><code>toGlTextureProcessor(Context, boolean)</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#release()">release</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Releases the OpenGL texture of the LUT.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code><a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect">SingleFrameGlTextureProcessor</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></span>​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
|
||||
boolean useHdr)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">This method must be executed on the same thread as other GL commands.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
|
||||
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="createFromCube(int[][][])">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createFromCube</h4>
|
||||
<pre class="methodSignature">public static <a href="SingleColorLut.html" title="class in com.google.android.exoplayer2.effect">SingleColorLut</a> createFromCube​(int[][][] lutCube)</pre>
|
||||
<div class="block">Creates a new instance.
|
||||
|
||||
<p><code>lutCube</code> needs to be a <code>N x N x N</code> cube and each element is an integer
|
||||
representing a color using the <a href="https://developer.android.com/reference/android/graphics/Bitmap.Config.html#ARGB_8888" title="class or interface in android.graphics" class="externalLink" target="_top"><code>Bitmap.Config.ARGB_8888</code></a> format.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="createFromBitmap(android.graphics.Bitmap)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createFromBitmap</h4>
|
||||
<pre class="methodSignature">public static <a href="SingleColorLut.html" title="class in com.google.android.exoplayer2.effect">SingleColorLut</a> createFromBitmap​(<a href="https://developer.android.com/reference/android/graphics/Bitmap.html" title="class or interface in android.graphics" class="externalLink" target="_top">Bitmap</a> lut)</pre>
|
||||
<div class="block">Creates a new instance.
|
||||
|
||||
<p>LUT needs to be a Bitmap of a flattened HALD image of width <code>N</code> and height <code>
|
||||
N^2</code>. Each element must be an integer representing a color using the <a href="https://developer.android.com/reference/android/graphics/Bitmap.Config.html#ARGB_8888" title="class or interface in android.graphics" class="externalLink" target="_top"><code>Bitmap.Config.ARGB_8888</code></a> format.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getLutTextureId(long)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getLutTextureId</h4>
|
||||
<pre class="methodSignature">public int getLutTextureId​(long presentationTimeUs)</pre>
|
||||
<div class="block">Must be called after <a href="#toGlTextureProcessor(android.content.Context,boolean)"><code>toGlTextureProcessor(Context, boolean)</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="ColorLut.html#getLutTextureId(long)">getLutTextureId</a></code> in interface <code><a href="ColorLut.html" title="interface in com.google.android.exoplayer2.effect">ColorLut</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getLength(long)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getLength</h4>
|
||||
<pre class="methodSignature">public int getLength​(long presentationTimeUs)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ColorLut.html#getLength(long)">ColorLut</a></code></span></div>
|
||||
<div class="block">Returns the length N of the 3D N x N x N LUT cube with the given timestamp.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="ColorLut.html#getLength(long)">getLength</a></code> in interface <code><a href="ColorLut.html" title="interface in com.google.android.exoplayer2.effect">ColorLut</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="release()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>release</h4>
|
||||
<pre class="methodSignature">public void release()
|
||||
throws <a href="../util/GlUtil.GlException.html" title="class in com.google.android.exoplayer2.util">GlUtil.GlException</a></pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ColorLut.html#release()">ColorLut</a></code></span></div>
|
||||
<div class="block">Releases the OpenGL texture of the LUT.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="ColorLut.html#release()">release</a></code> in interface <code><a href="ColorLut.html" title="interface in com.google.android.exoplayer2.effect">ColorLut</a></code></dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../util/GlUtil.GlException.html" title="class in com.google.android.exoplayer2.util">GlUtil.GlException</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="toGlTextureProcessor(android.content.Context,boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toGlTextureProcessor</h4>
|
||||
<pre class="methodSignature">public <a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect">SingleFrameGlTextureProcessor</a> toGlTextureProcessor​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
|
||||
boolean useHdr)
|
||||
throws <a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="ColorLut.html#toGlTextureProcessor(android.content.Context,boolean)">ColorLut</a></code></span></div>
|
||||
<div class="block">This method must be executed on the same thread as other GL commands.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="ColorLut.html#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></code> in interface <code><a href="ColorLut.html" title="interface in com.google.android.exoplayer2.effect">ColorLut</a></code></dd>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="GlEffect.html#toGlTextureProcessor(android.content.Context,boolean)">toGlTextureProcessor</a></code> in interface <code><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>context</code> - A <a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top"><code>Context</code></a>.</dd>
|
||||
<dd><code>useHdr</code> - Whether input textures come from an HDR source. If <code>true</code>, colors will be
|
||||
in linear RGB BT.2020. If <code>false</code>, colors will be in linear RGB BT.709.</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,563 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>SingleFrameGlTextureProcessor (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="SingleFrameGlTextureProcessor (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":6,"i1":6,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Class SingleFrameGlTextureProcessor" class="title">Class SingleFrameGlTextureProcessor</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.google.android.exoplayer2.effect.SingleFrameGlTextureProcessor</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><code><a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor</a></code></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public abstract class <span class="typeNameLabel">SingleFrameGlTextureProcessor</span>
|
||||
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a>
|
||||
implements <a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor</a></pre>
|
||||
<div class="block">Manages a GLSL shader program for processing a frame. Implementations generally copy input pixels
|
||||
into an output frame, with changes to pixels specific to the implementation.
|
||||
|
||||
<p><code>SingleFrameGlTextureProcessor</code> implementations must produce exactly one output frame
|
||||
per input frame with the same presentation timestamp. For more flexibility, implement <a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor</code></a> directly.
|
||||
|
||||
<p>All methods in this class must be called on the thread that owns the OpenGL context.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="nested.class.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="nested.classes.inherited.from.class.com.google.android.exoplayer2.effect.GlTextureProcessor">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from interface com.google.android.exoplayer2.effect.<a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor</a></h3>
|
||||
<code><a href="GlTextureProcessor.ErrorListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.ErrorListener</a>, <a href="GlTextureProcessor.InputListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.InputListener</a>, <a href="GlTextureProcessor.OutputListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.OutputListener</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Constructor</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(boolean)">SingleFrameGlTextureProcessor</a></span>​(boolean useHdr)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Creates a <code>SingleFrameGlTextureProcessor</code> instance.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>abstract <a href="https://developer.android.com/reference/android/util/Pair.html" title="class or interface in android.util" class="externalLink">Pair</a><<a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>,​<a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a>></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#configure(int,int)">configure</a></span>​(int inputWidth,
|
||||
int inputHeight)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Configures the texture processor based on the input dimensions.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>abstract void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#drawFrame(int,long)">drawFrame</a></span>​(int inputTexId,
|
||||
long presentationTimeUs)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Draws one frame.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#queueInputFrame(com.google.android.exoplayer2.effect.TextureInfo,long)">queueInputFrame</a></span>​(<a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect">TextureInfo</a> inputTexture,
|
||||
long presentationTimeUs)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Processes an input frame if possible.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#release()">release</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Releases all resources.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#releaseOutputFrame(com.google.android.exoplayer2.effect.TextureInfo)">releaseOutputFrame</a></span>​(<a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect">TextureInfo</a> outputTexture)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Notifies the texture processor that the frame on the given output texture is no longer used and
|
||||
can be overwritten.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setErrorListener(com.google.android.exoplayer2.effect.GlTextureProcessor.ErrorListener)">setErrorListener</a></span>​(<a href="GlTextureProcessor.ErrorListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.ErrorListener</a> errorListener)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the <a href="GlTextureProcessor.ErrorListener.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor.ErrorListener</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setInputListener(com.google.android.exoplayer2.effect.GlTextureProcessor.InputListener)">setInputListener</a></span>​(<a href="GlTextureProcessor.InputListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.InputListener</a> inputListener)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the <a href="GlTextureProcessor.InputListener.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor.InputListener</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setOutputListener(com.google.android.exoplayer2.effect.GlTextureProcessor.OutputListener)">setOutputListener</a></span>​(<a href="GlTextureProcessor.OutputListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.OutputListener</a> outputListener)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the <a href="GlTextureProcessor.OutputListener.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor.OutputListener</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#signalEndOfCurrentInputStream()">signalEndOfCurrentInputStream</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Notifies the <code>GlTextureProcessor</code> that no further input frames belonging to the current
|
||||
input stream will be queued.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
|
||||
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a id="<init>(boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>SingleFrameGlTextureProcessor</h4>
|
||||
<pre>public SingleFrameGlTextureProcessor​(boolean useHdr)</pre>
|
||||
<div class="block">Creates a <code>SingleFrameGlTextureProcessor</code> instance.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>useHdr</code> - Whether input textures come from an HDR source. If <code>true</code>, colors will be
|
||||
in linear RGB BT.2020. If <code>false</code>, colors will be in linear RGB BT.709.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="configure(int,int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>configure</h4>
|
||||
<pre class="methodSignature">public abstract <a href="https://developer.android.com/reference/android/util/Pair.html" title="class or interface in android.util" class="externalLink">Pair</a><<a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>,​<a href="https://developer.android.com/reference/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">Integer</a>> configure​(int inputWidth,
|
||||
int inputHeight)</pre>
|
||||
<div class="block">Configures the texture processor based on the input dimensions.
|
||||
|
||||
<p>This method must be called before <a href="#drawFrame(int,long)">drawing</a> the first frame
|
||||
and before drawing subsequent frames with different input dimensions.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>inputWidth</code> - The input width, in pixels.</dd>
|
||||
<dd><code>inputHeight</code> - The input height, in pixels.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The output width and height of frames processed through <a href="#drawFrame(int,long)"><code>drawFrame(int, long)</code></a>.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="drawFrame(int,long)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>drawFrame</h4>
|
||||
<pre class="methodSignature">public abstract void drawFrame​(int inputTexId,
|
||||
long presentationTimeUs)
|
||||
throws <a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></pre>
|
||||
<div class="block">Draws one frame.
|
||||
|
||||
<p>This method may only be called after the texture processor has been <a href="#configure(int,int)"><code>configured</code></a>. The caller is responsible for focussing the correct render target before
|
||||
calling this method.
|
||||
|
||||
<p>A minimal implementation should tell OpenGL to use its shader program, bind the shader
|
||||
program's vertex attributes and uniforms, and issue a drawing command.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>inputTexId</code> - Identifier of a 2D OpenGL texture containing the input frame.</dd>
|
||||
<dd><code>presentationTimeUs</code> - The presentation timestamp of the current frame, in microseconds.</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></code> - If an error occurs while processing or drawing the frame.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setInputListener(com.google.android.exoplayer2.effect.GlTextureProcessor.InputListener)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setInputListener</h4>
|
||||
<pre class="methodSignature">public final void setInputListener​(<a href="GlTextureProcessor.InputListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.InputListener</a> inputListener)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="GlTextureProcessor.html#setInputListener(com.google.android.exoplayer2.effect.GlTextureProcessor.InputListener)">GlTextureProcessor</a></code></span></div>
|
||||
<div class="block">Sets the <a href="GlTextureProcessor.InputListener.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor.InputListener</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="GlTextureProcessor.html#setInputListener(com.google.android.exoplayer2.effect.GlTextureProcessor.InputListener)">setInputListener</a></code> in interface <code><a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setOutputListener(com.google.android.exoplayer2.effect.GlTextureProcessor.OutputListener)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setOutputListener</h4>
|
||||
<pre class="methodSignature">public final void setOutputListener​(<a href="GlTextureProcessor.OutputListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.OutputListener</a> outputListener)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="GlTextureProcessor.html#setOutputListener(com.google.android.exoplayer2.effect.GlTextureProcessor.OutputListener)">GlTextureProcessor</a></code></span></div>
|
||||
<div class="block">Sets the <a href="GlTextureProcessor.OutputListener.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor.OutputListener</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="GlTextureProcessor.html#setOutputListener(com.google.android.exoplayer2.effect.GlTextureProcessor.OutputListener)">setOutputListener</a></code> in interface <code><a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setErrorListener(com.google.android.exoplayer2.effect.GlTextureProcessor.ErrorListener)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setErrorListener</h4>
|
||||
<pre class="methodSignature">public final void setErrorListener​(<a href="GlTextureProcessor.ErrorListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.ErrorListener</a> errorListener)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="GlTextureProcessor.html#setErrorListener(com.google.android.exoplayer2.effect.GlTextureProcessor.ErrorListener)">GlTextureProcessor</a></code></span></div>
|
||||
<div class="block">Sets the <a href="GlTextureProcessor.ErrorListener.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor.ErrorListener</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="GlTextureProcessor.html#setErrorListener(com.google.android.exoplayer2.effect.GlTextureProcessor.ErrorListener)">setErrorListener</a></code> in interface <code><a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="queueInputFrame(com.google.android.exoplayer2.effect.TextureInfo,long)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>queueInputFrame</h4>
|
||||
<pre class="methodSignature">public final void queueInputFrame​(<a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect">TextureInfo</a> inputTexture,
|
||||
long presentationTimeUs)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="GlTextureProcessor.html#queueInputFrame(com.google.android.exoplayer2.effect.TextureInfo,long)">GlTextureProcessor</a></code></span></div>
|
||||
<div class="block">Processes an input frame if possible.
|
||||
|
||||
<p>The <code>GlTextureProcessor</code> owns the accepted frame until it calls <a href="GlTextureProcessor.InputListener.html#onInputFrameProcessed(com.google.android.exoplayer2.effect.TextureInfo)"><code>GlTextureProcessor.InputListener.onInputFrameProcessed(TextureInfo)</code></a>. The caller should not overwrite or release
|
||||
the texture before the <code>GlTextureProcessor</code> has finished processing it.
|
||||
|
||||
<p>This method must only be called when the <code>GlTextureProcessor</code> can <a href="GlTextureProcessor.InputListener.html#onReadyToAcceptInputFrame()">accept an input frame</a>.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="GlTextureProcessor.html#queueInputFrame(com.google.android.exoplayer2.effect.TextureInfo,long)">queueInputFrame</a></code> in interface <code><a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>inputTexture</code> - A <a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect"><code>TextureInfo</code></a> describing the texture containing the input frame.</dd>
|
||||
<dd><code>presentationTimeUs</code> - The presentation timestamp of the input frame, in microseconds.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="releaseOutputFrame(com.google.android.exoplayer2.effect.TextureInfo)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>releaseOutputFrame</h4>
|
||||
<pre class="methodSignature">public final void releaseOutputFrame​(<a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect">TextureInfo</a> outputTexture)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="GlTextureProcessor.html#releaseOutputFrame(com.google.android.exoplayer2.effect.TextureInfo)">GlTextureProcessor</a></code></span></div>
|
||||
<div class="block">Notifies the texture processor that the frame on the given output texture is no longer used and
|
||||
can be overwritten.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="GlTextureProcessor.html#releaseOutputFrame(com.google.android.exoplayer2.effect.TextureInfo)">releaseOutputFrame</a></code> in interface <code><a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="signalEndOfCurrentInputStream()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>signalEndOfCurrentInputStream</h4>
|
||||
<pre class="methodSignature">public final void signalEndOfCurrentInputStream()</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="GlTextureProcessor.html#signalEndOfCurrentInputStream()">GlTextureProcessor</a></code></span></div>
|
||||
<div class="block">Notifies the <code>GlTextureProcessor</code> that no further input frames belonging to the current
|
||||
input stream will be queued.
|
||||
|
||||
<p>Input frames that are queued after this method is called belong to a different input stream,
|
||||
so presentation timestamps may reset to start from a smaller presentation timestamp than the
|
||||
last frame of the previous input stream.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="GlTextureProcessor.html#signalEndOfCurrentInputStream()">signalEndOfCurrentInputStream</a></code> in interface <code><a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="release()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>release</h4>
|
||||
<pre class="methodSignature">@CallSuper
|
||||
public void release()
|
||||
throws <a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="GlTextureProcessor.html#release()">GlTextureProcessor</a></code></span></div>
|
||||
<div class="block">Releases all resources.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="GlTextureProcessor.html#release()">release</a></code> in interface <code><a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor</a></code></dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../util/FrameProcessingException.html" title="class in com.google.android.exoplayer2.util">FrameProcessingException</a></code> - If an error occurs while releasing resources.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,394 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>TextureInfo (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="TextureInfo (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.effect</a></div>
|
||||
<h2 title="Class TextureInfo" class="title">Class TextureInfo</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.google.android.exoplayer2.effect.TextureInfo</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<pre>public final class <span class="typeNameLabel">TextureInfo</span>
|
||||
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></pre>
|
||||
<div class="block">Contains information describing an OpenGL texture.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Field</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fboId">fboId</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Identifier of a framebuffer object associated with the texture.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#height">height</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The height of the texture, in pixels.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#texId">texId</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The OpenGL texture identifier.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect">TextureInfo</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#UNSET">UNSET</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">A <a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect"><code>TextureInfo</code></a> instance with all fields unset.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#width">width</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The width of the texture, in pixels.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Constructor</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,int,int,int)">TextureInfo</a></span>​(int texId,
|
||||
int fboId,
|
||||
int width,
|
||||
int height)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Creates a new instance.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
|
||||
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="field.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Detail</h3>
|
||||
<a id="UNSET">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>UNSET</h4>
|
||||
<pre>public static final <a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect">TextureInfo</a> UNSET</pre>
|
||||
<div class="block">A <a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect"><code>TextureInfo</code></a> instance with all fields unset.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="texId">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>texId</h4>
|
||||
<pre>public final int texId</pre>
|
||||
<div class="block">The OpenGL texture identifier.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="fboId">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>fboId</h4>
|
||||
<pre>public final int fboId</pre>
|
||||
<div class="block">Identifier of a framebuffer object associated with the texture.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="width">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>width</h4>
|
||||
<pre>public final int width</pre>
|
||||
<div class="block">The width of the texture, in pixels.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="height">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>height</h4>
|
||||
<pre>public final int height</pre>
|
||||
<div class="block">The height of the texture, in pixels.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a id="<init>(int,int,int,int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>TextureInfo</h4>
|
||||
<pre>public TextureInfo​(int texId,
|
||||
int fboId,
|
||||
int width,
|
||||
int height)</pre>
|
||||
<div class="block">Creates a new instance.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>texId</code> - The OpenGL texture identifier.</dd>
|
||||
<dd><code>fboId</code> - Identifier of a framebuffer object associated with the texture.</dd>
|
||||
<dd><code>width</code> - The width of the texture, in pixels.</dd>
|
||||
<dd><code>height</code> - The height of the texture, in pixels.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,334 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>com.google.android.exoplayer2.effect (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="com.google.android.exoplayer2.effect (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li class="navBarCell1Rev">Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<h1 title="Package" class="title">Package com.google.android.exoplayer2.effect</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="typeSummary">
|
||||
<caption><span>Interface Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Interface</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="ColorLut.html" title="interface in com.google.android.exoplayer2.effect">ColorLut</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Specifies color transformations using color lookup tables to apply to each frame in the fragment
|
||||
shader.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Interface for a video frame effect with a <a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect"><code>GlTextureProcessor</code></a> implementation.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">GlMatrixTransformation</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Specifies a 4x4 transformation <a href="https://developer.android.com/reference/android/opengl/Matrix.html" title="class or interface in android.opengl" class="externalLink" target="_top"><code>Matrix</code></a> to apply in the vertex shader for each frame.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Processes frames from one OpenGL 2D texture to another.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="GlTextureProcessor.ErrorListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.ErrorListener</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Listener for frame processing errors.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="GlTextureProcessor.InputListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.InputListener</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Listener for input-related frame processing events.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="GlTextureProcessor.OutputListener.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor.OutputListener</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Listener for output-related frame processing events.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">MatrixTransformation</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Specifies a 3x3 transformation <a href="https://developer.android.com/reference/android/graphics/Matrix.html" title="class or interface in android.graphics" class="externalLink" target="_top"><code>Matrix</code></a> to apply in the vertex shader for each frame.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="RgbMatrix.html" title="interface in com.google.android.exoplayer2.effect">RgbMatrix</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Specifies a 4x4 RGB color transformation matrix to apply to each frame in the fragment shader.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<table class="typeSummary">
|
||||
<caption><span>Class Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Class</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="Contrast.html" title="class in com.google.android.exoplayer2.effect">Contrast</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">A <a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect"><code>GlEffect</code></a> to control the contrast of video frames.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="Crop.html" title="class in com.google.android.exoplayer2.effect">Crop</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Specifies a crop to apply in the vertex shader.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="GlEffectsFrameProcessor.html" title="class in com.google.android.exoplayer2.effect">GlEffectsFrameProcessor</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">A <a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util"><code>FrameProcessor</code></a> implementation that applies <a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect"><code>GlEffect</code></a> instances using OpenGL on a
|
||||
background thread.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="GlEffectsFrameProcessor.Factory.html" title="class in com.google.android.exoplayer2.effect">GlEffectsFrameProcessor.Factory</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">A factory for <a href="GlEffectsFrameProcessor.html" title="class in com.google.android.exoplayer2.effect"><code>GlEffectsFrameProcessor</code></a> instances.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="HslAdjustment.html" title="class in com.google.android.exoplayer2.effect">HslAdjustment</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Adjusts the HSL (Hue, Saturation, and Lightness) of a frame.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="HslAdjustment.Builder.html" title="class in com.google.android.exoplayer2.effect">HslAdjustment.Builder</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">A builder for <code>HslAdjustment</code> instances.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="Presentation.html" title="class in com.google.android.exoplayer2.effect">Presentation</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Controls how a frame is presented with options to set the output resolution 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).</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="RgbAdjustment.html" title="class in com.google.android.exoplayer2.effect">RgbAdjustment</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Scales the red, green, and blue color channels of a frame.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="RgbAdjustment.Builder.html" title="class in com.google.android.exoplayer2.effect">RgbAdjustment.Builder</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">A builder for <a href="RgbAdjustment.html" title="class in com.google.android.exoplayer2.effect"><code>RgbAdjustment</code></a> instances.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="RgbFilter.html" title="class in com.google.android.exoplayer2.effect">RgbFilter</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Provides common color filters.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="ScaleToFitTransformation.html" title="class in com.google.android.exoplayer2.effect">ScaleToFitTransformation</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Specifies a simple rotation and/or scale to apply in the vertex shader.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="ScaleToFitTransformation.Builder.html" title="class in com.google.android.exoplayer2.effect">ScaleToFitTransformation.Builder</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">A builder for <a href="ScaleToFitTransformation.html" title="class in com.google.android.exoplayer2.effect"><code>ScaleToFitTransformation</code></a> instances.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="SingleColorLut.html" title="class in com.google.android.exoplayer2.effect">SingleColorLut</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Transforms the colors of a frame by applying the same color lookup table to each frame.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect">SingleFrameGlTextureProcessor</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Manages a GLSL shader program for processing a frame.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect">TextureInfo</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Contains information describing an OpenGL texture.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<table class="typeSummary">
|
||||
<caption><span>Annotation Types Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Annotation Type</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="Presentation.Layout.html" title="annotation in com.google.android.exoplayer2.effect">Presentation.Layout</a></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Strategies controlling the layout of input pixels in the output frame.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</main>
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li class="navBarCell1Rev">Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,203 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
||||
<title>com.google.android.exoplayer2.effect Class Hierarchy (ExoPlayer library)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
|
||||
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="com.google.android.exoplayer2.effect Class Hierarchy (ExoPlayer library)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var pathtoroot = "../../../../../";
|
||||
var useModuleDirectories = false;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<h1 class="title">Hierarchy For Package com.google.android.exoplayer2.effect</h1>
|
||||
<span class="packageHierarchyLabel">Package Hierarchies:</span>
|
||||
<ul class="horizontal">
|
||||
<li><a href="../../../../../overview-tree.html">All Packages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<section role="region">
|
||||
<h2 title="Class Hierarchy">Class Hierarchy</h2>
|
||||
<ul>
|
||||
<li class="circle">java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink"><span class="typeNameLink" target="_top">Object</span></a>
|
||||
<ul>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="Contrast.html" title="class in com.google.android.exoplayer2.effect"><span class="typeNameLink">Contrast</span></a> (implements com.google.android.exoplayer2.effect.<a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a>)</li>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="Crop.html" title="class in com.google.android.exoplayer2.effect"><span class="typeNameLink">Crop</span></a> (implements com.google.android.exoplayer2.effect.<a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">MatrixTransformation</a>)</li>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="GlEffectsFrameProcessor.html" title="class in com.google.android.exoplayer2.effect"><span class="typeNameLink">GlEffectsFrameProcessor</span></a> (implements com.google.android.exoplayer2.util.<a href="../util/FrameProcessor.html" title="interface in com.google.android.exoplayer2.util">FrameProcessor</a>)</li>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="GlEffectsFrameProcessor.Factory.html" title="class in com.google.android.exoplayer2.effect"><span class="typeNameLink">GlEffectsFrameProcessor.Factory</span></a> (implements com.google.android.exoplayer2.util.<a href="../util/FrameProcessor.Factory.html" title="interface in com.google.android.exoplayer2.util">FrameProcessor.Factory</a>)</li>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="HslAdjustment.html" title="class in com.google.android.exoplayer2.effect"><span class="typeNameLink">HslAdjustment</span></a> (implements com.google.android.exoplayer2.effect.<a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect">GlEffect</a>)</li>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="HslAdjustment.Builder.html" title="class in com.google.android.exoplayer2.effect"><span class="typeNameLink">HslAdjustment.Builder</span></a></li>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="Presentation.html" title="class in com.google.android.exoplayer2.effect"><span class="typeNameLink">Presentation</span></a> (implements com.google.android.exoplayer2.effect.<a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">MatrixTransformation</a>)</li>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="RgbAdjustment.html" title="class in com.google.android.exoplayer2.effect"><span class="typeNameLink">RgbAdjustment</span></a> (implements com.google.android.exoplayer2.effect.<a href="RgbMatrix.html" title="interface in com.google.android.exoplayer2.effect">RgbMatrix</a>)</li>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="RgbAdjustment.Builder.html" title="class in com.google.android.exoplayer2.effect"><span class="typeNameLink">RgbAdjustment.Builder</span></a></li>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="RgbFilter.html" title="class in com.google.android.exoplayer2.effect"><span class="typeNameLink">RgbFilter</span></a> (implements com.google.android.exoplayer2.effect.<a href="RgbMatrix.html" title="interface in com.google.android.exoplayer2.effect">RgbMatrix</a>)</li>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="ScaleToFitTransformation.html" title="class in com.google.android.exoplayer2.effect"><span class="typeNameLink">ScaleToFitTransformation</span></a> (implements com.google.android.exoplayer2.effect.<a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect">MatrixTransformation</a>)</li>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="ScaleToFitTransformation.Builder.html" title="class in com.google.android.exoplayer2.effect"><span class="typeNameLink">ScaleToFitTransformation.Builder</span></a></li>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="SingleColorLut.html" title="class in com.google.android.exoplayer2.effect"><span class="typeNameLink">SingleColorLut</span></a> (implements com.google.android.exoplayer2.effect.<a href="ColorLut.html" title="interface in com.google.android.exoplayer2.effect">ColorLut</a>)</li>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="SingleFrameGlTextureProcessor.html" title="class in com.google.android.exoplayer2.effect"><span class="typeNameLink">SingleFrameGlTextureProcessor</span></a> (implements com.google.android.exoplayer2.effect.<a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect">GlTextureProcessor</a>)</li>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="TextureInfo.html" title="class in com.google.android.exoplayer2.effect"><span class="typeNameLink">TextureInfo</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section role="region">
|
||||
<h2 title="Interface Hierarchy">Interface Hierarchy</h2>
|
||||
<ul>
|
||||
<li class="circle">com.google.android.exoplayer2.util.<a href="../util/Effect.html" title="interface in com.google.android.exoplayer2.util"><span class="typeNameLink">Effect</span></a>
|
||||
<ul>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="GlEffect.html" title="interface in com.google.android.exoplayer2.effect"><span class="typeNameLink">GlEffect</span></a>
|
||||
<ul>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="ColorLut.html" title="interface in com.google.android.exoplayer2.effect"><span class="typeNameLink">ColorLut</span></a></li>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="GlMatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect"><span class="typeNameLink">GlMatrixTransformation</span></a>
|
||||
<ul>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="MatrixTransformation.html" title="interface in com.google.android.exoplayer2.effect"><span class="typeNameLink">MatrixTransformation</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="RgbMatrix.html" title="interface in com.google.android.exoplayer2.effect"><span class="typeNameLink">RgbMatrix</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="GlTextureProcessor.html" title="interface in com.google.android.exoplayer2.effect"><span class="typeNameLink">GlTextureProcessor</span></a></li>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="GlTextureProcessor.ErrorListener.html" title="interface in com.google.android.exoplayer2.effect"><span class="typeNameLink">GlTextureProcessor.ErrorListener</span></a></li>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="GlTextureProcessor.InputListener.html" title="interface in com.google.android.exoplayer2.effect"><span class="typeNameLink">GlTextureProcessor.InputListener</span></a></li>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="GlTextureProcessor.OutputListener.html" title="interface in com.google.android.exoplayer2.effect"><span class="typeNameLink">GlTextureProcessor.OutputListener</span></a></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section role="region">
|
||||
<h2 title="Annotation Type Hierarchy">Annotation Type Hierarchy</h2>
|
||||
<ul>
|
||||
<li class="circle">com.google.android.exoplayer2.effect.<a href="Presentation.Layout.html" title="annotation in com.google.android.exoplayer2.effect"><span class="typeNameLink">Presentation.Layout</span></a> (implements java.lang.annotation.<a href="https://developer.android.com/reference/java/lang/annotation/Annotation.html" title="class or interface in java.lang.annotation" class="externalLink" target="_top">Annotation</a>)</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -233,7 +233,7 @@ extends <a href="../../decoder/SimpleDecoder.html" title="class in com.google.an
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#releaseOutputBuffer(com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer)">releaseOutputBuffer</a></span>​(<a href="../../decoder/VideoDecoderOutputBuffer.html" title="class in com.google.android.exoplayer2.decoder">VideoDecoderOutputBuffer</a> buffer)</code></th>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#releaseOutputBuffer(com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer)">releaseOutputBuffer</a></span>​(<a href="../../decoder/VideoDecoderOutputBuffer.html" title="class in com.google.android.exoplayer2.decoder">VideoDecoderOutputBuffer</a> outputBuffer)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Releases an output buffer back to the decoder.</div>
|
||||
</td>
|
||||
@ -432,14 +432,14 @@ protected <a href="Gav1DecoderException.html" title="class in com.google.an
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>releaseOutputBuffer</h4>
|
||||
<pre class="methodSignature">protected void releaseOutputBuffer​(<a href="../../decoder/VideoDecoderOutputBuffer.html" title="class in com.google.android.exoplayer2.decoder">VideoDecoderOutputBuffer</a> buffer)</pre>
|
||||
<pre class="methodSignature">protected void releaseOutputBuffer​(<a href="../../decoder/VideoDecoderOutputBuffer.html" title="class in com.google.android.exoplayer2.decoder">VideoDecoderOutputBuffer</a> outputBuffer)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../decoder/SimpleDecoder.html#releaseOutputBuffer(O)">SimpleDecoder</a></code></span></div>
|
||||
<div class="block">Releases an output buffer back to the decoder.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../decoder/SimpleDecoder.html#releaseOutputBuffer(O)">releaseOutputBuffer</a></code> in class <code><a href="../../decoder/SimpleDecoder.html" title="class in com.google.android.exoplayer2.decoder">SimpleDecoder</a><<a href="../../decoder/DecoderInputBuffer.html" title="class in com.google.android.exoplayer2.decoder">DecoderInputBuffer</a>,​<a href="../../decoder/VideoDecoderOutputBuffer.html" title="class in com.google.android.exoplayer2.decoder">VideoDecoderOutputBuffer</a>,​<a href="Gav1DecoderException.html" title="class in com.google.android.exoplayer2.ext.av1">Gav1DecoderException</a>></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>buffer</code> - The output buffer being released.</dd>
|
||||
<dd><code>outputBuffer</code> - The output buffer being released.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -210,14 +210,14 @@ extends <a href="../../video/DecoderVideoRenderer.html" title="class in com.goog
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface com.google.android.exoplayer2.<a href="../../Renderer.html" title="interface in com.google.android.exoplayer2">Renderer</a></h3>
|
||||
<code><a href="../../Renderer.html#MSG_CUSTOM_BASE">MSG_CUSTOM_BASE</a>, <a href="../../Renderer.html#MSG_SET_AUDIO_ATTRIBUTES">MSG_SET_AUDIO_ATTRIBUTES</a>, <a href="../../Renderer.html#MSG_SET_AUDIO_SESSION_ID">MSG_SET_AUDIO_SESSION_ID</a>, <a href="../../Renderer.html#MSG_SET_AUX_EFFECT_INFO">MSG_SET_AUX_EFFECT_INFO</a>, <a href="../../Renderer.html#MSG_SET_CAMERA_MOTION_LISTENER">MSG_SET_CAMERA_MOTION_LISTENER</a>, <a href="../../Renderer.html#MSG_SET_CHANGE_FRAME_RATE_STRATEGY">MSG_SET_CHANGE_FRAME_RATE_STRATEGY</a>, <a href="../../Renderer.html#MSG_SET_SCALING_MODE">MSG_SET_SCALING_MODE</a>, <a href="../../Renderer.html#MSG_SET_SKIP_SILENCE_ENABLED">MSG_SET_SKIP_SILENCE_ENABLED</a>, <a href="../../Renderer.html#MSG_SET_VIDEO_FRAME_METADATA_LISTENER">MSG_SET_VIDEO_FRAME_METADATA_LISTENER</a>, <a href="../../Renderer.html#MSG_SET_VIDEO_OUTPUT">MSG_SET_VIDEO_OUTPUT</a>, <a href="../../Renderer.html#MSG_SET_VOLUME">MSG_SET_VOLUME</a>, <a href="../../Renderer.html#MSG_SET_WAKEUP_LISTENER">MSG_SET_WAKEUP_LISTENER</a>, <a href="../../Renderer.html#STATE_DISABLED">STATE_DISABLED</a>, <a href="../../Renderer.html#STATE_ENABLED">STATE_ENABLED</a>, <a href="../../Renderer.html#STATE_STARTED">STATE_STARTED</a></code></li>
|
||||
<code><a href="../../Renderer.html#MSG_CUSTOM_BASE">MSG_CUSTOM_BASE</a>, <a href="../../Renderer.html#MSG_SET_AUDIO_ATTRIBUTES">MSG_SET_AUDIO_ATTRIBUTES</a>, <a href="../../Renderer.html#MSG_SET_AUDIO_SESSION_ID">MSG_SET_AUDIO_SESSION_ID</a>, <a href="../../Renderer.html#MSG_SET_AUX_EFFECT_INFO">MSG_SET_AUX_EFFECT_INFO</a>, <a href="../../Renderer.html#MSG_SET_CAMERA_MOTION_LISTENER">MSG_SET_CAMERA_MOTION_LISTENER</a>, <a href="../../Renderer.html#MSG_SET_CHANGE_FRAME_RATE_STRATEGY">MSG_SET_CHANGE_FRAME_RATE_STRATEGY</a>, <a href="../../Renderer.html#MSG_SET_PREFERRED_AUDIO_DEVICE">MSG_SET_PREFERRED_AUDIO_DEVICE</a>, <a href="../../Renderer.html#MSG_SET_SCALING_MODE">MSG_SET_SCALING_MODE</a>, <a href="../../Renderer.html#MSG_SET_SKIP_SILENCE_ENABLED">MSG_SET_SKIP_SILENCE_ENABLED</a>, <a href="../../Renderer.html#MSG_SET_VIDEO_FRAME_METADATA_LISTENER">MSG_SET_VIDEO_FRAME_METADATA_LISTENER</a>, <a href="../../Renderer.html#MSG_SET_VIDEO_OUTPUT">MSG_SET_VIDEO_OUTPUT</a>, <a href="../../Renderer.html#MSG_SET_VOLUME">MSG_SET_VOLUME</a>, <a href="../../Renderer.html#MSG_SET_WAKEUP_LISTENER">MSG_SET_WAKEUP_LISTENER</a>, <a href="../../Renderer.html#STATE_DISABLED">STATE_DISABLED</a>, <a href="../../Renderer.html#STATE_ENABLED">STATE_ENABLED</a>, <a href="../../Renderer.html#STATE_STARTED">STATE_STARTED</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="fields.inherited.from.class.com.google.android.exoplayer2.RendererCapabilities">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface com.google.android.exoplayer2.<a href="../../RendererCapabilities.html" title="interface in com.google.android.exoplayer2">RendererCapabilities</a></h3>
|
||||
<code><a href="../../RendererCapabilities.html#ADAPTIVE_NOT_SEAMLESS">ADAPTIVE_NOT_SEAMLESS</a>, <a href="../../RendererCapabilities.html#ADAPTIVE_NOT_SUPPORTED">ADAPTIVE_NOT_SUPPORTED</a>, <a href="../../RendererCapabilities.html#ADAPTIVE_SEAMLESS">ADAPTIVE_SEAMLESS</a>, <a href="../../RendererCapabilities.html#ADAPTIVE_SUPPORT_MASK">ADAPTIVE_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#DECODER_SUPPORT_FALLBACK">DECODER_SUPPORT_FALLBACK</a>, <a href="../../RendererCapabilities.html#DECODER_SUPPORT_PRIMARY">DECODER_SUPPORT_PRIMARY</a>, <a href="../../RendererCapabilities.html#FORMAT_EXCEEDS_CAPABILITIES">FORMAT_EXCEEDS_CAPABILITIES</a>, <a href="../../RendererCapabilities.html#FORMAT_HANDLED">FORMAT_HANDLED</a>, <a href="../../RendererCapabilities.html#FORMAT_SUPPORT_MASK">FORMAT_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#FORMAT_UNSUPPORTED_DRM">FORMAT_UNSUPPORTED_DRM</a>, <a href="../../RendererCapabilities.html#FORMAT_UNSUPPORTED_SUBTYPE">FORMAT_UNSUPPORTED_SUBTYPE</a>, <a href="../../RendererCapabilities.html#FORMAT_UNSUPPORTED_TYPE">FORMAT_UNSUPPORTED_TYPE</a>, <a href="../../RendererCapabilities.html#HARDWARE_ACCELERATION_NOT_SUPPORTED">HARDWARE_ACCELERATION_NOT_SUPPORTED</a>, <a href="../../RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORT_MASK">HARDWARE_ACCELERATION_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORTED">HARDWARE_ACCELERATION_SUPPORTED</a>, <a href="../../RendererCapabilities.html#MODE_SUPPORT_MASK">MODE_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#TUNNELING_NOT_SUPPORTED">TUNNELING_NOT_SUPPORTED</a>, <a href="../../RendererCapabilities.html#TUNNELING_SUPPORT_MASK">TUNNELING_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#TUNNELING_SUPPORTED">TUNNELING_SUPPORTED</a></code></li>
|
||||
<code><a href="../../RendererCapabilities.html#ADAPTIVE_NOT_SEAMLESS">ADAPTIVE_NOT_SEAMLESS</a>, <a href="../../RendererCapabilities.html#ADAPTIVE_NOT_SUPPORTED">ADAPTIVE_NOT_SUPPORTED</a>, <a href="../../RendererCapabilities.html#ADAPTIVE_SEAMLESS">ADAPTIVE_SEAMLESS</a>, <a href="../../RendererCapabilities.html#ADAPTIVE_SUPPORT_MASK">ADAPTIVE_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#DECODER_SUPPORT_FALLBACK">DECODER_SUPPORT_FALLBACK</a>, <a href="../../RendererCapabilities.html#DECODER_SUPPORT_FALLBACK_MIMETYPE">DECODER_SUPPORT_FALLBACK_MIMETYPE</a>, <a href="../../RendererCapabilities.html#DECODER_SUPPORT_PRIMARY">DECODER_SUPPORT_PRIMARY</a>, <a href="../../RendererCapabilities.html#FORMAT_EXCEEDS_CAPABILITIES">FORMAT_EXCEEDS_CAPABILITIES</a>, <a href="../../RendererCapabilities.html#FORMAT_HANDLED">FORMAT_HANDLED</a>, <a href="../../RendererCapabilities.html#FORMAT_SUPPORT_MASK">FORMAT_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#FORMAT_UNSUPPORTED_DRM">FORMAT_UNSUPPORTED_DRM</a>, <a href="../../RendererCapabilities.html#FORMAT_UNSUPPORTED_SUBTYPE">FORMAT_UNSUPPORTED_SUBTYPE</a>, <a href="../../RendererCapabilities.html#FORMAT_UNSUPPORTED_TYPE">FORMAT_UNSUPPORTED_TYPE</a>, <a href="../../RendererCapabilities.html#HARDWARE_ACCELERATION_NOT_SUPPORTED">HARDWARE_ACCELERATION_NOT_SUPPORTED</a>, <a href="../../RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORT_MASK">HARDWARE_ACCELERATION_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORTED">HARDWARE_ACCELERATION_SUPPORTED</a>, <a href="../../RendererCapabilities.html#MODE_SUPPORT_MASK">MODE_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#TUNNELING_NOT_SUPPORTED">TUNNELING_NOT_SUPPORTED</a>, <a href="../../RendererCapabilities.html#TUNNELING_SUPPORT_MASK">TUNNELING_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#TUNNELING_SUPPORTED">TUNNELING_SUPPORTED</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -497,11 +497,10 @@ extends <a href="../../video/DecoderVideoRenderer.html" title="class in com.goog
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createDecoder</h4>
|
||||
<pre class="methodSignature">protected <a href="Gav1Decoder.html" title="class in com.google.android.exoplayer2.ext.av1">Gav1Decoder</a> createDecoder​(<a href="../../Format.html" title="class in com.google.android.exoplayer2">Format</a> format,
|
||||
@Nullable
|
||||
<a href="../../decoder/CryptoConfig.html" title="interface in com.google.android.exoplayer2.decoder">CryptoConfig</a> cryptoConfig)
|
||||
throws <a href="Gav1DecoderException.html" title="class in com.google.android.exoplayer2.ext.av1">Gav1DecoderException</a></pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../video/DecoderVideoRenderer.html#createDecoder(com.google.android.exoplayer2.Format,com.google.android.exoplayer2.decoder.CryptoConfig)">DecoderVideoRenderer</a></code></span></div>
|
||||
<pre class="methodSignature">protected final <a href="Gav1Decoder.html" title="class in com.google.android.exoplayer2.ext.av1">Gav1Decoder</a> createDecoder​(<a href="../../Format.html" title="class in com.google.android.exoplayer2">Format</a> format,
|
||||
@Nullable
|
||||
<a href="../../decoder/CryptoConfig.html" title="interface in com.google.android.exoplayer2.decoder">CryptoConfig</a> cryptoConfig)
|
||||
throws <a href="Gav1DecoderException.html" title="class in com.google.android.exoplayer2.ext.av1">Gav1DecoderException</a></pre>
|
||||
<div class="block">Creates a decoder for the given format.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
|
@ -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":10,"i70":10,"i71":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":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":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";
|
||||
@ -189,11 +189,18 @@ extends <a href="../../BasePlayer.html" title="class in com.google.android.exopl
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../DeviceInfo.html" title="class in com.google.android.exoplayer2">DeviceInfo</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DEVICE_INFO">DEVICE_INFO</a></span></code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">The <a href="../../DeviceInfo.html" title="class in com.google.android.exoplayer2"><code>DeviceInfo</code></a> returned by <a href="#getDeviceInfo()"><code>this player</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static float</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MAX_SPEED_SUPPORTED">MAX_SPEED_SUPPORTED</a></span></code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static float</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MIN_SPEED_SUPPORTED">MIN_SPEED_SUPPORTED</a></span></code></th>
|
||||
<td class="colLast"> </td>
|
||||
@ -435,7 +442,7 @@ extends <a href="../../BasePlayer.html" title="class in com.google.android.exopl
|
||||
<td class="colFirst"><code><a href="../../DeviceInfo.html" title="class in com.google.android.exoplayer2">DeviceInfo</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDeviceInfo()">getDeviceInfo</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">This method is not supported and always returns <a href="../../DeviceInfo.html#UNKNOWN"><code>DeviceInfo.UNKNOWN</code></a>.</div>
|
||||
<div class="block">This method always returns <a href="#DEVICE_INFO"><code>DEVICE_INFO</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i23" class="rowColor">
|
||||
@ -553,69 +560,76 @@ extends <a href="../../BasePlayer.html" title="class in com.google.android.exopl
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i39" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../util/Size.html" title="class in com.google.android.exoplayer2.util">Size</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSurfaceSize()">getSurfaceSize</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">This method is not supported and returns <a href="../../util/Size.html#UNKNOWN"><code>Size.UNKNOWN</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i40" class="altColor">
|
||||
<td class="colFirst"><code>long</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTotalBufferedDuration()">getTotalBufferedDuration</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns an estimate of the total buffered duration from the current position, in milliseconds.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i40" class="altColor">
|
||||
<tr id="i41" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../trackselection/TrackSelectionParameters.html" title="class in com.google.android.exoplayer2.trackselection">TrackSelectionParameters</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTrackSelectionParameters()">getTrackSelectionParameters</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the parameters constraining the track selection.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i41" class="rowColor">
|
||||
<tr id="i42" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../video/VideoSize.html" title="class in com.google.android.exoplayer2.video">VideoSize</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getVideoSize()">getVideoSize</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">This method is not supported and returns <a href="../../video/VideoSize.html#UNKNOWN"><code>VideoSize.UNKNOWN</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i42" class="altColor">
|
||||
<tr id="i43" class="rowColor">
|
||||
<td class="colFirst"><code>float</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getVolume()">getVolume</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">This method is not supported and returns 1.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i43" class="rowColor">
|
||||
<tr id="i44" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#increaseDeviceVolume()">increaseDeviceVolume</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">This method is not supported and does nothing.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i44" class="altColor">
|
||||
<tr id="i45" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCastSessionAvailable()">isCastSessionAvailable</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns whether a cast session is available.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i45" class="rowColor">
|
||||
<tr id="i46" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isDeviceMuted()">isDeviceMuted</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">This method is not supported and always returns <code>false</code>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i46" class="altColor">
|
||||
<tr id="i47" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isLoading()">isLoading</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Whether the player is currently loading the source.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i47" class="rowColor">
|
||||
<tr id="i48" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isPlayingAd()">isPlayingAd</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns whether the player is currently playing an ad.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i48" class="altColor">
|
||||
<tr id="i49" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#moveMediaItems(int,int,int)">moveMediaItems</a></span>​(int fromIndex,
|
||||
int toIndex,
|
||||
@ -624,28 +638,28 @@ extends <a href="../../BasePlayer.html" title="class in com.google.android.exopl
|
||||
<div class="block">Moves the media item range to the new index.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i49" class="rowColor">
|
||||
<tr id="i50" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#prepare()">prepare</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Prepares the player.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i50" class="altColor">
|
||||
<tr id="i51" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#release()">release</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Releases the player.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i51" class="rowColor">
|
||||
<tr id="i52" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeListener(com.google.android.exoplayer2.Player.Listener)">removeListener</a></span>​(<a href="../../Player.Listener.html" title="interface in com.google.android.exoplayer2">Player.Listener</a> listener)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Unregister a listener registered through <a href="../../Player.html#addListener(com.google.android.exoplayer2.Player.Listener)"><code>Player.addListener(Listener)</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i52" class="altColor">
|
||||
<tr id="i53" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeMediaItems(int,int)">removeMediaItems</a></span>​(int fromIndex,
|
||||
int toIndex)</code></th>
|
||||
@ -653,7 +667,7 @@ extends <a href="../../BasePlayer.html" title="class in com.google.android.exopl
|
||||
<div class="block">Removes a range of media items from the playlist.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i53" class="rowColor">
|
||||
<tr id="i54" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seekTo(int,long)">seekTo</a></span>​(int mediaItemIndex,
|
||||
long positionMs)</code></th>
|
||||
@ -661,21 +675,21 @@ extends <a href="../../BasePlayer.html" title="class in com.google.android.exopl
|
||||
<div class="block">Seeks to a position specified in milliseconds in the specified <a href="../../MediaItem.html" title="class in com.google.android.exoplayer2"><code>MediaItem</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i54" class="altColor">
|
||||
<tr id="i55" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDeviceMuted(boolean)">setDeviceMuted</a></span>​(boolean muted)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">This method is not supported and does nothing.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i55" class="rowColor">
|
||||
<tr id="i56" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDeviceVolume(int)">setDeviceVolume</a></span>​(int volume)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">This method is not supported and does nothing.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i56" class="altColor">
|
||||
<tr id="i57" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaItems(java.util.List,boolean)">setMediaItems</a></span>​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="../../MediaItem.html" title="class in com.google.android.exoplayer2" target="_top">MediaItem</a>> mediaItems,
|
||||
boolean resetPosition)</code></th>
|
||||
@ -683,7 +697,7 @@ extends <a href="../../BasePlayer.html" title="class in com.google.android.exopl
|
||||
<div class="block">Clears the playlist and adds the specified <a href="../../MediaItem.html" title="class in com.google.android.exoplayer2"><code>MediaItems</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i57" class="rowColor">
|
||||
<tr id="i58" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMediaItems(java.util.List,int,long)">setMediaItems</a></span>​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="../../MediaItem.html" title="class in com.google.android.exoplayer2" target="_top">MediaItem</a>> mediaItems,
|
||||
int startIndex,
|
||||
@ -692,98 +706,98 @@ extends <a href="../../BasePlayer.html" title="class in com.google.android.exopl
|
||||
<div class="block">Clears the playlist and adds the specified <a href="../../MediaItem.html" title="class in com.google.android.exoplayer2"><code>MediaItems</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i58" class="altColor">
|
||||
<tr id="i59" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlaybackParameters(com.google.android.exoplayer2.PlaybackParameters)">setPlaybackParameters</a></span>​(<a href="../../PlaybackParameters.html" title="class in com.google.android.exoplayer2">PlaybackParameters</a> playbackParameters)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Attempts to set the playback parameters.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i59" class="rowColor">
|
||||
<tr id="i60" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlaylistMetadata(com.google.android.exoplayer2.MediaMetadata)">setPlaylistMetadata</a></span>​(<a href="../../MediaMetadata.html" title="class in com.google.android.exoplayer2">MediaMetadata</a> mediaMetadata)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">This method is not supported and does nothing.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i60" class="altColor">
|
||||
<tr id="i61" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPlayWhenReady(boolean)">setPlayWhenReady</a></span>​(boolean playWhenReady)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets whether playback should proceed when <a href="../../Player.html#getPlaybackState()"><code>Player.getPlaybackState()</code></a> == <a href="../../Player.html#STATE_READY"><code>Player.STATE_READY</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i61" class="rowColor">
|
||||
<tr id="i62" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRepeatMode(@com.google.android.exoplayer2.Player.RepeatModeint)">setRepeatMode</a></span>​(@com.google.android.exoplayer2.Player.RepeatMode int repeatMode)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the <a href="../../Player.RepeatMode.html" title="annotation in com.google.android.exoplayer2"><code>Player.RepeatMode</code></a> to be used for playback.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i62" class="altColor">
|
||||
<tr id="i63" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSessionAvailabilityListener(com.google.android.exoplayer2.ext.cast.SessionAvailabilityListener)">setSessionAvailabilityListener</a></span>​(<a href="SessionAvailabilityListener.html" title="interface in com.google.android.exoplayer2.ext.cast">SessionAvailabilityListener</a> listener)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets a listener for updates on the cast session availability.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i63" class="rowColor">
|
||||
<tr id="i64" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setShuffleModeEnabled(boolean)">setShuffleModeEnabled</a></span>​(boolean shuffleModeEnabled)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets whether shuffling of media items is enabled.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i64" class="altColor">
|
||||
<tr id="i65" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTrackSelectionParameters(com.google.android.exoplayer2.trackselection.TrackSelectionParameters)">setTrackSelectionParameters</a></span>​(<a href="../../trackselection/TrackSelectionParameters.html" title="class in com.google.android.exoplayer2.trackselection">TrackSelectionParameters</a> parameters)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the parameters constraining the track selection.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i65" class="rowColor">
|
||||
<tr id="i66" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoSurface(android.view.Surface)">setVideoSurface</a></span>​(<a href="https://developer.android.com/reference/android/view/Surface.html" title="class or interface in android.view" class="externalLink" target="_top">Surface</a> surface)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">This method is not supported and does nothing.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i66" class="altColor">
|
||||
<tr id="i67" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoSurfaceHolder(android.view.SurfaceHolder)">setVideoSurfaceHolder</a></span>​(<a href="https://developer.android.com/reference/android/view/SurfaceHolder.html" title="class or interface in android.view" class="externalLink" target="_top">SurfaceHolder</a> surfaceHolder)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">This method is not supported and does nothing.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i67" class="rowColor">
|
||||
<tr id="i68" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoSurfaceView(android.view.SurfaceView)">setVideoSurfaceView</a></span>​(<a href="https://developer.android.com/reference/android/view/SurfaceView.html" title="class or interface in android.view" class="externalLink" target="_top">SurfaceView</a> surfaceView)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">This method is not supported and does nothing.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i68" class="altColor">
|
||||
<tr id="i69" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoTextureView(android.view.TextureView)">setVideoTextureView</a></span>​(<a href="https://developer.android.com/reference/android/view/TextureView.html" title="class or interface in android.view" class="externalLink" target="_top">TextureView</a> textureView)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">This method is not supported and does nothing.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i69" class="rowColor">
|
||||
<tr id="i70" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVolume(float)">setVolume</a></span>​(float volume)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">This method is not supported and does nothing.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i70" class="altColor">
|
||||
<tr id="i71" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stop()">stop</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Stops playback without resetting the playlist.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i71" class="rowColor">
|
||||
<tr id="i72" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stop(boolean)">stop</a></span>​(boolean reset)</code></th>
|
||||
<td class="colLast">
|
||||
@ -799,7 +813,7 @@ extends <a href="../../BasePlayer.html" title="class in com.google.android.exopl
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class com.google.android.exoplayer2.<a href="../../BasePlayer.html" title="class in com.google.android.exoplayer2">BasePlayer</a></h3>
|
||||
<code><a href="../../BasePlayer.html#addMediaItem(int,com.google.android.exoplayer2.MediaItem)">addMediaItem</a>, <a href="../../BasePlayer.html#addMediaItem(com.google.android.exoplayer2.MediaItem)">addMediaItem</a>, <a href="../../BasePlayer.html#addMediaItems(java.util.List)">addMediaItems</a>, <a href="../../BasePlayer.html#canAdvertiseSession()">canAdvertiseSession</a>, <a href="../../BasePlayer.html#clearMediaItems()">clearMediaItems</a>, <a href="../../BasePlayer.html#getBufferedPercentage()">getBufferedPercentage</a>, <a href="../../BasePlayer.html#getContentDuration()">getContentDuration</a>, <a href="../../BasePlayer.html#getCurrentLiveOffset()">getCurrentLiveOffset</a>, <a href="../../BasePlayer.html#getCurrentManifest()">getCurrentManifest</a>, <a href="../../BasePlayer.html#getCurrentMediaItem()">getCurrentMediaItem</a>, <a href="../../BasePlayer.html#getCurrentWindowIndex()">getCurrentWindowIndex</a>, <a href="../../BasePlayer.html#getMediaItemAt(int)">getMediaItemAt</a>, <a href="../../BasePlayer.html#getMediaItemCount()">getMediaItemCount</a>, <a href="../../BasePlayer.html#getNextMediaItemIndex()">getNextMediaItemIndex</a>, <a href="../../BasePlayer.html#getNextWindowIndex()">getNextWindowIndex</a>, <a href="../../BasePlayer.html#getPreviousMediaItemIndex()">getPreviousMediaItemIndex</a>, <a href="../../BasePlayer.html#getPreviousWindowIndex()">getPreviousWindowIndex</a>, <a href="../../BasePlayer.html#hasNext()">hasNext</a>, <a href="../../BasePlayer.html#hasNextMediaItem()">hasNextMediaItem</a>, <a href="../../BasePlayer.html#hasNextWindow()">hasNextWindow</a>, <a href="../../BasePlayer.html#hasPrevious()">hasPrevious</a>, <a href="../../BasePlayer.html#hasPreviousMediaItem()">hasPreviousMediaItem</a>, <a href="../../BasePlayer.html#hasPreviousWindow()">hasPreviousWindow</a>, <a href="../../BasePlayer.html#isCommandAvailable(@com.google.android.exoplayer2.Player.Commandint)">isCommandAvailable</a>, <a href="../../BasePlayer.html#isCurrentMediaItemDynamic()">isCurrentMediaItemDynamic</a>, <a href="../../BasePlayer.html#isCurrentMediaItemLive()">isCurrentMediaItemLive</a>, <a href="../../BasePlayer.html#isCurrentMediaItemSeekable()">isCurrentMediaItemSeekable</a>, <a href="../../BasePlayer.html#isCurrentWindowDynamic()">isCurrentWindowDynamic</a>, <a href="../../BasePlayer.html#isCurrentWindowLive()">isCurrentWindowLive</a>, <a href="../../BasePlayer.html#isCurrentWindowSeekable()">isCurrentWindowSeekable</a>, <a href="../../BasePlayer.html#isPlaying()">isPlaying</a>, <a href="../../BasePlayer.html#moveMediaItem(int,int)">moveMediaItem</a>, <a href="../../BasePlayer.html#next()">next</a>, <a href="../../BasePlayer.html#pause()">pause</a>, <a href="../../BasePlayer.html#play()">play</a>, <a href="../../BasePlayer.html#previous()">previous</a>, <a href="../../BasePlayer.html#removeMediaItem(int)">removeMediaItem</a>, <a href="../../BasePlayer.html#seekBack()">seekBack</a>, <a href="../../BasePlayer.html#seekForward()">seekForward</a>, <a href="../../BasePlayer.html#seekTo(long)">seekTo</a>, <a href="../../BasePlayer.html#seekToDefaultPosition()">seekToDefaultPosition</a>, <a href="../../BasePlayer.html#seekToDefaultPosition(int)">seekToDefaultPosition</a>, <a href="../../BasePlayer.html#seekToNext()">seekToNext</a>, <a href="../../BasePlayer.html#seekToNextMediaItem()">seekToNextMediaItem</a>, <a href="../../BasePlayer.html#seekToNextWindow()">seekToNextWindow</a>, <a href="../../BasePlayer.html#seekToPrevious()">seekToPrevious</a>, <a href="../../BasePlayer.html#seekToPreviousMediaItem()">seekToPreviousMediaItem</a>, <a href="../../BasePlayer.html#seekToPreviousWindow()">seekToPreviousWindow</a>, <a href="../../BasePlayer.html#setMediaItem(com.google.android.exoplayer2.MediaItem)">setMediaItem</a>, <a href="../../BasePlayer.html#setMediaItem(com.google.android.exoplayer2.MediaItem,boolean)">setMediaItem</a>, <a href="../../BasePlayer.html#setMediaItem(com.google.android.exoplayer2.MediaItem,long)">setMediaItem</a>, <a href="../../BasePlayer.html#setMediaItems(java.util.List)">setMediaItems</a>, <a href="../../BasePlayer.html#setPlaybackSpeed(float)">setPlaybackSpeed</a></code></li>
|
||||
<code><a href="../../BasePlayer.html#addMediaItem(int,com.google.android.exoplayer2.MediaItem)">addMediaItem</a>, <a href="../../BasePlayer.html#addMediaItem(com.google.android.exoplayer2.MediaItem)">addMediaItem</a>, <a href="../../BasePlayer.html#addMediaItems(java.util.List)">addMediaItems</a>, <a href="../../BasePlayer.html#canAdvertiseSession()">canAdvertiseSession</a>, <a href="../../BasePlayer.html#clearMediaItems()">clearMediaItems</a>, <a href="../../BasePlayer.html#getBufferedPercentage()">getBufferedPercentage</a>, <a href="../../BasePlayer.html#getContentDuration()">getContentDuration</a>, <a href="../../BasePlayer.html#getCurrentLiveOffset()">getCurrentLiveOffset</a>, <a href="../../BasePlayer.html#getCurrentManifest()">getCurrentManifest</a>, <a href="../../BasePlayer.html#getCurrentMediaItem()">getCurrentMediaItem</a>, <a href="../../BasePlayer.html#getCurrentWindowIndex()">getCurrentWindowIndex</a>, <a href="../../BasePlayer.html#getMediaItemAt(int)">getMediaItemAt</a>, <a href="../../BasePlayer.html#getMediaItemCount()">getMediaItemCount</a>, <a href="../../BasePlayer.html#getNextMediaItemIndex()">getNextMediaItemIndex</a>, <a href="../../BasePlayer.html#getNextWindowIndex()">getNextWindowIndex</a>, <a href="../../BasePlayer.html#getPreviousMediaItemIndex()">getPreviousMediaItemIndex</a>, <a href="../../BasePlayer.html#getPreviousWindowIndex()">getPreviousWindowIndex</a>, <a href="../../BasePlayer.html#hasNext()">hasNext</a>, <a href="../../BasePlayer.html#hasNextMediaItem()">hasNextMediaItem</a>, <a href="../../BasePlayer.html#hasNextWindow()">hasNextWindow</a>, <a href="../../BasePlayer.html#hasPrevious()">hasPrevious</a>, <a href="../../BasePlayer.html#hasPreviousMediaItem()">hasPreviousMediaItem</a>, <a href="../../BasePlayer.html#hasPreviousWindow()">hasPreviousWindow</a>, <a href="../../BasePlayer.html#isCommandAvailable(@com.google.android.exoplayer2.Player.Commandint)">isCommandAvailable</a>, <a href="../../BasePlayer.html#isCurrentMediaItemDynamic()">isCurrentMediaItemDynamic</a>, <a href="../../BasePlayer.html#isCurrentMediaItemLive()">isCurrentMediaItemLive</a>, <a href="../../BasePlayer.html#isCurrentMediaItemSeekable()">isCurrentMediaItemSeekable</a>, <a href="../../BasePlayer.html#isCurrentWindowDynamic()">isCurrentWindowDynamic</a>, <a href="../../BasePlayer.html#isCurrentWindowLive()">isCurrentWindowLive</a>, <a href="../../BasePlayer.html#isCurrentWindowSeekable()">isCurrentWindowSeekable</a>, <a href="../../BasePlayer.html#isPlaying()">isPlaying</a>, <a href="../../BasePlayer.html#moveMediaItem(int,int)">moveMediaItem</a>, <a href="../../BasePlayer.html#next()">next</a>, <a href="../../BasePlayer.html#pause()">pause</a>, <a href="../../BasePlayer.html#play()">play</a>, <a href="../../BasePlayer.html#previous()">previous</a>, <a href="../../BasePlayer.html#removeMediaItem(int)">removeMediaItem</a>, <a href="../../BasePlayer.html#repeatCurrentMediaItem()">repeatCurrentMediaItem</a>, <a href="../../BasePlayer.html#seekBack()">seekBack</a>, <a href="../../BasePlayer.html#seekForward()">seekForward</a>, <a href="../../BasePlayer.html#seekTo(long)">seekTo</a>, <a href="../../BasePlayer.html#seekToDefaultPosition()">seekToDefaultPosition</a>, <a href="../../BasePlayer.html#seekToDefaultPosition(int)">seekToDefaultPosition</a>, <a href="../../BasePlayer.html#seekToNext()">seekToNext</a>, <a href="../../BasePlayer.html#seekToNextMediaItem()">seekToNextMediaItem</a>, <a href="../../BasePlayer.html#seekToNextWindow()">seekToNextWindow</a>, <a href="../../BasePlayer.html#seekToPrevious()">seekToPrevious</a>, <a href="../../BasePlayer.html#seekToPreviousMediaItem()">seekToPreviousMediaItem</a>, <a href="../../BasePlayer.html#seekToPreviousWindow()">seekToPreviousWindow</a>, <a href="../../BasePlayer.html#setMediaItem(com.google.android.exoplayer2.MediaItem)">setMediaItem</a>, <a href="../../BasePlayer.html#setMediaItem(com.google.android.exoplayer2.MediaItem,boolean)">setMediaItem</a>, <a href="../../BasePlayer.html#setMediaItem(com.google.android.exoplayer2.MediaItem,long)">setMediaItem</a>, <a href="../../BasePlayer.html#setMediaItems(java.util.List)">setMediaItems</a>, <a href="../../BasePlayer.html#setPlaybackSpeed(float)">setPlaybackSpeed</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
||||
@ -824,6 +838,16 @@ extends <a href="../../BasePlayer.html" title="class in com.google.android.exopl
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Detail</h3>
|
||||
<a id="DEVICE_INFO">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>DEVICE_INFO</h4>
|
||||
<pre>public static final <a href="../../DeviceInfo.html" title="class in com.google.android.exoplayer2">DeviceInfo</a> DEVICE_INFO</pre>
|
||||
<div class="block">The <a href="../../DeviceInfo.html" title="class in com.google.android.exoplayer2"><code>DeviceInfo</code></a> returned by <a href="#getDeviceInfo()"><code>this player</code></a>.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="MIN_SPEED_SUPPORTED">
|
||||
<!-- -->
|
||||
</a>
|
||||
@ -1918,6 +1942,20 @@ public @com.google.android.exoplayer2.Player.RepeatMode int getRepeatM
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getSurfaceSize()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getSurfaceSize</h4>
|
||||
<pre class="methodSignature">public <a href="../../util/Size.html" title="class in com.google.android.exoplayer2.util">Size</a> getSurfaceSize()</pre>
|
||||
<div class="block">This method is not supported and returns <a href="../../util/Size.html#UNKNOWN"><code>Size.UNKNOWN</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../Player.Listener.html#onSurfaceSizeChanged(int,int)"><code>Player.Listener.onSurfaceSizeChanged(int, int)</code></a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getCurrentCues()">
|
||||
<!-- -->
|
||||
</a>
|
||||
@ -1935,7 +1973,7 @@ public @com.google.android.exoplayer2.Player.RepeatMode int getRepeatM
|
||||
<li class="blockList">
|
||||
<h4>getDeviceInfo</h4>
|
||||
<pre class="methodSignature">public <a href="../../DeviceInfo.html" title="class in com.google.android.exoplayer2">DeviceInfo</a> getDeviceInfo()</pre>
|
||||
<div class="block">This method is not supported and always returns <a href="../../DeviceInfo.html#UNKNOWN"><code>DeviceInfo.UNKNOWN</code></a>.</div>
|
||||
<div class="block">This method always returns <a href="#DEVICE_INFO"><code>DEVICE_INFO</code></a>.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getDeviceVolume()">
|
||||
|
@ -370,7 +370,8 @@ public Factory​(<a href="CronetEngineWrapper.html" title="class in co
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDefaultRequestProperties</h4>
|
||||
<pre class="methodSignature">public final <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setDefaultRequestProperties​(<a href="https://developer.android.com/reference/java/util/Map.html" title="class or interface in java.util" class="externalLink">Map</a><<a href="https://developer.android.com/reference/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="https://developer.android.com/reference/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">String</a>> defaultRequestProperties)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public final <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setDefaultRequestProperties​(<a href="https://developer.android.com/reference/java/util/Map.html" title="class or interface in java.util" class="externalLink">Map</a><<a href="https://developer.android.com/reference/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="https://developer.android.com/reference/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">String</a>> defaultRequestProperties)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../upstream/HttpDataSource.Factory.html#setDefaultRequestProperties(java.util.Map)">HttpDataSource.Factory</a></code></span></div>
|
||||
<div class="block">Sets the default request headers for <a href="../../upstream/HttpDataSource.html" title="interface in com.google.android.exoplayer2.upstream"><code>HttpDataSource</code></a> instances created by the factory.
|
||||
|
||||
@ -394,7 +395,8 @@ public Factory​(<a href="CronetEngineWrapper.html" title="class in co
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setUserAgent</h4>
|
||||
<pre class="methodSignature">public <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setUserAgent​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setUserAgent​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> userAgent)</pre>
|
||||
<div class="block">Sets the user agent that will be used.
|
||||
|
||||
@ -414,7 +416,8 @@ public Factory​(<a href="CronetEngineWrapper.html" title="class in co
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setRequestPriority</h4>
|
||||
<pre class="methodSignature">public <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setRequestPriority​(int requestPriority)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setRequestPriority​(int requestPriority)</pre>
|
||||
<div class="block">Sets the priority of requests made by <a href="CronetDataSource.html" title="class in com.google.android.exoplayer2.ext.cronet"><code>CronetDataSource</code></a> instances created by this
|
||||
factory.
|
||||
|
||||
@ -434,7 +437,8 @@ public Factory​(<a href="CronetEngineWrapper.html" title="class in co
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setConnectionTimeoutMs</h4>
|
||||
<pre class="methodSignature">public <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setConnectionTimeoutMs​(int connectTimeoutMs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setConnectionTimeoutMs​(int connectTimeoutMs)</pre>
|
||||
<div class="block">Sets the connect timeout, in milliseconds.
|
||||
|
||||
<p>The default is <a href="CronetDataSource.html#DEFAULT_CONNECT_TIMEOUT_MILLIS"><code>CronetDataSource.DEFAULT_CONNECT_TIMEOUT_MILLIS</code></a>.</div>
|
||||
@ -452,7 +456,8 @@ public Factory​(<a href="CronetEngineWrapper.html" title="class in co
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setResetTimeoutOnRedirects</h4>
|
||||
<pre class="methodSignature">public <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setResetTimeoutOnRedirects​(boolean resetTimeoutOnRedirects)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setResetTimeoutOnRedirects​(boolean resetTimeoutOnRedirects)</pre>
|
||||
<div class="block">Sets whether the connect timeout is reset when a redirect occurs.
|
||||
|
||||
<p>The default is <code>false</code>.</div>
|
||||
@ -470,7 +475,8 @@ public Factory​(<a href="CronetEngineWrapper.html" title="class in co
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setHandleSetCookieRequests</h4>
|
||||
<pre class="methodSignature">public <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setHandleSetCookieRequests​(boolean handleSetCookieRequests)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setHandleSetCookieRequests​(boolean handleSetCookieRequests)</pre>
|
||||
<div class="block">Sets whether "Set-Cookie" requests on redirect should be forwarded to the redirect url in the
|
||||
"Cookie" header.
|
||||
|
||||
@ -490,7 +496,8 @@ public Factory​(<a href="CronetEngineWrapper.html" title="class in co
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setReadTimeoutMs</h4>
|
||||
<pre class="methodSignature">public <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setReadTimeoutMs​(int readTimeoutMs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setReadTimeoutMs​(int readTimeoutMs)</pre>
|
||||
<div class="block">Sets the read timeout, in milliseconds.
|
||||
|
||||
<p>The default is <a href="CronetDataSource.html#DEFAULT_READ_TIMEOUT_MILLIS"><code>CronetDataSource.DEFAULT_READ_TIMEOUT_MILLIS</code></a>.</div>
|
||||
@ -508,7 +515,8 @@ public Factory​(<a href="CronetEngineWrapper.html" title="class in co
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setContentTypePredicate</h4>
|
||||
<pre class="methodSignature">public <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setContentTypePredicate​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setContentTypePredicate​(@Nullable
|
||||
<a href="https://guava.dev/releases/31.0.1-android/api/docs/com/google/common/base/Predicate.html?is-external=true" title="class or interface in com.google.common.base" class="externalLink">Predicate</a><<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a>> contentTypePredicate)</pre>
|
||||
<div class="block">Sets a content type <a href="https://guava.dev/releases/31.0.1-android/api/docs/com/google/common/base/Predicate.html?is-external=true" title="class or interface in com.google.common.base" class="externalLink"><code>Predicate</code></a>. If a content type is rejected by the predicate then a
|
||||
<a href="../../upstream/HttpDataSource.InvalidContentTypeException.html" title="class in com.google.android.exoplayer2.upstream"><code>HttpDataSource.InvalidContentTypeException</code></a> is thrown from <a href="../../upstream/DataSource.html#open(com.google.android.exoplayer2.upstream.DataSpec)"><code>DataSource.open(DataSpec)</code></a>.
|
||||
@ -529,7 +537,8 @@ public Factory​(<a href="CronetEngineWrapper.html" title="class in co
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setKeepPostFor302Redirects</h4>
|
||||
<pre class="methodSignature">public <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setKeepPostFor302Redirects​(boolean keepPostFor302Redirects)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setKeepPostFor302Redirects​(boolean keepPostFor302Redirects)</pre>
|
||||
<div class="block">Sets whether we should keep the POST method and body when we have HTTP 302 redirects for a
|
||||
POST request.</div>
|
||||
</li>
|
||||
@ -540,7 +549,8 @@ public Factory​(<a href="CronetEngineWrapper.html" title="class in co
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setTransferListener</h4>
|
||||
<pre class="methodSignature">public <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setTransferListener​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setTransferListener​(@Nullable
|
||||
<a href="../../upstream/TransferListener.html" title="interface in com.google.android.exoplayer2.upstream">TransferListener</a> transferListener)</pre>
|
||||
<div class="block">Sets the <a href="../../upstream/TransferListener.html" title="interface in com.google.android.exoplayer2.upstream"><code>TransferListener</code></a> that will be used.
|
||||
|
||||
@ -561,7 +571,8 @@ public Factory​(<a href="CronetEngineWrapper.html" title="class in co
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setFallbackFactory</h4>
|
||||
<pre class="methodSignature"><a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
<a href="https://developer.android.com/reference/java/lang/Deprecated.html" title="class or interface in java.lang" class="externalLink" target="_top">@Deprecated</a>
|
||||
public <a href="CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet">CronetDataSource.Factory</a> setFallbackFactory​(@Nullable
|
||||
<a href="../../upstream/HttpDataSource.Factory.html" title="interface in com.google.android.exoplayer2.upstream">HttpDataSource.Factory</a> fallbackFactory)</pre>
|
||||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
|
||||
|
@ -188,14 +188,14 @@ extends <a href="../../audio/DecoderAudioRenderer.html" title="class in com.goog
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface com.google.android.exoplayer2.<a href="../../Renderer.html" title="interface in com.google.android.exoplayer2">Renderer</a></h3>
|
||||
<code><a href="../../Renderer.html#MSG_CUSTOM_BASE">MSG_CUSTOM_BASE</a>, <a href="../../Renderer.html#MSG_SET_AUDIO_ATTRIBUTES">MSG_SET_AUDIO_ATTRIBUTES</a>, <a href="../../Renderer.html#MSG_SET_AUDIO_SESSION_ID">MSG_SET_AUDIO_SESSION_ID</a>, <a href="../../Renderer.html#MSG_SET_AUX_EFFECT_INFO">MSG_SET_AUX_EFFECT_INFO</a>, <a href="../../Renderer.html#MSG_SET_CAMERA_MOTION_LISTENER">MSG_SET_CAMERA_MOTION_LISTENER</a>, <a href="../../Renderer.html#MSG_SET_CHANGE_FRAME_RATE_STRATEGY">MSG_SET_CHANGE_FRAME_RATE_STRATEGY</a>, <a href="../../Renderer.html#MSG_SET_SCALING_MODE">MSG_SET_SCALING_MODE</a>, <a href="../../Renderer.html#MSG_SET_SKIP_SILENCE_ENABLED">MSG_SET_SKIP_SILENCE_ENABLED</a>, <a href="../../Renderer.html#MSG_SET_VIDEO_FRAME_METADATA_LISTENER">MSG_SET_VIDEO_FRAME_METADATA_LISTENER</a>, <a href="../../Renderer.html#MSG_SET_VIDEO_OUTPUT">MSG_SET_VIDEO_OUTPUT</a>, <a href="../../Renderer.html#MSG_SET_VOLUME">MSG_SET_VOLUME</a>, <a href="../../Renderer.html#MSG_SET_WAKEUP_LISTENER">MSG_SET_WAKEUP_LISTENER</a>, <a href="../../Renderer.html#STATE_DISABLED">STATE_DISABLED</a>, <a href="../../Renderer.html#STATE_ENABLED">STATE_ENABLED</a>, <a href="../../Renderer.html#STATE_STARTED">STATE_STARTED</a></code></li>
|
||||
<code><a href="../../Renderer.html#MSG_CUSTOM_BASE">MSG_CUSTOM_BASE</a>, <a href="../../Renderer.html#MSG_SET_AUDIO_ATTRIBUTES">MSG_SET_AUDIO_ATTRIBUTES</a>, <a href="../../Renderer.html#MSG_SET_AUDIO_SESSION_ID">MSG_SET_AUDIO_SESSION_ID</a>, <a href="../../Renderer.html#MSG_SET_AUX_EFFECT_INFO">MSG_SET_AUX_EFFECT_INFO</a>, <a href="../../Renderer.html#MSG_SET_CAMERA_MOTION_LISTENER">MSG_SET_CAMERA_MOTION_LISTENER</a>, <a href="../../Renderer.html#MSG_SET_CHANGE_FRAME_RATE_STRATEGY">MSG_SET_CHANGE_FRAME_RATE_STRATEGY</a>, <a href="../../Renderer.html#MSG_SET_PREFERRED_AUDIO_DEVICE">MSG_SET_PREFERRED_AUDIO_DEVICE</a>, <a href="../../Renderer.html#MSG_SET_SCALING_MODE">MSG_SET_SCALING_MODE</a>, <a href="../../Renderer.html#MSG_SET_SKIP_SILENCE_ENABLED">MSG_SET_SKIP_SILENCE_ENABLED</a>, <a href="../../Renderer.html#MSG_SET_VIDEO_FRAME_METADATA_LISTENER">MSG_SET_VIDEO_FRAME_METADATA_LISTENER</a>, <a href="../../Renderer.html#MSG_SET_VIDEO_OUTPUT">MSG_SET_VIDEO_OUTPUT</a>, <a href="../../Renderer.html#MSG_SET_VOLUME">MSG_SET_VOLUME</a>, <a href="../../Renderer.html#MSG_SET_WAKEUP_LISTENER">MSG_SET_WAKEUP_LISTENER</a>, <a href="../../Renderer.html#STATE_DISABLED">STATE_DISABLED</a>, <a href="../../Renderer.html#STATE_ENABLED">STATE_ENABLED</a>, <a href="../../Renderer.html#STATE_STARTED">STATE_STARTED</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="fields.inherited.from.class.com.google.android.exoplayer2.RendererCapabilities">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface com.google.android.exoplayer2.<a href="../../RendererCapabilities.html" title="interface in com.google.android.exoplayer2">RendererCapabilities</a></h3>
|
||||
<code><a href="../../RendererCapabilities.html#ADAPTIVE_NOT_SEAMLESS">ADAPTIVE_NOT_SEAMLESS</a>, <a href="../../RendererCapabilities.html#ADAPTIVE_NOT_SUPPORTED">ADAPTIVE_NOT_SUPPORTED</a>, <a href="../../RendererCapabilities.html#ADAPTIVE_SEAMLESS">ADAPTIVE_SEAMLESS</a>, <a href="../../RendererCapabilities.html#ADAPTIVE_SUPPORT_MASK">ADAPTIVE_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#DECODER_SUPPORT_FALLBACK">DECODER_SUPPORT_FALLBACK</a>, <a href="../../RendererCapabilities.html#DECODER_SUPPORT_PRIMARY">DECODER_SUPPORT_PRIMARY</a>, <a href="../../RendererCapabilities.html#FORMAT_EXCEEDS_CAPABILITIES">FORMAT_EXCEEDS_CAPABILITIES</a>, <a href="../../RendererCapabilities.html#FORMAT_HANDLED">FORMAT_HANDLED</a>, <a href="../../RendererCapabilities.html#FORMAT_SUPPORT_MASK">FORMAT_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#FORMAT_UNSUPPORTED_DRM">FORMAT_UNSUPPORTED_DRM</a>, <a href="../../RendererCapabilities.html#FORMAT_UNSUPPORTED_SUBTYPE">FORMAT_UNSUPPORTED_SUBTYPE</a>, <a href="../../RendererCapabilities.html#FORMAT_UNSUPPORTED_TYPE">FORMAT_UNSUPPORTED_TYPE</a>, <a href="../../RendererCapabilities.html#HARDWARE_ACCELERATION_NOT_SUPPORTED">HARDWARE_ACCELERATION_NOT_SUPPORTED</a>, <a href="../../RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORT_MASK">HARDWARE_ACCELERATION_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORTED">HARDWARE_ACCELERATION_SUPPORTED</a>, <a href="../../RendererCapabilities.html#MODE_SUPPORT_MASK">MODE_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#TUNNELING_NOT_SUPPORTED">TUNNELING_NOT_SUPPORTED</a>, <a href="../../RendererCapabilities.html#TUNNELING_SUPPORT_MASK">TUNNELING_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#TUNNELING_SUPPORTED">TUNNELING_SUPPORTED</a></code></li>
|
||||
<code><a href="../../RendererCapabilities.html#ADAPTIVE_NOT_SEAMLESS">ADAPTIVE_NOT_SEAMLESS</a>, <a href="../../RendererCapabilities.html#ADAPTIVE_NOT_SUPPORTED">ADAPTIVE_NOT_SUPPORTED</a>, <a href="../../RendererCapabilities.html#ADAPTIVE_SEAMLESS">ADAPTIVE_SEAMLESS</a>, <a href="../../RendererCapabilities.html#ADAPTIVE_SUPPORT_MASK">ADAPTIVE_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#DECODER_SUPPORT_FALLBACK">DECODER_SUPPORT_FALLBACK</a>, <a href="../../RendererCapabilities.html#DECODER_SUPPORT_FALLBACK_MIMETYPE">DECODER_SUPPORT_FALLBACK_MIMETYPE</a>, <a href="../../RendererCapabilities.html#DECODER_SUPPORT_PRIMARY">DECODER_SUPPORT_PRIMARY</a>, <a href="../../RendererCapabilities.html#FORMAT_EXCEEDS_CAPABILITIES">FORMAT_EXCEEDS_CAPABILITIES</a>, <a href="../../RendererCapabilities.html#FORMAT_HANDLED">FORMAT_HANDLED</a>, <a href="../../RendererCapabilities.html#FORMAT_SUPPORT_MASK">FORMAT_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#FORMAT_UNSUPPORTED_DRM">FORMAT_UNSUPPORTED_DRM</a>, <a href="../../RendererCapabilities.html#FORMAT_UNSUPPORTED_SUBTYPE">FORMAT_UNSUPPORTED_SUBTYPE</a>, <a href="../../RendererCapabilities.html#FORMAT_UNSUPPORTED_TYPE">FORMAT_UNSUPPORTED_TYPE</a>, <a href="../../RendererCapabilities.html#HARDWARE_ACCELERATION_NOT_SUPPORTED">HARDWARE_ACCELERATION_NOT_SUPPORTED</a>, <a href="../../RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORT_MASK">HARDWARE_ACCELERATION_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORTED">HARDWARE_ACCELERATION_SUPPORTED</a>, <a href="../../RendererCapabilities.html#MODE_SUPPORT_MASK">MODE_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#TUNNELING_NOT_SUPPORTED">TUNNELING_NOT_SUPPORTED</a>, <a href="../../RendererCapabilities.html#TUNNELING_SUPPORT_MASK">TUNNELING_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#TUNNELING_SUPPORTED">TUNNELING_SUPPORTED</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -267,7 +267,7 @@ extends <a href="../../audio/DecoderAudioRenderer.html" title="class in com.goog
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../Format.html" title="class in com.google.android.exoplayer2">Format</a></code></td>
|
||||
<td class="colFirst"><code>protected <a href="../../Format.html" title="class in com.google.android.exoplayer2">Format</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOutputFormat(com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioDecoder)">getOutputFormat</a></span>​(com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioDecoder decoder)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the format of audio buffers output by the decoder.</div>
|
||||
@ -436,7 +436,7 @@ protected @com.google.android.exoplayer2.C.FormatSupport int supportsF
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>supportsMixedMimeTypeAdaptation</h4>
|
||||
<pre class="methodSignature">public final @com.google.android.exoplayer2.RendererCapabilities.AdaptiveSupport int supportsMixedMimeTypeAdaptation()</pre>
|
||||
<pre class="methodSignature">public @com.google.android.exoplayer2.RendererCapabilities.AdaptiveSupport int supportsMixedMimeTypeAdaptation()</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../RendererCapabilities.html#supportsMixedMimeTypeAdaptation()">RendererCapabilities</a></code></span></div>
|
||||
<div class="block">Returns the extent to which the <a href="../../Renderer.html" title="interface in com.google.android.exoplayer2"><code>Renderer</code></a> supports adapting between supported formats
|
||||
that have different MIME types.</div>
|
||||
@ -461,7 +461,6 @@ protected @com.google.android.exoplayer2.C.FormatSupport int supportsF
|
||||
@Nullable
|
||||
<a href="../../decoder/CryptoConfig.html" title="interface in com.google.android.exoplayer2.decoder">CryptoConfig</a> cryptoConfig)
|
||||
throws <a href="FfmpegDecoderException.html" title="class in com.google.android.exoplayer2.ext.ffmpeg">FfmpegDecoderException</a></pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../audio/DecoderAudioRenderer.html#createDecoder(com.google.android.exoplayer2.Format,com.google.android.exoplayer2.decoder.CryptoConfig)">DecoderAudioRenderer</a></code></span></div>
|
||||
<div class="block">Creates a decoder for the given format.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
@ -483,8 +482,7 @@ protected @com.google.android.exoplayer2.C.FormatSupport int supportsF
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getOutputFormat</h4>
|
||||
<pre class="methodSignature">public <a href="../../Format.html" title="class in com.google.android.exoplayer2">Format</a> getOutputFormat​(com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioDecoder decoder)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../audio/DecoderAudioRenderer.html#getOutputFormat(T)">DecoderAudioRenderer</a></code></span></div>
|
||||
<pre class="methodSignature">protected <a href="../../Format.html" title="class in com.google.android.exoplayer2">Format</a> getOutputFormat​(com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioDecoder decoder)</pre>
|
||||
<div class="block">Returns the format of audio buffers output by the decoder. Will not be called until the first
|
||||
output buffer has been dequeued, so the decoder may use input data to determine the format.</div>
|
||||
<dl>
|
||||
|
@ -188,14 +188,14 @@ extends <a href="../../audio/DecoderAudioRenderer.html" title="class in com.goog
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface com.google.android.exoplayer2.<a href="../../Renderer.html" title="interface in com.google.android.exoplayer2">Renderer</a></h3>
|
||||
<code><a href="../../Renderer.html#MSG_CUSTOM_BASE">MSG_CUSTOM_BASE</a>, <a href="../../Renderer.html#MSG_SET_AUDIO_ATTRIBUTES">MSG_SET_AUDIO_ATTRIBUTES</a>, <a href="../../Renderer.html#MSG_SET_AUDIO_SESSION_ID">MSG_SET_AUDIO_SESSION_ID</a>, <a href="../../Renderer.html#MSG_SET_AUX_EFFECT_INFO">MSG_SET_AUX_EFFECT_INFO</a>, <a href="../../Renderer.html#MSG_SET_CAMERA_MOTION_LISTENER">MSG_SET_CAMERA_MOTION_LISTENER</a>, <a href="../../Renderer.html#MSG_SET_CHANGE_FRAME_RATE_STRATEGY">MSG_SET_CHANGE_FRAME_RATE_STRATEGY</a>, <a href="../../Renderer.html#MSG_SET_SCALING_MODE">MSG_SET_SCALING_MODE</a>, <a href="../../Renderer.html#MSG_SET_SKIP_SILENCE_ENABLED">MSG_SET_SKIP_SILENCE_ENABLED</a>, <a href="../../Renderer.html#MSG_SET_VIDEO_FRAME_METADATA_LISTENER">MSG_SET_VIDEO_FRAME_METADATA_LISTENER</a>, <a href="../../Renderer.html#MSG_SET_VIDEO_OUTPUT">MSG_SET_VIDEO_OUTPUT</a>, <a href="../../Renderer.html#MSG_SET_VOLUME">MSG_SET_VOLUME</a>, <a href="../../Renderer.html#MSG_SET_WAKEUP_LISTENER">MSG_SET_WAKEUP_LISTENER</a>, <a href="../../Renderer.html#STATE_DISABLED">STATE_DISABLED</a>, <a href="../../Renderer.html#STATE_ENABLED">STATE_ENABLED</a>, <a href="../../Renderer.html#STATE_STARTED">STATE_STARTED</a></code></li>
|
||||
<code><a href="../../Renderer.html#MSG_CUSTOM_BASE">MSG_CUSTOM_BASE</a>, <a href="../../Renderer.html#MSG_SET_AUDIO_ATTRIBUTES">MSG_SET_AUDIO_ATTRIBUTES</a>, <a href="../../Renderer.html#MSG_SET_AUDIO_SESSION_ID">MSG_SET_AUDIO_SESSION_ID</a>, <a href="../../Renderer.html#MSG_SET_AUX_EFFECT_INFO">MSG_SET_AUX_EFFECT_INFO</a>, <a href="../../Renderer.html#MSG_SET_CAMERA_MOTION_LISTENER">MSG_SET_CAMERA_MOTION_LISTENER</a>, <a href="../../Renderer.html#MSG_SET_CHANGE_FRAME_RATE_STRATEGY">MSG_SET_CHANGE_FRAME_RATE_STRATEGY</a>, <a href="../../Renderer.html#MSG_SET_PREFERRED_AUDIO_DEVICE">MSG_SET_PREFERRED_AUDIO_DEVICE</a>, <a href="../../Renderer.html#MSG_SET_SCALING_MODE">MSG_SET_SCALING_MODE</a>, <a href="../../Renderer.html#MSG_SET_SKIP_SILENCE_ENABLED">MSG_SET_SKIP_SILENCE_ENABLED</a>, <a href="../../Renderer.html#MSG_SET_VIDEO_FRAME_METADATA_LISTENER">MSG_SET_VIDEO_FRAME_METADATA_LISTENER</a>, <a href="../../Renderer.html#MSG_SET_VIDEO_OUTPUT">MSG_SET_VIDEO_OUTPUT</a>, <a href="../../Renderer.html#MSG_SET_VOLUME">MSG_SET_VOLUME</a>, <a href="../../Renderer.html#MSG_SET_WAKEUP_LISTENER">MSG_SET_WAKEUP_LISTENER</a>, <a href="../../Renderer.html#STATE_DISABLED">STATE_DISABLED</a>, <a href="../../Renderer.html#STATE_ENABLED">STATE_ENABLED</a>, <a href="../../Renderer.html#STATE_STARTED">STATE_STARTED</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="fields.inherited.from.class.com.google.android.exoplayer2.RendererCapabilities">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface com.google.android.exoplayer2.<a href="../../RendererCapabilities.html" title="interface in com.google.android.exoplayer2">RendererCapabilities</a></h3>
|
||||
<code><a href="../../RendererCapabilities.html#ADAPTIVE_NOT_SEAMLESS">ADAPTIVE_NOT_SEAMLESS</a>, <a href="../../RendererCapabilities.html#ADAPTIVE_NOT_SUPPORTED">ADAPTIVE_NOT_SUPPORTED</a>, <a href="../../RendererCapabilities.html#ADAPTIVE_SEAMLESS">ADAPTIVE_SEAMLESS</a>, <a href="../../RendererCapabilities.html#ADAPTIVE_SUPPORT_MASK">ADAPTIVE_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#DECODER_SUPPORT_FALLBACK">DECODER_SUPPORT_FALLBACK</a>, <a href="../../RendererCapabilities.html#DECODER_SUPPORT_PRIMARY">DECODER_SUPPORT_PRIMARY</a>, <a href="../../RendererCapabilities.html#FORMAT_EXCEEDS_CAPABILITIES">FORMAT_EXCEEDS_CAPABILITIES</a>, <a href="../../RendererCapabilities.html#FORMAT_HANDLED">FORMAT_HANDLED</a>, <a href="../../RendererCapabilities.html#FORMAT_SUPPORT_MASK">FORMAT_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#FORMAT_UNSUPPORTED_DRM">FORMAT_UNSUPPORTED_DRM</a>, <a href="../../RendererCapabilities.html#FORMAT_UNSUPPORTED_SUBTYPE">FORMAT_UNSUPPORTED_SUBTYPE</a>, <a href="../../RendererCapabilities.html#FORMAT_UNSUPPORTED_TYPE">FORMAT_UNSUPPORTED_TYPE</a>, <a href="../../RendererCapabilities.html#HARDWARE_ACCELERATION_NOT_SUPPORTED">HARDWARE_ACCELERATION_NOT_SUPPORTED</a>, <a href="../../RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORT_MASK">HARDWARE_ACCELERATION_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORTED">HARDWARE_ACCELERATION_SUPPORTED</a>, <a href="../../RendererCapabilities.html#MODE_SUPPORT_MASK">MODE_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#TUNNELING_NOT_SUPPORTED">TUNNELING_NOT_SUPPORTED</a>, <a href="../../RendererCapabilities.html#TUNNELING_SUPPORT_MASK">TUNNELING_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#TUNNELING_SUPPORTED">TUNNELING_SUPPORTED</a></code></li>
|
||||
<code><a href="../../RendererCapabilities.html#ADAPTIVE_NOT_SEAMLESS">ADAPTIVE_NOT_SEAMLESS</a>, <a href="../../RendererCapabilities.html#ADAPTIVE_NOT_SUPPORTED">ADAPTIVE_NOT_SUPPORTED</a>, <a href="../../RendererCapabilities.html#ADAPTIVE_SEAMLESS">ADAPTIVE_SEAMLESS</a>, <a href="../../RendererCapabilities.html#ADAPTIVE_SUPPORT_MASK">ADAPTIVE_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#DECODER_SUPPORT_FALLBACK">DECODER_SUPPORT_FALLBACK</a>, <a href="../../RendererCapabilities.html#DECODER_SUPPORT_FALLBACK_MIMETYPE">DECODER_SUPPORT_FALLBACK_MIMETYPE</a>, <a href="../../RendererCapabilities.html#DECODER_SUPPORT_PRIMARY">DECODER_SUPPORT_PRIMARY</a>, <a href="../../RendererCapabilities.html#FORMAT_EXCEEDS_CAPABILITIES">FORMAT_EXCEEDS_CAPABILITIES</a>, <a href="../../RendererCapabilities.html#FORMAT_HANDLED">FORMAT_HANDLED</a>, <a href="../../RendererCapabilities.html#FORMAT_SUPPORT_MASK">FORMAT_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#FORMAT_UNSUPPORTED_DRM">FORMAT_UNSUPPORTED_DRM</a>, <a href="../../RendererCapabilities.html#FORMAT_UNSUPPORTED_SUBTYPE">FORMAT_UNSUPPORTED_SUBTYPE</a>, <a href="../../RendererCapabilities.html#FORMAT_UNSUPPORTED_TYPE">FORMAT_UNSUPPORTED_TYPE</a>, <a href="../../RendererCapabilities.html#HARDWARE_ACCELERATION_NOT_SUPPORTED">HARDWARE_ACCELERATION_NOT_SUPPORTED</a>, <a href="../../RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORT_MASK">HARDWARE_ACCELERATION_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#HARDWARE_ACCELERATION_SUPPORTED">HARDWARE_ACCELERATION_SUPPORTED</a>, <a href="../../RendererCapabilities.html#MODE_SUPPORT_MASK">MODE_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#TUNNELING_NOT_SUPPORTED">TUNNELING_NOT_SUPPORTED</a>, <a href="../../RendererCapabilities.html#TUNNELING_SUPPORT_MASK">TUNNELING_SUPPORT_MASK</a>, <a href="../../RendererCapabilities.html#TUNNELING_SUPPORTED">TUNNELING_SUPPORTED</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -432,7 +432,6 @@ protected @com.google.android.exoplayer2.C.FormatSupport int supportsF
|
||||
@Nullable
|
||||
<a href="../../decoder/CryptoConfig.html" title="interface in com.google.android.exoplayer2.decoder">CryptoConfig</a> cryptoConfig)
|
||||
throws <a href="FlacDecoderException.html" title="class in com.google.android.exoplayer2.ext.flac">FlacDecoderException</a></pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../audio/DecoderAudioRenderer.html#createDecoder(com.google.android.exoplayer2.Format,com.google.android.exoplayer2.decoder.CryptoConfig)">DecoderAudioRenderer</a></code></span></div>
|
||||
<div class="block">Creates a decoder for the given format.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
@ -455,7 +454,6 @@ protected @com.google.android.exoplayer2.C.FormatSupport int supportsF
|
||||
<li class="blockList">
|
||||
<h4>getOutputFormat</h4>
|
||||
<pre class="methodSignature">protected <a href="../../Format.html" title="class in com.google.android.exoplayer2">Format</a> getOutputFormat​(<a href="FlacDecoder.html" title="class in com.google.android.exoplayer2.ext.flac">FlacDecoder</a> decoder)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../audio/DecoderAudioRenderer.html#getOutputFormat(T)">DecoderAudioRenderer</a></code></span></div>
|
||||
<div class="block">Returns the format of audio buffers output by the decoder. Will not be called until the first
|
||||
output buffer has been dequeued, so the decoder may use input data to determine the format.</div>
|
||||
<dl>
|
||||
|
@ -402,7 +402,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setImaSdkSettings</h4>
|
||||
<pre class="methodSignature">public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setImaSdkSettings​(com.google.ads.interactivemedia.v3.api.ImaSdkSettings imaSdkSettings)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setImaSdkSettings​(com.google.ads.interactivemedia.v3.api.ImaSdkSettings imaSdkSettings)</pre>
|
||||
<div class="block">Sets the IMA SDK settings. The provided settings instance's player type and version fields
|
||||
may be overwritten.
|
||||
|
||||
@ -421,7 +422,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAdErrorListener</h4>
|
||||
<pre class="methodSignature">public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setAdErrorListener​(com.google.ads.interactivemedia.v3.api.AdErrorEvent.AdErrorListener adErrorListener)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setAdErrorListener​(com.google.ads.interactivemedia.v3.api.AdErrorEvent.AdErrorListener adErrorListener)</pre>
|
||||
<div class="block">Sets a listener for ad errors that will be passed to <code>AdsLoader.addAdErrorListener(AdErrorListener)</code> and
|
||||
<code>BaseManager.addAdErrorListener(AdErrorListener)</code>.</div>
|
||||
<dl>
|
||||
@ -438,7 +440,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAdEventListener</h4>
|
||||
<pre class="methodSignature">public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setAdEventListener​(com.google.ads.interactivemedia.v3.api.AdEvent.AdEventListener adEventListener)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setAdEventListener​(com.google.ads.interactivemedia.v3.api.AdEvent.AdEventListener adEventListener)</pre>
|
||||
<div class="block">Sets a listener for ad events that will be passed to <code>BaseManager.addAdEventListener(AdEventListener)</code>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -454,7 +457,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setVideoAdPlayerCallback</h4>
|
||||
<pre class="methodSignature">public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setVideoAdPlayerCallback​(com.google.ads.interactivemedia.v3.api.player.VideoAdPlayer.VideoAdPlayerCallback videoAdPlayerCallback)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setVideoAdPlayerCallback​(com.google.ads.interactivemedia.v3.api.player.VideoAdPlayer.VideoAdPlayerCallback videoAdPlayerCallback)</pre>
|
||||
<div class="block">Sets a callback to receive video ad player events. Note that these events are handled
|
||||
internally by the IMA SDK and this ads loader. For analytics and diagnostics, new
|
||||
implementations should generally use events from the top-level <a href="../../Player.html" title="interface in com.google.android.exoplayer2"><code>Player</code></a> listeners
|
||||
@ -475,7 +479,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAdUiElements</h4>
|
||||
<pre class="methodSignature">public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setAdUiElements​(<a href="https://developer.android.com/reference/java/util/Set.html" title="class or interface in java.util" class="externalLink" target="_top">Set</a><com.google.ads.interactivemedia.v3.api.UiElement> adUiElements)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setAdUiElements​(<a href="https://developer.android.com/reference/java/util/Set.html" title="class or interface in java.util" class="externalLink" target="_top">Set</a><com.google.ads.interactivemedia.v3.api.UiElement> adUiElements)</pre>
|
||||
<div class="block">Sets the ad UI elements to be rendered by the IMA SDK.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -493,7 +498,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setCompanionAdSlots</h4>
|
||||
<pre class="methodSignature">public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setCompanionAdSlots​(<a href="https://developer.android.com/reference/java/util/Collection.html" title="class or interface in java.util" class="externalLink" target="_top">Collection</a><com.google.ads.interactivemedia.v3.api.CompanionAdSlot> companionAdSlots)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setCompanionAdSlots​(<a href="https://developer.android.com/reference/java/util/Collection.html" title="class or interface in java.util" class="externalLink" target="_top">Collection</a><com.google.ads.interactivemedia.v3.api.CompanionAdSlot> companionAdSlots)</pre>
|
||||
<div class="block">Sets the slots to use for companion ads, if they are present in the loaded ad.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -511,7 +517,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAdMediaMimeTypes</h4>
|
||||
<pre class="methodSignature">public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setAdMediaMimeTypes​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="https://developer.android.com/reference/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">String</a>> adMediaMimeTypes)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setAdMediaMimeTypes​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="https://developer.android.com/reference/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">String</a>> adMediaMimeTypes)</pre>
|
||||
<div class="block">Sets the MIME types to prioritize for linear ad media. If not specified, MIME types supported
|
||||
by the <a href="../../source/MediaSource.Factory.html" title="interface in com.google.android.exoplayer2.source"><code>adMediaSourceFactory</code></a> used to construct the <a href="../../source/ads/AdsMediaSource.html" title="class in com.google.android.exoplayer2.source.ads"><code>AdsMediaSource</code></a> will be used.</div>
|
||||
<dl>
|
||||
@ -530,7 +537,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setEnableContinuousPlayback</h4>
|
||||
<pre class="methodSignature">public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setEnableContinuousPlayback​(boolean enableContinuousPlayback)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setEnableContinuousPlayback​(boolean enableContinuousPlayback)</pre>
|
||||
<div class="block">Sets whether to enable continuous playback. Pass <code>true</code> if content videos will be
|
||||
played continuously, similar to a TV broadcast. This setting may modify the ads request but
|
||||
does not affect ad playback behavior. The requested value is unknown by default.</div>
|
||||
@ -550,7 +558,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAdPreloadTimeoutMs</h4>
|
||||
<pre class="methodSignature">public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setAdPreloadTimeoutMs​(long adPreloadTimeoutMs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setAdPreloadTimeoutMs​(long adPreloadTimeoutMs)</pre>
|
||||
<div class="block">Sets the duration in milliseconds for which the player must buffer while preloading an ad
|
||||
group before that ad group is skipped and marked as having failed to load. Pass <a href="../../C.html#TIME_UNSET"><code>C.TIME_UNSET</code></a> if there should be no such timeout. The default value is <a href="#DEFAULT_AD_PRELOAD_TIMEOUT_MS">10000L</a> ms.
|
||||
|
||||
@ -570,7 +579,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setVastLoadTimeoutMs</h4>
|
||||
<pre class="methodSignature">public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setVastLoadTimeoutMs​(@IntRange(from=1L)
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setVastLoadTimeoutMs​(@IntRange(from=1L)
|
||||
int vastLoadTimeoutMs)</pre>
|
||||
<div class="block">Sets the VAST load timeout, in milliseconds.</div>
|
||||
<dl>
|
||||
@ -589,7 +599,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMediaLoadTimeoutMs</h4>
|
||||
<pre class="methodSignature">public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setMediaLoadTimeoutMs​(@IntRange(from=1L)
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setMediaLoadTimeoutMs​(@IntRange(from=1L)
|
||||
int mediaLoadTimeoutMs)</pre>
|
||||
<div class="block">Sets the ad media load timeout, in milliseconds.</div>
|
||||
<dl>
|
||||
@ -608,7 +619,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMaxMediaBitrate</h4>
|
||||
<pre class="methodSignature">public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setMaxMediaBitrate​(@IntRange(from=1L)
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setMaxMediaBitrate​(@IntRange(from=1L)
|
||||
int bitrate)</pre>
|
||||
<div class="block">Sets the media maximum recommended bitrate for ads, in bps.</div>
|
||||
<dl>
|
||||
@ -627,7 +639,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setFocusSkipButtonWhenAvailable</h4>
|
||||
<pre class="methodSignature">public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setFocusSkipButtonWhenAvailable​(boolean focusSkipButtonWhenAvailable)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setFocusSkipButtonWhenAvailable​(boolean focusSkipButtonWhenAvailable)</pre>
|
||||
<div class="block">Sets whether to focus the skip button (when available) on Android TV devices. The default
|
||||
setting is <code>true</code>.</div>
|
||||
<dl>
|
||||
@ -647,7 +660,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPlayAdBeforeStartPosition</h4>
|
||||
<pre class="methodSignature">public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setPlayAdBeforeStartPosition​(boolean playAdBeforeStartPosition)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setPlayAdBeforeStartPosition​(boolean playAdBeforeStartPosition)</pre>
|
||||
<div class="block">Sets whether to play an ad before the start position when beginning playback. If <code>
|
||||
true</code>, an ad will be played if there is one at or before the start position. If <code>
|
||||
false</code>, an ad will be played only if there is one exactly at the start position. The default
|
||||
@ -667,7 +681,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDebugModeEnabled</h4>
|
||||
<pre class="methodSignature">public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setDebugModeEnabled​(boolean debugModeEnabled)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaAdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaAdsLoader.Builder</a> setDebugModeEnabled​(boolean debugModeEnabled)</pre>
|
||||
<div class="block">Sets whether to enable outputting verbose logs for the IMA extension and IMA SDK. The default
|
||||
value is <code>false</code>. This setting is intended for debugging only, and should not be
|
||||
enabled in production applications.</div>
|
||||
|
@ -278,7 +278,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setImaSdkSettings</h4>
|
||||
<pre class="methodSignature">public <a href="ImaServerSideAdInsertionMediaSource.AdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionMediaSource.AdsLoader.Builder</a> setImaSdkSettings​(com.google.ads.interactivemedia.v3.api.ImaSdkSettings imaSdkSettings)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaServerSideAdInsertionMediaSource.AdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionMediaSource.AdsLoader.Builder</a> setImaSdkSettings​(com.google.ads.interactivemedia.v3.api.ImaSdkSettings imaSdkSettings)</pre>
|
||||
<div class="block">Sets the IMA SDK settings.
|
||||
|
||||
<p>If this method is not called the default settings will be used.</div>
|
||||
@ -296,7 +297,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAdEventListener</h4>
|
||||
<pre class="methodSignature">public <a href="ImaServerSideAdInsertionMediaSource.AdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionMediaSource.AdsLoader.Builder</a> setAdEventListener​(com.google.ads.interactivemedia.v3.api.AdEvent.AdEventListener adEventListener)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaServerSideAdInsertionMediaSource.AdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionMediaSource.AdsLoader.Builder</a> setAdEventListener​(com.google.ads.interactivemedia.v3.api.AdEvent.AdEventListener adEventListener)</pre>
|
||||
<div class="block">Sets the optional <code>AdEvent.AdEventListener</code> that will be passed to <code>BaseManager.addAdEventListener(AdEventListener)</code>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -312,7 +314,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAdErrorListener</h4>
|
||||
<pre class="methodSignature">public <a href="ImaServerSideAdInsertionMediaSource.AdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionMediaSource.AdsLoader.Builder</a> setAdErrorListener​(com.google.ads.interactivemedia.v3.api.AdErrorEvent.AdErrorListener adErrorListener)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaServerSideAdInsertionMediaSource.AdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionMediaSource.AdsLoader.Builder</a> setAdErrorListener​(com.google.ads.interactivemedia.v3.api.AdErrorEvent.AdErrorListener adErrorListener)</pre>
|
||||
<div class="block">Sets the optional <code>AdErrorEvent.AdErrorListener</code> that will be passed to <code>BaseManager.addAdErrorListener(AdErrorEvent.AdErrorListener)</code>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -328,7 +331,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setCompanionAdSlots</h4>
|
||||
<pre class="methodSignature">public <a href="ImaServerSideAdInsertionMediaSource.AdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionMediaSource.AdsLoader.Builder</a> setCompanionAdSlots​(<a href="https://developer.android.com/reference/java/util/Collection.html" title="class or interface in java.util" class="externalLink" target="_top">Collection</a><com.google.ads.interactivemedia.v3.api.CompanionAdSlot> companionAdSlots)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaServerSideAdInsertionMediaSource.AdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionMediaSource.AdsLoader.Builder</a> setCompanionAdSlots​(<a href="https://developer.android.com/reference/java/util/Collection.html" title="class or interface in java.util" class="externalLink" target="_top">Collection</a><com.google.ads.interactivemedia.v3.api.CompanionAdSlot> companionAdSlots)</pre>
|
||||
<div class="block">Sets the slots to use for companion ads, if they are present in the loaded ad.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -346,7 +350,8 @@ extends <a href="https://developer.android.com/reference/java/lang/Object.html"
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAdsLoaderState</h4>
|
||||
<pre class="methodSignature">public <a href="ImaServerSideAdInsertionMediaSource.AdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionMediaSource.AdsLoader.Builder</a> setAdsLoaderState​(<a href="ImaServerSideAdInsertionMediaSource.AdsLoader.State.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionMediaSource.AdsLoader.State</a> state)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaServerSideAdInsertionMediaSource.AdsLoader.Builder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionMediaSource.AdsLoader.Builder</a> setAdsLoaderState​(<a href="ImaServerSideAdInsertionMediaSource.AdsLoader.State.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionMediaSource.AdsLoader.State</a> state)</pre>
|
||||
<div class="block">Sets the optional state to resume with.
|
||||
|
||||
<p>The state can be received when <a href="ImaServerSideAdInsertionMediaSource.AdsLoader.html#release()"><code>releasing</code></a> the <a href="ImaServerSideAdInsertionMediaSource.AdsLoader.html" title="class in com.google.android.exoplayer2.ext.ima"><code>ImaServerSideAdInsertionMediaSource.AdsLoader</code></a>.</div>
|
||||
|
@ -213,7 +213,7 @@ implements <a href="../../source/MediaSource.Factory.html" title="interface in c
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>int[]</code></td>
|
||||
<td class="colFirst"><code>@com.google.android.exoplayer2.C.ContentType int[]</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSupportedTypes()">getSupportedTypes</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the <a href="../../C.ContentType.html" title="annotation in com.google.android.exoplayer2"><code>content types</code></a> supported by media sources created by this
|
||||
@ -291,7 +291,8 @@ implements <a href="../../source/MediaSource.Factory.html" title="interface in c
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLoadErrorHandlingPolicy</h4>
|
||||
<pre class="methodSignature">public <a href="../../source/MediaSource.Factory.html" title="interface in com.google.android.exoplayer2.source">MediaSource.Factory</a> setLoadErrorHandlingPolicy​(<a href="../../upstream/LoadErrorHandlingPolicy.html" title="interface in com.google.android.exoplayer2.upstream">LoadErrorHandlingPolicy</a> loadErrorHandlingPolicy)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="../../source/MediaSource.Factory.html" title="interface in com.google.android.exoplayer2.source">MediaSource.Factory</a> setLoadErrorHandlingPolicy​(<a href="../../upstream/LoadErrorHandlingPolicy.html" title="interface in com.google.android.exoplayer2.upstream">LoadErrorHandlingPolicy</a> loadErrorHandlingPolicy)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../source/MediaSource.Factory.html#setLoadErrorHandlingPolicy(com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy)">MediaSource.Factory</a></code></span></div>
|
||||
<div class="block">Sets an optional <a href="../../upstream/LoadErrorHandlingPolicy.html" title="interface in com.google.android.exoplayer2.upstream"><code>LoadErrorHandlingPolicy</code></a>.</div>
|
||||
<dl>
|
||||
@ -308,7 +309,8 @@ implements <a href="../../source/MediaSource.Factory.html" title="interface in c
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDrmSessionManagerProvider</h4>
|
||||
<pre class="methodSignature">public <a href="../../source/MediaSource.Factory.html" title="interface in com.google.android.exoplayer2.source">MediaSource.Factory</a> setDrmSessionManagerProvider​(<a href="../../drm/DrmSessionManagerProvider.html" title="interface in com.google.android.exoplayer2.drm">DrmSessionManagerProvider</a> drmSessionManagerProvider)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="../../source/MediaSource.Factory.html" title="interface in com.google.android.exoplayer2.source">MediaSource.Factory</a> setDrmSessionManagerProvider​(<a href="../../drm/DrmSessionManagerProvider.html" title="interface in com.google.android.exoplayer2.drm">DrmSessionManagerProvider</a> drmSessionManagerProvider)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../source/MediaSource.Factory.html#setDrmSessionManagerProvider(com.google.android.exoplayer2.drm.DrmSessionManagerProvider)">MediaSource.Factory</a></code></span></div>
|
||||
<div class="block">Sets the <a href="../../drm/DrmSessionManagerProvider.html" title="interface in com.google.android.exoplayer2.drm"><code>DrmSessionManagerProvider</code></a> used to obtain a <a href="../../drm/DrmSessionManager.html" title="interface in com.google.android.exoplayer2.drm"><code>DrmSessionManager</code></a> for a
|
||||
<a href="../../MediaItem.html" title="class in com.google.android.exoplayer2"><code>MediaItem</code></a>.</div>
|
||||
@ -326,7 +328,8 @@ implements <a href="../../source/MediaSource.Factory.html" title="interface in c
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getSupportedTypes</h4>
|
||||
<pre class="methodSignature">public int[] getSupportedTypes()</pre>
|
||||
<pre class="methodSignature"><a href="../../C.ContentType.html" title="annotation in com.google.android.exoplayer2">@ContentType</a>
|
||||
public @com.google.android.exoplayer2.C.ContentType int[] getSupportedTypes()</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../source/MediaSource.Factory.html#getSupportedTypes()">MediaSource.Factory</a></code></span></div>
|
||||
<div class="block">Returns the <a href="../../C.ContentType.html" title="annotation in com.google.android.exoplayer2"><code>content types</code></a> supported by media sources created by this
|
||||
factory.</div>
|
||||
|
@ -230,7 +230,7 @@ extends <a href="../../source/CompositeMediaSource.html" title="class in com.goo
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onChildSourceInfoRefreshed(java.lang.Void,com.google.android.exoplayer2.source.MediaSource,com.google.android.exoplayer2.Timeline)">onChildSourceInfoRefreshed</a></span>​(<a href="https://developer.android.com/reference/java/lang/Void.html" title="class or interface in java.lang" class="externalLink" target="_top">Void</a> id,
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onChildSourceInfoRefreshed(java.lang.Void,com.google.android.exoplayer2.source.MediaSource,com.google.android.exoplayer2.Timeline)">onChildSourceInfoRefreshed</a></span>​(<a href="https://developer.android.com/reference/java/lang/Void.html" title="class or interface in java.lang" class="externalLink" target="_top">Void</a> childSourceId,
|
||||
<a href="../../source/MediaSource.html" title="interface in com.google.android.exoplayer2.source">MediaSource</a> mediaSource,
|
||||
<a href="../../Timeline.html" title="class in com.google.android.exoplayer2">Timeline</a> newTimeline)</code></th>
|
||||
<td class="colLast">
|
||||
@ -272,7 +272,7 @@ extends <a href="../../source/CompositeMediaSource.html" title="class in com.goo
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class com.google.android.exoplayer2.source.<a href="../../source/BaseMediaSource.html" title="class in com.google.android.exoplayer2.source">BaseMediaSource</a></h3>
|
||||
<code><a href="../../source/BaseMediaSource.html#addDrmEventListener(android.os.Handler,com.google.android.exoplayer2.drm.DrmSessionEventListener)">addDrmEventListener</a>, <a href="../../source/BaseMediaSource.html#addEventListener(android.os.Handler,com.google.android.exoplayer2.source.MediaSourceEventListener)">addEventListener</a>, <a href="../../source/BaseMediaSource.html#createDrmEventDispatcher(int,com.google.android.exoplayer2.source.MediaSource.MediaPeriodId)">createDrmEventDispatcher</a>, <a href="../../source/BaseMediaSource.html#createDrmEventDispatcher(com.google.android.exoplayer2.source.MediaSource.MediaPeriodId)">createDrmEventDispatcher</a>, <a href="../../source/BaseMediaSource.html#createEventDispatcher(int,com.google.android.exoplayer2.source.MediaSource.MediaPeriodId,long)">createEventDispatcher</a>, <a href="../../source/BaseMediaSource.html#createEventDispatcher(com.google.android.exoplayer2.source.MediaSource.MediaPeriodId)">createEventDispatcher</a>, <a href="../../source/BaseMediaSource.html#createEventDispatcher(com.google.android.exoplayer2.source.MediaSource.MediaPeriodId,long)">createEventDispatcher</a>, <a href="../../source/BaseMediaSource.html#disable(com.google.android.exoplayer2.source.MediaSource.MediaSourceCaller)">disable</a>, <a href="../../source/BaseMediaSource.html#enable(com.google.android.exoplayer2.source.MediaSource.MediaSourceCaller)">enable</a>, <a href="../../source/BaseMediaSource.html#getPlayerId()">getPlayerId</a>, <a href="../../source/BaseMediaSource.html#isEnabled()">isEnabled</a>, <a href="../../source/BaseMediaSource.html#prepareSource(com.google.android.exoplayer2.source.MediaSource.MediaSourceCaller,com.google.android.exoplayer2.upstream.TransferListener,com.google.android.exoplayer2.analytics.PlayerId)">prepareSource</a>, <a href="../../source/BaseMediaSource.html#refreshSourceInfo(com.google.android.exoplayer2.Timeline)">refreshSourceInfo</a>, <a href="../../source/BaseMediaSource.html#releaseSource(com.google.android.exoplayer2.source.MediaSource.MediaSourceCaller)">releaseSource</a>, <a href="../../source/BaseMediaSource.html#removeDrmEventListener(com.google.android.exoplayer2.drm.DrmSessionEventListener)">removeDrmEventListener</a>, <a href="../../source/BaseMediaSource.html#removeEventListener(com.google.android.exoplayer2.source.MediaSourceEventListener)">removeEventListener</a></code></li>
|
||||
<code><a href="../../source/BaseMediaSource.html#addDrmEventListener(android.os.Handler,com.google.android.exoplayer2.drm.DrmSessionEventListener)">addDrmEventListener</a>, <a href="../../source/BaseMediaSource.html#addEventListener(android.os.Handler,com.google.android.exoplayer2.source.MediaSourceEventListener)">addEventListener</a>, <a href="../../source/BaseMediaSource.html#createDrmEventDispatcher(int,com.google.android.exoplayer2.source.MediaSource.MediaPeriodId)">createDrmEventDispatcher</a>, <a href="../../source/BaseMediaSource.html#createDrmEventDispatcher(com.google.android.exoplayer2.source.MediaSource.MediaPeriodId)">createDrmEventDispatcher</a>, <a href="../../source/BaseMediaSource.html#createEventDispatcher(int,com.google.android.exoplayer2.source.MediaSource.MediaPeriodId,long)">createEventDispatcher</a>, <a href="../../source/BaseMediaSource.html#createEventDispatcher(com.google.android.exoplayer2.source.MediaSource.MediaPeriodId)">createEventDispatcher</a>, <a href="../../source/BaseMediaSource.html#createEventDispatcher(com.google.android.exoplayer2.source.MediaSource.MediaPeriodId,long)">createEventDispatcher</a>, <a href="../../source/BaseMediaSource.html#disable(com.google.android.exoplayer2.source.MediaSource.MediaSourceCaller)">disable</a>, <a href="../../source/BaseMediaSource.html#enable(com.google.android.exoplayer2.source.MediaSource.MediaSourceCaller)">enable</a>, <a href="../../source/BaseMediaSource.html#getPlayerId()">getPlayerId</a>, <a href="../../source/BaseMediaSource.html#isEnabled()">isEnabled</a>, <a href="../../source/BaseMediaSource.html#prepareSource(com.google.android.exoplayer2.source.MediaSource.MediaSourceCaller,com.google.android.exoplayer2.upstream.TransferListener)">prepareSource</a>, <a href="../../source/BaseMediaSource.html#prepareSource(com.google.android.exoplayer2.source.MediaSource.MediaSourceCaller,com.google.android.exoplayer2.upstream.TransferListener,com.google.android.exoplayer2.analytics.PlayerId)">prepareSource</a>, <a href="../../source/BaseMediaSource.html#refreshSourceInfo(com.google.android.exoplayer2.Timeline)">refreshSourceInfo</a>, <a href="../../source/BaseMediaSource.html#releaseSource(com.google.android.exoplayer2.source.MediaSource.MediaSourceCaller)">releaseSource</a>, <a href="../../source/BaseMediaSource.html#removeDrmEventListener(com.google.android.exoplayer2.drm.DrmSessionEventListener)">removeDrmEventListener</a>, <a href="../../source/BaseMediaSource.html#removeEventListener(com.google.android.exoplayer2.source.MediaSourceEventListener)">removeEventListener</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
||||
@ -286,7 +286,7 @@ extends <a href="../../source/CompositeMediaSource.html" title="class in com.goo
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface com.google.android.exoplayer2.source.<a href="../../source/MediaSource.html" title="interface in com.google.android.exoplayer2.source">MediaSource</a></h3>
|
||||
<code><a href="../../source/MediaSource.html#getInitialTimeline()">getInitialTimeline</a>, <a href="../../source/MediaSource.html#isSingleWindow()">isSingleWindow</a>, <a href="../../source/MediaSource.html#prepareSource(com.google.android.exoplayer2.source.MediaSource.MediaSourceCaller,com.google.android.exoplayer2.upstream.TransferListener)">prepareSource</a></code></li>
|
||||
<code><a href="../../source/MediaSource.html#getInitialTimeline()">getInitialTimeline</a>, <a href="../../source/MediaSource.html#isSingleWindow()">isSingleWindow</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -343,7 +343,7 @@ extends <a href="../../source/CompositeMediaSource.html" title="class in com.goo
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onChildSourceInfoRefreshed</h4>
|
||||
<pre class="methodSignature">protected void onChildSourceInfoRefreshed​(<a href="https://developer.android.com/reference/java/lang/Void.html" title="class or interface in java.lang" class="externalLink" target="_top">Void</a> id,
|
||||
<pre class="methodSignature">protected void onChildSourceInfoRefreshed​(<a href="https://developer.android.com/reference/java/lang/Void.html" title="class or interface in java.lang" class="externalLink" target="_top">Void</a> childSourceId,
|
||||
<a href="../../source/MediaSource.html" title="interface in com.google.android.exoplayer2.source">MediaSource</a> mediaSource,
|
||||
<a href="../../Timeline.html" title="class in com.google.android.exoplayer2">Timeline</a> newTimeline)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../source/CompositeMediaSource.html#onChildSourceInfoRefreshed(T,com.google.android.exoplayer2.source.MediaSource,com.google.android.exoplayer2.Timeline)">CompositeMediaSource</a></code></span></div>
|
||||
@ -352,7 +352,7 @@ extends <a href="../../source/CompositeMediaSource.html" title="class in com.goo
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../source/CompositeMediaSource.html#onChildSourceInfoRefreshed(T,com.google.android.exoplayer2.source.MediaSource,com.google.android.exoplayer2.Timeline)">onChildSourceInfoRefreshed</a></code> in class <code><a href="../../source/CompositeMediaSource.html" title="class in com.google.android.exoplayer2.source">CompositeMediaSource</a><<a href="https://developer.android.com/reference/java/lang/Void.html" title="class or interface in java.lang" class="externalLink" target="_top">Void</a>></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>id</code> - The unique id used to prepare the child source.</dd>
|
||||
<dd><code>childSourceId</code> - The unique id used to prepare the child source.</dd>
|
||||
<dd><code>mediaSource</code> - The child source whose source info has been refreshed.</dd>
|
||||
<dd><code>newTimeline</code> - The timeline of the child source.</dd>
|
||||
</dl>
|
||||
|
@ -382,7 +382,8 @@ public @com.google.android.exoplayer2.C.ContentType int format</pre>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAdsId</h4>
|
||||
<pre class="methodSignature">public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setAdsId​(<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> adsId)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setAdsId​(<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> adsId)</pre>
|
||||
<div class="block">An opaque identifier for associated ad playback state, or <code>null</code> if the <a href="#setAssetKey(java.lang.String)"><code>asset key</code></a> (for live) or <a href="#setVideoId(java.lang.String)"><code>video id</code></a> (for VOD)
|
||||
should be used as the ads identifier.</div>
|
||||
<dl>
|
||||
@ -399,7 +400,8 @@ public @com.google.android.exoplayer2.C.ContentType int format</pre>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAssetKey</h4>
|
||||
<pre class="methodSignature">public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setAssetKey​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setAssetKey​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> assetKey)</pre>
|
||||
<div class="block">The stream request asset key used for live streams.</div>
|
||||
<dl>
|
||||
@ -416,7 +418,8 @@ public @com.google.android.exoplayer2.C.ContentType int format</pre>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAuthToken</h4>
|
||||
<pre class="methodSignature">public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setAuthToken​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setAuthToken​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> authToken)</pre>
|
||||
<div class="block">Sets the stream request authorization token. Used in place of <a href="#setApiKey(java.lang.String)"><code>the API
|
||||
key</code></a> for stricter content authorization. The publisher can control individual content streams
|
||||
@ -435,7 +438,8 @@ public @com.google.android.exoplayer2.C.ContentType int format</pre>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setContentSourceId</h4>
|
||||
<pre class="methodSignature">public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setContentSourceId​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setContentSourceId​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> contentSourceId)</pre>
|
||||
<div class="block">The stream request content source ID used for on-demand streams.</div>
|
||||
<dl>
|
||||
@ -452,7 +456,8 @@ public @com.google.android.exoplayer2.C.ContentType int format</pre>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setVideoId</h4>
|
||||
<pre class="methodSignature">public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setVideoId​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setVideoId​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> videoId)</pre>
|
||||
<div class="block">The stream request video ID used for on-demand streams.</div>
|
||||
<dl>
|
||||
@ -469,7 +474,8 @@ public @com.google.android.exoplayer2.C.ContentType int format</pre>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setFormat</h4>
|
||||
<pre class="methodSignature">public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setFormat​(<a href="../../C.ContentType.html" title="annotation in com.google.android.exoplayer2">@ContentType</a>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setFormat​(<a href="../../C.ContentType.html" title="annotation in com.google.android.exoplayer2">@ContentType</a>
|
||||
@com.google.android.exoplayer2.C.ContentType int format)</pre>
|
||||
<div class="block">Sets the format of the stream request.</div>
|
||||
<dl>
|
||||
@ -486,7 +492,8 @@ public @com.google.android.exoplayer2.C.ContentType int format</pre>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setApiKey</h4>
|
||||
<pre class="methodSignature">public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setApiKey​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setApiKey​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> apiKey)</pre>
|
||||
<div class="block">The stream request API key. This is used for content authentication. The API key is provided to
|
||||
the publisher to unlock their content. It's a security measure used to verify the applications
|
||||
@ -505,7 +512,8 @@ public @com.google.android.exoplayer2.C.ContentType int format</pre>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setStreamActivityMonitorId</h4>
|
||||
<pre class="methodSignature">public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setStreamActivityMonitorId​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setStreamActivityMonitorId​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> streamActivityMonitorId)</pre>
|
||||
<div class="block">Sets the ID to be used to debug the stream with the stream activity monitor. This is used to
|
||||
provide a convenient way to allow publishers to find a stream log in the stream activity
|
||||
@ -524,7 +532,8 @@ public @com.google.android.exoplayer2.C.ContentType int format</pre>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setAdTagParameters</h4>
|
||||
<pre class="methodSignature">public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setAdTagParameters​(<a href="https://developer.android.com/reference/java/util/Map.html" title="class or interface in java.util" class="externalLink">Map</a><<a href="https://developer.android.com/reference/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="https://developer.android.com/reference/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">String</a>> adTagParameters)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setAdTagParameters​(<a href="https://developer.android.com/reference/java/util/Map.html" title="class or interface in java.util" class="externalLink">Map</a><<a href="https://developer.android.com/reference/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="https://developer.android.com/reference/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink" target="_top">String</a>> adTagParameters)</pre>
|
||||
<div class="block">Sets the overridable ad tag parameters on the stream request. <a href="//support.google.com/dfp_premium/answer/7320899">Supply targeting parameters to your
|
||||
stream</a> provides more information.
|
||||
|
||||
@ -544,7 +553,8 @@ public @com.google.android.exoplayer2.C.ContentType int format</pre>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setManifestSuffix</h4>
|
||||
<pre class="methodSignature">public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setManifestSuffix​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setManifestSuffix​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> manifestSuffix)</pre>
|
||||
<div class="block">Sets the optional stream manifest's suffix, which will be appended to the stream manifest's
|
||||
URL. The provided string must be URL-encoded and must not include a leading question mark.</div>
|
||||
@ -562,7 +572,8 @@ public @com.google.android.exoplayer2.C.ContentType int format</pre>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setContentUrl</h4>
|
||||
<pre class="methodSignature">public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setContentUrl​(@Nullable
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setContentUrl​(@Nullable
|
||||
<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a> contentUrl)</pre>
|
||||
<div class="block">Specifies the deep link to the content's screen. If provided, this parameter is passed to the
|
||||
OM SDK. See <a href="//developer.android.com/training/app-links/deep-linking">Android
|
||||
@ -581,7 +592,8 @@ public @com.google.android.exoplayer2.C.ContentType int format</pre>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLoadVideoTimeoutMs</h4>
|
||||
<pre class="methodSignature">public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setLoadVideoTimeoutMs​(int loadVideoTimeoutMs)</pre>
|
||||
<pre class="methodSignature">@CanIgnoreReturnValue
|
||||
public <a href="ImaServerSideAdInsertionUriBuilder.html" title="class in com.google.android.exoplayer2.ext.ima">ImaServerSideAdInsertionUriBuilder</a> setLoadVideoTimeoutMs​(int loadVideoTimeoutMs)</pre>
|
||||
<div class="block">Sets the duration after which resolving the video URI should time out, in milliseconds.
|
||||
|
||||
<p>The default is <a href="#DEFAULT_LOAD_VIDEO_TIMEOUT_MS"><code>DEFAULT_LOAD_VIDEO_TIMEOUT_MS</code></a> milliseconds.</div>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user