HomeDocumentationAPI Reference
Getting StartedAPI ReferenceDashboardHelp Center
API Reference

Set Pre-Invocation Handler

Use this handler to run any code prior to Luciq being invoked.

This block is executed on the UI thread and could be used for performing any UI changes before the SDK's UI is shown.

BugReporting.willInvokeHandler = {
    someObject.setSomeState()
}
LCQBugReporting.willInvokeHandler = ^{
    [someObject setSomeState];
};
BugReporting.setOnInvokeCallback(new OnInvokeCallback() {
            @Override
            public void onInvoke() {
               //do something
            }
});
BugReporting.setOnInvokeCallback {
                     //do something
        }
BugReporting.onInvokeHandler(function () {
    // Perform any UI changes before the SDK's UI is shown.
});
BugReporting.setOnInvokeCallback(Function function);