Event listeners

Example of initializing Brid Player listener:

 bridPlayer.setBridListener(BridPlayerListener { status, playerReference ->
            when(status) {
                PlayerEvents.EVENT_PLAYER_INITIALIZED -> {
									//player initialized
                }
              })
}
    bridPlayer.setListener(new BridPlayer.BridPlayerListener() {
        @Override
        public void onEvent(String status) {
            Log.d("PLAYER EVENT", status);
        }
    });

List of all available events:

//PLAYER EVENTS
EVENT_PLAYER_INITIALIZED = "pinit";
EVENT_PLAYER_LOADED = "pload";
EVENT_VIDEO_PLAY = "play";
EVENT_VIDEO_PAUSE = "pause";
EVENT_VIDEO_SEEK = "vseek";
EVENT_VIDEO_BUFFERING = "buffering";
EVENT_VIDEO_END = "end";
EVENT_PLAYLIST_END = "playlistcomplete";
EVENT_VIDEO_AUTOPLAY = "videoautoplay";
EVENT_FULLSCREEN_OPEN_REQUESTED = "fsreq";
EVENT_FULLSCREEN_CLOSE_REQUESTED = "fsendreq";
 // FROM SDK VER 1.1.7
EVENT_ENTER_PICTURE_IN_PICTURE = "enpip";
EVENT_EXIT_PICTURE_IN_PICTURE = "expip";

//PLAYER-VIDEO ERRORS

EVENT_VIDEO_ERROR = "error";
EVENT_VIDEO_NETWORK_ERROR = "neterror";
EVENT_VIDEO_LOAD_NETWORK_ERROR = "videoload
EVENT_VIDEO_FORMAT_ERROR = "neterror";
EVENT_VIDEO_CMS_ERROR = "cmserror";
EVENT_VIDEO_PROTECTED_ERROR = "pcerror";
EVENT_VIDEO_LIVESTREAM_ERROR = "liveerror";
EVENT_AD_ERROR = "ae";
EVENT_AD_BREAK_FETCH_ERROR = "adbferror";

//AD EVENTS
EVENT_AD_LOADED = "r";
EVENT_AD_REQUEST = "r";
EVENT_AD_IMPRESSION = "i";
EVENT_AD_COMPLETED = "v";
EVENT_AD_RESUMED = "res";
EVENT_AD_SKIPPED = "s";
EVENT_AD_CONTENT_RESUME = "ares";
EVENT_AD_ERROR = "ae";
EVENT_AD_LOADING_VPAID = "lvpaid";
EVENT_AD_FIRST_QUARTILE = "adfirstq";
EVENT_AD_MIDPOINT = "admid";
EVENT_AD_THIRD_QUARTILE = "adthirdq";
EVENT_AD_STARTED = "adstart";
EVENT_AD_PAUSED = "p";
EVENT_AD_TAPPED = "adtap";
EVENT_AD_BREAK_FETCH_ERROR = "adbferror";
EVENT_ALL_ADS_COMPLETED = "adallscomp";
EVENT_AD_BREAK_READY = "adbread";
EVENT_AD_BREAK_STARTED = "adbstart";
EVENT_AD_BREAK_ENDED = "adbend";
EVENT_AD_BUFFERING = "adbuff";
EVENT_AD_PROGRESS = "adprogres";
EVENT_AD_PERIOD_STARTED = "adperstart";
EVENT_AD_PERIOD_ENDED = "adperend";
EVENT_AD_CLICKED = "adc";
EVENT_AD_CONTENT_PAUSE_REQUESTED = "adcpreq";
EVENT_AD_CUEPOINTS_CHANGED = "adcuechange";
EVENT_AD_ICON_FALLBACK_IMAGE_CLOSED = "adicfallimgclos";
EVENT_AD_ICON_TAPPED = "adictap";
EVENT_AD_SKIPPABLE_STATE_CHANGED = "adskipstatchange";