Package 

Class SurfaceHandlerBinding

    • Constructor Detail

      • SurfaceHandlerBinding

        SurfaceHandlerBinding(String moduleName)
    • Method Detail

      • getSurfaceId

         int getSurfaceId()

        Provides current surface id. Id should be updated after each call to

      • setSurfaceId

         void setSurfaceId(int surfaceId)

        Updates current surface id. Id should be updated after each call to stop

      • start

         void start()

        Starts the surface if the surface is not running

      • stop

         void stop()

        Stops the surface if it is currently running

      • setLayoutConstraints

         void setLayoutConstraints(int widthMeasureSpec, int heightMeasureSpec, int offsetX, int offsetY, boolean doLeftAndRightSwapInRTL, boolean isRTL, float pixelDensity)