Files
peko-ios/YuMi/Tools/Event/XPFirebbaseEvent.h
2023-08-08 16:48:02 +08:00

37 lines
690 B
Objective-C

//
// XPFirebbaseEvent.h
// xplan-ios
//
// Created by duoban on 2022/11/10.
//
#import <Foundation/Foundation.h>
typedef enum : NSUInteger {
PlatformOfFB = 1,
PlatformOfLine,
PlatformOfGoogle,
PlatformOfID,
PlatFormOfPhone,
} XPPlatformType;
NS_ASSUME_NONNULL_BEGIN
@interface XPFirebbaseEvent : NSObject
///注册事件
+(void)registeringEventWithType:(XPPlatformType)type;
///登录事件
+(void)loginEventWithType:(XPPlatformType)type;
///分享事件事件
+(void)shareEventWithContentID:(NSString *)contentID type:(XPPlatformType)type;
///埋点事件
+(void)event:(NSString *)eventId attributes:(NSDictionary *)attributes;
@end
NS_ASSUME_NONNULL_END