onPlayerEvent
Player event callback.
virtual void onPlayerEvent(media::base::MEDIA_PLAYER_EVENT eventCode, int64_t elapsedTime, const char* message) = 0;
After calling the seek method, the SDK triggers this callback to report the result of the seek operation.
Parameters
- eventCode
- Player event. See MEDIA_PLAYER_EVENT.
- elapsedTime
- The time when the event occurred, in milliseconds.
- message
- Information related to the event.