AdaptySDK 4.1.1
Loading...
Searching...
No Matches
AdaptySDK.AdaptyCallbacks Class Reference

The one policy for calling back into the app, and the only implementation of it. More...

Static Package Functions

static void InvokeSafe (Action invocation, string failureContext)

Detailed Description

The one policy for calling back into the app, and the only implementation of it.

Safe does not mean swallowed. The app's own exception is rethrown with the context of the call that raised it and the original as Exception.InnerException, which is what a caller sees on a request and what Adapty.OnMessage logs on an event - that boundary is a reverse P/Invoke with no handler behind it, and it keeps its own guard. Requests reach this through AdaptyRequest, which supplies the wording; events name themselves at the call site, since the listener method is not the enclosing one.

Member Function Documentation

◆ InvokeSafe()

void AdaptySDK.AdaptyCallbacks.InvokeSafe ( Action invocation,
string failureContext )
staticpackage

The documentation for this class was generated from the following file: