Interface Player.IRenderStatusCallback

Enclosing class:
Player
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Player.IRenderStatusCallback
Rendering status callback
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onFrameRendered(boolean successfully, long frameNumber)
    Reports rendering status.
  • Method Details

    • onFrameRendered

      void onFrameRendered(boolean successfully, long frameNumber)
      Reports rendering status. The method is called whenever rendering has been called, manually or automatically.
      Parameters:
      successfully - true in the case when the rendering call completed successfully
      frameNumber - frame number returned from drawWithExternalFrameData