The rationale for the
Ao_timer type is that you cannot cancel a
e32.ao_sleep. This is problematic if e.g. the user exits
an application which is sleeping. In this case a panic would occur since the
sleep is not cancelled - this is the reason you should avoid using
e32.ao_sleep and instead use the
cancel calls if there is for example a possibility for
the user to exit the application during a sleep.
Ao_timerinstance. A Symbian active object based sleeping service. This can be used in the main thread without blocking the handling of UI events. The application should not exit while a thread has a pending
Ao_timer. Only one
afterinvocation can be pending at time for each instance of this type.
Ao_timer type have the following methods:
afterreturns immediately and the callback gets called after interval.
See About this document... for information on suggesting changes.