class Someclass : event_callbacks =[] self.session.nav.event.append(Someclass.service_event) # callback shoud be static method Someclass.event_callbacks.append(self.update_service_info) @staticmethod def service_event(evt): if (evt == iPlayableService.evStart): print "channel changed....!", evt for func in Someclass.event_callbacks: print func func()
This is how to get notified when some navigation events occur.
Thank you @littlsat for the eventtracker hint.