private static void nativeSetValueIfNotNull(SentryValueU obj, string key, string?value) { if (value is not null) { sentry_value_set_by_key(obj, key, sentry_value_new_string(value)); } }
private static extern void sentry_set_extra(string key, SentryValueU value);
private static extern void sentry_set_user(SentryValueU user);
private static extern void sentry_add_breadcrumb(SentryValueU breadcrumb);
private static extern int sentry_value_set_by_key(SentryValueU value, string k, SentryValueU v);