Class DummySurface

  • All Implemented Interfaces:
    Parcelable

    @RequiresApi(17)
    public final class DummySurface
    extends Surface
    A dummy Surface.
    • Field Detail

      • secure

        public final boolean secure
        Whether the surface is secure.
    • Method Detail

      • isSecureSupported

        public static boolean isSecureSupported​(Context context)
        Returns whether the device supports secure dummy surfaces.
        Parameters:
        context - Any Context.
        Returns:
        Whether the device supports secure dummy surfaces.
      • release

        public void release()
        Overrides:
        release in class Surface