IServiceEvents Class
/private/var/user/Documents/App/Hybrid/JavaScript/Siminov/Service/Design/IServiceEvents.js:58
Parent Module: Service
It exposes APIs to handle service request events
Item Index
Methods
onFinish
()
This is the final method that is called on a Service instance before it�s destroyed and completely removed from memory.
There will be no lifecycle methods called after the Activity has been destroyed.
onRequestFinish
-
connectionResponse
This method is called after Hybrid Service Request is executed.
Parameters:
-
connectionResponse
ObjectIConnectionResponse instance
onRequestInvoke
-
connectionRequest
This method is called before Service calls Hybrid Service Request.
Parameters:
-
connectionRequest
ObjectIConnectionRequest instance
onTerminate
-
serviceException
This method is called when there is any exception while executing the service.
Once this is called the service will be terminated and release from the memory.
Parameters:
-
serviceException
Object