-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathSentrySubsystemAndroid.h
37 lines (34 loc) · 2.39 KB
/
SentrySubsystemAndroid.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright (c) 2022 Sentry. All Rights Reserved.
#pragma once
#include "Interface/SentrySubsystemInterface.h"
class SentrySubsystemAndroid : public ISentrySubsystem
{
public:
virtual void InitWithSettings(const USentrySettings* settings, USentryBeforeSendHandler* beforeSendHandler, USentryTraceSampler* traceSampler) override;
virtual void Close() override;
virtual bool IsEnabled() override;
virtual ESentryCrashedLastRun IsCrashedLastRun() override;
virtual void AddBreadcrumb(USentryBreadcrumb* breadcrumb) override;
virtual void AddBreadcrumbWithParams(const FString& Message, const FString& Category, const FString& Type, const TMap<FString, FString>& Data, ESentryLevel Level) override;
virtual void ClearBreadcrumbs() override;
virtual USentryId* CaptureMessage(const FString& message, ESentryLevel level) override;
virtual USentryId* CaptureMessageWithScope(const FString& message, const FConfigureScopeNativeDelegate& onConfigureScope, ESentryLevel level) override;
virtual USentryId* CaptureEvent(USentryEvent* event) override;
virtual USentryId* CaptureEventWithScope(USentryEvent* event, const FConfigureScopeNativeDelegate& onConfigureScope) override;
virtual USentryId* CaptureException(const FString& type, const FString& message, int32 framesToSkip) override;
virtual USentryId* CaptureAssertion(const FString& type, const FString& message) override;
virtual USentryId* CaptureEnsure(const FString& type, const FString& message) override;
virtual void CaptureUserFeedback(USentryUserFeedback* userFeedback) override;
virtual void SetUser(USentryUser* user) override;
virtual void RemoveUser() override;
virtual void ConfigureScope(const FConfigureScopeNativeDelegate& onConfigureScope) override;
virtual void SetContext(const FString& key, const TMap<FString, FString>& values) override;
virtual void SetTag(const FString& key, const FString& value) override;
virtual void RemoveTag(const FString& key) override;
virtual void SetLevel(ESentryLevel level) override;
virtual void StartSession() override;
virtual void EndSession() override;
virtual USentryTransaction* StartTransaction(const FString& name, const FString& operation) override;
virtual USentryTransaction* StartTransactionWithContext(USentryTransactionContext* context) override;
virtual USentryTransaction* StartTransactionWithContextAndOptions(USentryTransactionContext* context, const TMap<FString, FString>& options) override;
};