| | |
| | | * |
| | | */ |
| | | |
| | | /** |
| | | This header is private to the Twitter Core SDK and not exposed for public SDK consumption |
| | | */ |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | #import "TFSScribe.h" |
| | | #import "TWTRScribeClientEventNamespace.h" |
| | |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeEventImpressionClient; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeEventImpressionPage; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeEventImpressionSectionTweet; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeEventImpressionSectionQuoteTweet; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeEventImpressionSectionVideo; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeEventImpressionSectionGallery; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeEventImpressionSectionAuth; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeEventImpressionClient; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeEventImpressionPage; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeEventImpressionSectionTweet; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeEventImpressionSectionQuoteTweet; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeEventImpressionSectionVideo; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeEventImpressionSectionGallery; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeEventImpressionSectionAuth; |
| | | |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeEventImpressionComponent; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeEmptyKey; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeEventImpressionTypeLoad; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeEventImpressionTypeImpression; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeEventImpressionTypeShare; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeEventImpressionAction; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeEventActionClick; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeEventActionFilter; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeEventImpressionComponent; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeEmptyKey; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeEventImpressionTypeLoad; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeEventImpressionTypeImpression; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeEventImpressionTypeShare; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeEventImpressionAction; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeEventActionClick; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeEventActionFilter; |
| | | |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeEventUniquesClient; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeEventUniquesPageTweetViews; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeEventUniquesPageLogin; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeEventUniquesAction; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeEventUniquesClient; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeEventUniquesPageTweetViews; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeEventUniquesPageLogin; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeEventUniquesAction; |
| | | |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeActionLike; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeActionUnlike; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeActionStart; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeActionSuccess; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeActionCancelled; |
| | | FOUNDATION_EXTERN NSString *const TWTRScribeActionFailure; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeActionLike; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeActionUnlike; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeActionStart; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeActionSuccess; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeActionCancelled; |
| | | FOUNDATION_EXPORT NSString *const TWTRScribeActionFailure; |
| | | |
| | | /** |
| | | * Possible values for which category to scribe events to. |
| | |
| | | @property (nonatomic, copy, readonly) TWTRScribeClientEventNamespace *eventNamespace; |
| | | @property (nonatomic, copy, readonly) NSArray<TWTRScribeItem *> *items; |
| | | |
| | | - (instancetype)init NS_UNAVAILABLE; |
| | | - (instancetype)init __unavailable; |
| | | - (instancetype)initWithUserID:(nullable NSString *)userID tweetID:(nullable NSString *)tweetID category:(TWTRScribeEventCategory)category eventNamespace:(TWTRScribeClientEventNamespace *)eventNamespace items:(nullable NSArray<TWTRScribeItem *> *)items; |
| | | |
| | | - (instancetype)initWithUserID:(nullable NSString *)userID eventInfo:(nullable NSString *)eventInfo category:(TWTRScribeEventCategory)category eventNamespace:(TWTRScribeClientEventNamespace *)eventNamespace items:(nullable NSArray<TWTRScribeItem *> *)items; |