//
//  OffcnIMPushManager.h
//  OffcnIMSDKiOS
//
//  Created by vockey on 2020/9/1.
//  Copyright © 2020 offcn. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "OffcnIMModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface OffcnIMPushManager : NSObject

//注册系统推送
+(void)registerOffcnUserNotification;

//注销系统推送
+(void)unregisterForOffcnUserRemoteNotifications;

//解析deviceToken
+(NSString *)hexStringForData:(NSData *)data;

//收到远端推送
+(void)didReceiveRemoteNotification:(NSDictionary *)userInfo Finished:(void(^)(OffcnIMPushModel *IMPushModel))finished;

//收到本地推送
+(void)didReceiveLocalNotification:(NSDictionary *)userInfo Finished:(void(^)(OffcnIMModel *IMLocalPushModel))finished;
@end

NS_ASSUME_NONNULL_END



