Converting bubble event to event handling callback for migration from media to mediainterface