Class DummySurface

    • 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