mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-04 06:58:20 +02:00
Add specific methods to track analytics and test generated event types.
This commit is contained in:
@@ -19,14 +19,12 @@
|
||||
/**
|
||||
Failure reasons as defined in https://docs.google.com/document/d/1es7cTCeJEXXfRCTRgZerAM2Wg5ZerHjvlpfTW-gsOfI.
|
||||
*/
|
||||
struct DecryptionFailureReasonStruct
|
||||
{
|
||||
__unsafe_unretained NSString * const unspecified;
|
||||
__unsafe_unretained NSString * const olmKeysNotSent;
|
||||
__unsafe_unretained NSString * const olmIndexError;
|
||||
__unsafe_unretained NSString * const unexpected;
|
||||
typedef NS_ENUM(NSInteger, DecryptionFailureReason) {
|
||||
DecryptionFailureReasonUnspecified,
|
||||
DecryptionFailureReasonOlmKeysNotSent,
|
||||
DecryptionFailureReasonOlmIndexError,
|
||||
DecryptionFailureReasonUnexpected
|
||||
};
|
||||
extern const struct DecryptionFailureReasonStruct DecryptionFailureReason;
|
||||
|
||||
/**
|
||||
`DecryptionFailure` represents a decryption failure.
|
||||
@@ -46,6 +44,6 @@ extern const struct DecryptionFailureReasonStruct DecryptionFailureReason;
|
||||
/**
|
||||
Decryption failure reason.
|
||||
*/
|
||||
@property (nonatomic) NSString *reason;
|
||||
@property (nonatomic) DecryptionFailureReason reason;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user