Class ShadowMediaCodec.ShadowCodecBuffer

  • Enclosing class:
    ShadowMediaCodec

    @Implements(className="android.media.MediaCodec$BufferMap$CodecBuffer",
                minSdk=21)
    protected static class ShadowMediaCodec.ShadowCodecBuffer
    extends Object
    Shadows CodecBuffer to prevent attempting to free non-direct ByteBuffer objects.
    • Constructor Detail

      • ShadowCodecBuffer

        public ShadowCodecBuffer()
    • Method Detail

      • free

        @Implementation
        protected void free()
        Prevents attempting to free non-direct ByteBuffer objects.