Package com.banuba.sdk.player
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onFrameRendered(boolean successfully, long frameNumber)
Reports rendering status.
-
-
-
Method Detail
-
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 successfullyframeNumber
- frame number returned from drawWithExternalFrameData
-
-