Set Pre-Invocation Handler
API reference for Luciq's pre-invocation handler. Register a callback that fires before the Luciq UI is shown, allowing you to set additional context.
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);Last updated