Added in API level 1

BadSurfaceTypeException

open class BadSurfaceTypeException : RuntimeException
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ java.lang.RuntimeException
   ↳ android.view.SurfaceHolder.BadSurfaceTypeException

Exception that is thrown from #lockCanvas when called on a Surface whose type is SURFACE_TYPE_PUSH_BUFFERS.

Summary

Public constructors

Public constructors

BadSurfaceTypeException

Added in API level 1
BadSurfaceTypeException()

BadSurfaceTypeException

Added in API level 1
BadSurfaceTypeException(name: String!)