Class PlaceholderSurface

  • All Implemented Interfaces:
    Parcelable

    @RequiresApi(17)
    public final class PlaceholderSurface
    extends Surface
    A placeholder 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 placeholder surfaces.
        Parameters:
        context - Any Context.
        Returns:
        Whether the device supports secure placeholder surfaces.
      • release

        public void release()
        Overrides:
        release in class Surface