Defined in carb/crashreporter/ICrashReporter.h

using carb::crashreporter::OnGetMetadataUIntegerFn = uint64_t (*)(void *context)

Metadata value callback function prototype.


Because these callbacks may be called during the handling of a crash, the calling thread and other threads may be in an unstable or undefined state when these are called. Implementations of these callbacks should avoid any allocations and locks if in any way avoidable. See ICrashReporter::addVolatileMetadataValue() for more information on how these callbacks should behave.

Param context

[in] The opaque context value that was used when the metadata value was originally registered.


The current value of the metadata at the time of the call.