2017-07-26 23:10:24 +02:00
|
|
|
//
|
|
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
2017-07-27 15:22:36 +02:00
|
|
|
@interface OWSAnalyticsEvents : NSObject
|
|
|
|
|
|
|
|
- (instancetype)init NS_UNAVAILABLE;
|
|
|
|
|
2017-07-27 18:48:46 +02:00
|
|
|
// The code between these markers is code-generated by:
|
|
|
|
// SignalServiceKit/Utilities/extract_analytics_event_names.py
|
2017-07-27 15:56:54 +02:00
|
|
|
#pragma mark - Code Generation Marker
|
|
|
|
|
|
|
|
+ (NSString *)accountsErrorRegisterPushTokensFailed;
|
|
|
|
|
|
|
|
+ (NSString *)accountsErrorUnregisterAccountRequestFailed;
|
|
|
|
|
|
|
|
+ (NSString *)accountsErrorVerificationCodeRequestFailed;
|
|
|
|
|
|
|
|
+ (NSString *)accountsErrorVerifyAccountRequestFailed;
|
|
|
|
|
|
|
|
+ (NSString *)appDelegateErrorFailedToRegisterForRemoteNotifications;
|
|
|
|
|
|
|
|
+ (NSString *)appLaunch;
|
|
|
|
|
2017-07-27 18:45:29 +02:00
|
|
|
+ (NSString *)appLaunchComplete;
|
|
|
|
|
|
|
|
+ (NSString *)callServiceCallAlreadySet;
|
|
|
|
|
|
|
|
+ (NSString *)callServiceCallIdMismatch;
|
|
|
|
|
|
|
|
+ (NSString *)callServiceCallMismatch;
|
|
|
|
|
|
|
|
+ (NSString *)callServiceCallMissing;
|
|
|
|
|
|
|
|
+ (NSString *)callServiceCallUnexpectedlyIdle;
|
|
|
|
|
2017-08-03 16:29:40 +02:00
|
|
|
+ (NSString *)callServiceCallViewCouldNotPresent;
|
|
|
|
|
2017-07-27 18:45:29 +02:00
|
|
|
+ (NSString *)callServiceCouldNotCreatePeerConnectionClientPromise;
|
|
|
|
|
|
|
|
+ (NSString *)callServiceCouldNotCreateReadyToSendIceUpdatesPromise;
|
|
|
|
|
2017-07-27 19:57:29 +02:00
|
|
|
+ (NSString *)callServiceErrorHandleLocalAddedIceCandidate;
|
|
|
|
|
|
|
|
+ (NSString *)callServiceErrorHandleLocalHungupCall;
|
|
|
|
|
|
|
|
+ (NSString *)callServiceErrorHandleReceivedErrorExternal;
|
|
|
|
|
|
|
|
+ (NSString *)callServiceErrorHandleReceivedErrorInternal;
|
|
|
|
|
|
|
|
+ (NSString *)callServiceErrorHandleRemoteAddedIceCandidate;
|
|
|
|
|
|
|
|
+ (NSString *)callServiceErrorIncomingConnectionFailedExternal;
|
|
|
|
|
|
|
|
+ (NSString *)callServiceErrorIncomingConnectionFailedInternal;
|
|
|
|
|
|
|
|
+ (NSString *)callServiceErrorOutgoingConnectionFailedExternal;
|
|
|
|
|
|
|
|
+ (NSString *)callServiceErrorOutgoingConnectionFailedInternal;
|
|
|
|
|
|
|
|
+ (NSString *)callServiceErrorTimeoutWhileConnectingIncoming;
|
|
|
|
|
|
|
|
+ (NSString *)callServiceErrorTimeoutWhileConnectingOutgoing;
|
|
|
|
|
2017-07-27 18:45:29 +02:00
|
|
|
+ (NSString *)callServiceMissingFulfillReadyToSendIceUpdatesPromise;
|
|
|
|
|
|
|
|
+ (NSString *)callServicePeerConnectionAlreadySet;
|
|
|
|
|
|
|
|
+ (NSString *)callServicePeerConnectionMissing;
|
|
|
|
|
2017-07-27 15:56:54 +02:00
|
|
|
+ (NSString *)contactsErrorContactsIntersectionFailed;
|
|
|
|
|
|
|
|
+ (NSString *)errorAttachmentRequestFailed;
|
|
|
|
|
2017-08-03 16:41:16 +02:00
|
|
|
+ (NSString *)errorCouldNotPresentViewDueToCall;
|
|
|
|
|
2017-07-27 15:56:54 +02:00
|
|
|
+ (NSString *)errorEnableVideoCallingRequestFailed;
|
|
|
|
|
|
|
|
+ (NSString *)errorGetDevicesFailed;
|
|
|
|
|
|
|
|
+ (NSString *)errorPrekeysAvailablePrekeysRequestFailed;
|
|
|
|
|
|
|
|
+ (NSString *)errorPrekeysCurrentSignedPrekeyRequestFailed;
|
|
|
|
|
|
|
|
+ (NSString *)errorPrekeysUpdateFailedJustSigned;
|
|
|
|
|
|
|
|
+ (NSString *)errorPrekeysUpdateFailedSignedAndOnetime;
|
|
|
|
|
|
|
|
+ (NSString *)errorProvisioningCodeRequestFailed;
|
|
|
|
|
|
|
|
+ (NSString *)errorProvisioningRequestFailed;
|
|
|
|
|
|
|
|
+ (NSString *)errorUnlinkDeviceFailed;
|
|
|
|
|
|
|
|
+ (NSString *)errorUpdateAttributesRequestFailed;
|
|
|
|
|
|
|
|
+ (NSString *)messageManagerErrorCouldNotHandlePrekeyBundle;
|
|
|
|
|
|
|
|
+ (NSString *)messageManagerErrorCouldNotHandleSecureMessage;
|
|
|
|
|
|
|
|
+ (NSString *)messageManagerErrorEnvelopeTypeKeyExchange;
|
|
|
|
|
|
|
|
+ (NSString *)messageManagerErrorEnvelopeTypeOther;
|
|
|
|
|
|
|
|
+ (NSString *)messageManagerErrorEnvelopeTypeUnknown;
|
|
|
|
|
|
|
|
+ (NSString *)messageManagerErrorInvalidProtocolMessage;
|
|
|
|
|
|
|
|
+ (NSString *)messageManagerErrorMessageEnvelopeHasNoContent;
|
|
|
|
|
2017-07-27 18:45:29 +02:00
|
|
|
+ (NSString *)messageManagerErrorOversizeMessage;
|
|
|
|
|
2017-07-27 15:56:54 +02:00
|
|
|
+ (NSString *)messageManagerErrorPrekeyBundleEnvelopeHasNoContent;
|
|
|
|
|
2017-07-27 18:29:05 +02:00
|
|
|
+ (NSString *)messageReceiverErrorLargeMessage;
|
|
|
|
|
|
|
|
+ (NSString *)messageReceiverErrorOversizeMessage;
|
|
|
|
|
2017-07-27 15:56:54 +02:00
|
|
|
+ (NSString *)messageSendErrorCouldNotSerializeMessageJson;
|
|
|
|
|
|
|
|
+ (NSString *)messageSendErrorFailedDueToPrekeyUpdateFailures;
|
|
|
|
|
|
|
|
+ (NSString *)messageSendErrorFailedDueToUntrustedKey;
|
|
|
|
|
|
|
|
+ (NSString *)messageSenderErrorCouldNotFindContacts1;
|
|
|
|
|
|
|
|
+ (NSString *)messageSenderErrorCouldNotFindContacts2;
|
|
|
|
|
|
|
|
+ (NSString *)messageSenderErrorCouldNotFindContacts3;
|
|
|
|
|
|
|
|
+ (NSString *)messageSenderErrorCouldNotLoadAttachment;
|
|
|
|
|
|
|
|
+ (NSString *)messageSenderErrorCouldNotParseMismatchedDevicesJson;
|
|
|
|
|
|
|
|
+ (NSString *)messageSenderErrorCouldNotWriteAttachment;
|
|
|
|
|
|
|
|
+ (NSString *)messageSenderErrorGenericSendFailure;
|
|
|
|
|
|
|
|
+ (NSString *)messageSenderErrorInvalidIdentityKeyLength;
|
|
|
|
|
|
|
|
+ (NSString *)messageSenderErrorInvalidIdentityKeyType;
|
|
|
|
|
|
|
|
+ (NSString *)messageSenderErrorNoMissingOrExtraDevices;
|
|
|
|
|
|
|
|
+ (NSString *)messageSenderErrorRecipientPrekeyRequestFailed;
|
|
|
|
|
|
|
|
+ (NSString *)messageSenderErrorSendOperationDidNotComplete;
|
|
|
|
|
|
|
|
+ (NSString *)messageSenderErrorUnexpectedKeyBundle;
|
|
|
|
|
2017-07-27 18:45:29 +02:00
|
|
|
+ (NSString *)peerConnectionClientErrorSendDataChannelMessageFailed;
|
|
|
|
|
2017-07-27 18:29:05 +02:00
|
|
|
+ (NSString *)prekeysDeletedOldAcceptedSignedPrekey;
|
|
|
|
|
2017-07-27 18:45:29 +02:00
|
|
|
+ (NSString *)prekeysDeletedOldSignedPrekey;
|
|
|
|
|
2017-07-27 18:29:05 +02:00
|
|
|
+ (NSString *)prekeysDeletedOldUnacceptedSignedPrekey;
|
|
|
|
|
|
|
|
+ (NSString *)registrationBegan;
|
|
|
|
|
|
|
|
+ (NSString *)registrationRegisteredPhoneNumber;
|
|
|
|
|
|
|
|
+ (NSString *)registrationRegisteringCode;
|
|
|
|
|
|
|
|
+ (NSString *)registrationRegisteringRequestedNewCodeBySms;
|
|
|
|
|
|
|
|
+ (NSString *)registrationRegisteringRequestedNewCodeByVoice;
|
|
|
|
|
|
|
|
+ (NSString *)registrationRegisteringSubmittedCode;
|
|
|
|
|
|
|
|
+ (NSString *)registrationRegistrationFailed;
|
|
|
|
|
|
|
|
+ (NSString *)registrationVerificationBack;
|
2017-07-27 15:56:54 +02:00
|
|
|
|
|
|
|
+ (NSString *)storageErrorCouldNotDecodeClass;
|
|
|
|
|
|
|
|
+ (NSString *)storageErrorCouldNotLoadDatabase;
|
|
|
|
|
|
|
|
+ (NSString *)storageErrorCouldNotLoadDatabaseSecondAttempt;
|
|
|
|
|
|
|
|
+ (NSString *)storageErrorCouldNotStoreDatabasePassword;
|
|
|
|
|
|
|
|
+ (NSString *)storageErrorDeserialization;
|
|
|
|
|
|
|
|
+ (NSString *)storageErrorFileProtection;
|
|
|
|
|
|
|
|
#pragma mark - Code Generation Marker
|
2017-07-27 15:22:36 +02:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
2017-07-26 23:10:24 +02:00
|
|
|
NS_ASSUME_NONNULL_END
|