Callback for the current application. It is optional (but recommended) to set a callback, so that the application can respond to changes of connection status, registration status and application settings.
public IApplicationCallback ApplicationCallback { get; set; }
application.ApplicationCallback = new MyApplicationCallback();