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.
Rendering status callback
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 successfullyframeNumber
- frame number returned from drawWithExternalFrameData
-