Class ShadowMediaCodec.ShadowCodecBuffer

java.lang.Object
org.robolectric.shadows.ShadowMediaCodec.ShadowCodecBuffer
Enclosing class:
ShadowMediaCodec

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

    • ShadowCodecBuffer

      public ShadowCodecBuffer()
  • Method Details

    • __constructor__

      @Implementation protected void __constructor__()
    • free

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