Class VideoLayer

    • Constructor Summary

      Constructors 
      Constructor Description
      VideoLayer()  
    • Constructor Detail

      • VideoLayer

        public VideoLayer()
    • Method Detail

      • destroy

        public void destroy()
        Call this method when finished with the object; which will release the underlying C++ object.
        Specified by:
        destroy in interface Destroyable
        Overrides:
        destroy in class NativeObject
      • setListener

        public void setListener​(VideoLayerListener listener)
        Registers a listener for changes to video frame properties.
        Parameters:
        listener - The listener to register, or null to unregister the listener.
      • setBounds

        public void setBounds​(int x,
                              int y,
                              int width,
                              int height)
        Specified by:
        setBounds in interface Positionable
      • onSurfaceChanged

        public void onSurfaceChanged​(int width,
                                     int height)
        Specified by:
        onSurfaceChanged in interface Renderable
      • onDrawFrame

        public void onDrawFrame​(double time)
        Specified by:
        onDrawFrame in interface Renderable