OfflinePushExtInfo.h 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // OfflinePushExtInfo.h
  3. // TUICore
  4. //
  5. // Created by cologne on 2024/3/19.
  6. // Copyright © 2024 Tencent. All rights reserved.
  7. #import <Foundation/Foundation.h>
  8. #import "OfflinePushExtBusinessInfo.h"
  9. #import "OfflinePushExtConfigInfo.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface OfflinePushExtInfo : NSObject
  12. // Common feature function class instance
  13. @property (nonatomic, strong) OfflinePushExtBusinessInfo *entity;
  14. // Entrance to features and functions supported by the TIMPush plug-in
  15. @property (nonatomic, strong) OfflinePushExtConfigInfo *timPushFeatures;
  16. /**
  17. * If you need to customize the parsing of the received remote push, you need to implement the `- onRemoteNotificationReceived` method in the AppDelegate.m file;
  18. * You can convert ext to the OfflinePushExtInfo model according to the passed parameters for customized operations.
  19. */
  20. + (OfflinePushExtInfo *)createWithExtString:(NSString *)ext;
  21. /**
  22. * If you need to customize the parsing of the received remote push, you need to implement the `- onRemoteNotificationReceived` method in the AppDelegate.m file;
  23. * You can convert ext to the OfflinePushExtInfo model according to the passed parameters for customized operations.
  24. */
  25. - (NSString *)toReportExtString;
  26. @end
  27. NS_ASSUME_NONNULL_END