private IXposedScopeCallback asInterface() {
            return scopeCallbacks.computeIfAbsent(this, (listener) -> new IXposedScopeCallback.Stub() {
                @Override
                public void onScopeRequestPrompted(String packageName) {
                    listener.onScopeRequestPrompted(packageName);
                }

                @Override
                public void onScopeRequestApproved(String packageName) {
                    listener.onScopeRequestApproved(packageName);
                }

                @Override
                public void onScopeRequestDenied(String packageName) {
                    listener.onScopeRequestDenied(packageName);
                }

                @Override
                public void onScopeRequestTimeout(String packageName) {
                    listener.onScopeRequestTimeout(packageName);
                }

                @Override
                public void onScopeRequestFailed(String packageName, String message) {
                    listener.onScopeRequestFailed(packageName, message);
                }
            });
        }
Callback when the request is failed.

@param packageName Package name of requested app
@param message     Error message
android/third_party/libxposed/service/src/main/java/io/github/libxposed/service/XposedService.java