Annotation Type RendererCapabilities.Capabilities
-
@Documented @Retention(SOURCE) @Target(TYPE_USE) public static @interface RendererCapabilities.Capabilities
Combined renderer capabilities.This is a bitwise OR of
C.FormatSupport
,RendererCapabilities.AdaptiveSupport
,RendererCapabilities.TunnelingSupport
,RendererCapabilities.HardwareAccelerationSupport
andRendererCapabilities.DecoderSupport
. UseRendererCapabilities.getFormatSupport(@com.google.android.exoplayer2.RendererCapabilities.Capabilities int)
,RendererCapabilities.getAdaptiveSupport(@com.google.android.exoplayer2.RendererCapabilities.Capabilities int)
,RendererCapabilities.getTunnelingSupport(@com.google.android.exoplayer2.RendererCapabilities.Capabilities int)
,RendererCapabilities.getHardwareAccelerationSupport(@com.google.android.exoplayer2.RendererCapabilities.Capabilities int)
andRendererCapabilities.getDecoderSupport(@com.google.android.exoplayer2.RendererCapabilities.Capabilities int)
to obtain individual components. UseRendererCapabilities.create(int)
,RendererCapabilities.create(int, int, int)
orRendererCapabilities.create(int, int, int, int, int)
to create combined capabilities from individual components.Possible values:
C.FormatSupport
: The level of support for the format itself. One ofC.FORMAT_HANDLED
,C.FORMAT_EXCEEDS_CAPABILITIES
,C.FORMAT_UNSUPPORTED_DRM
,C.FORMAT_UNSUPPORTED_SUBTYPE
andC.FORMAT_UNSUPPORTED_TYPE
.RendererCapabilities.AdaptiveSupport
: The level of support for adapting from the format to another format of the same MIME type. One ofRendererCapabilities.ADAPTIVE_SEAMLESS
,RendererCapabilities.ADAPTIVE_NOT_SEAMLESS
andRendererCapabilities.ADAPTIVE_NOT_SUPPORTED
. Only set if the level of support for the format itself isC.FORMAT_HANDLED
orC.FORMAT_EXCEEDS_CAPABILITIES
.RendererCapabilities.TunnelingSupport
: The level of support for tunneling. One ofRendererCapabilities.TUNNELING_SUPPORTED
andRendererCapabilities.TUNNELING_NOT_SUPPORTED
. Only set if the level of support for the format itself isC.FORMAT_HANDLED
orC.FORMAT_EXCEEDS_CAPABILITIES
.RendererCapabilities.HardwareAccelerationSupport
: The level of support for hardware acceleration. One ofRendererCapabilities.HARDWARE_ACCELERATION_SUPPORTED
andRendererCapabilities.HARDWARE_ACCELERATION_NOT_SUPPORTED
.RendererCapabilities.DecoderSupport
: The level of decoder support. One ofRendererCapabilities.DECODER_SUPPORT_PRIMARY
andRendererCapabilities.DECODER_SUPPORT_FALLBACK
.