//// //// KMRecommondInfo.h //// PDF Reader Pro Edition //// //// Created by Niehaoyu on 2023/4/11. //// // //#import // //NS_ASSUME_NONNULL_BEGIN // //typedef enum : NSUInteger { // KMRecommondShowType_None, // KMRecommondShowType_All,//免费版跟付费版都需要显示 // KMRecommondShowType_Pro,//只有付费用户显示 // KMRecommondShowType_Lite,//只有免费用户显示 //} KMRecommondShowType; // //@class KMRecommondInfo; //@interface KMRecommond : NSObject // //- (id)initWithDict:(NSDictionary *)dict; // //@property (nonatomic, strong) NSString *versionKey; // //@property (nonatomic, strong) NSString *name; // //@property (nonatomic, strong, readonly) NSMutableArray *recommondInfoArrM; // //@end // //@interface KMRecommondInfo : NSObject // //+ (NSString *)languageKey; //+ (NSString *)cacheDirs; //+ (BOOL)isDarkMode; // //- (id)initWithDict:(NSDictionary *)dict; // //- (void)updateValue:(NSString *)value forKey:(NSString *)key; // //@property (nonatomic, assign) BOOL show;//是否显示,内部有做了时间区间判断 // //@property (nonatomic, assign) KMRecommondShowType showType; // //@property (nonatomic, strong) NSDate *startDate; // //@property (nonatomic, strong) NSDate *endDate; // //@property (nonatomic, strong) NSString *versionKey;//版本号,唯一标识符 // //@property (nonatomic, assign) BOOL showCloseBtn;//是否显示关闭按钮,(左下角广告需要) // //@property (nonatomic, strong) NSImage *normalImage;//APP互推,常规状态下的图片 // //@property (nonatomic, strong) NSImage *hoverImage;//APP互推悬浮状态下的图片 // //@property (nonatomic, strong) NSImage *iconImage;//广告显示图片(自适应多语) // //@property (nonatomic, strong) NSString *title;//名称(自适应多语) // //@property (nonatomic, strong) NSString *tooltips;//提示语(自适应多语) // //@property (nonatomic, strong) NSString *linkURL;//跳转链接(自适应多语) // ////Firebase //@property (nonatomic, strong) NSString *firebaseEvent;// // //@property (nonatomic, strong) NSString *firebasePropertyKey;// // //@property (nonatomic, strong) NSString *firebasePropertyValue;// // //@end // //NS_ASSUME_NONNULL_END