HuanXinHelper.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // HuanXinHelper.h
  3. // jitao
  4. //
  5. // Created by 罗云飞 on 2017/12/22.
  6. // Copyright © 2017年 罗云飞. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <UserNotifications/UserNotifications.h>
  10. #import <HyphenateLite/HyphenateLite.h>
  11. #import "EaseSDKHelper.h"
  12. #import "EaseMessageViewController.h"
  13. #import "EaseUsersListViewController.h"
  14. #import <HyphenateLite/HyphenateLite.h>
  15. #import <HyphenateLite/EMContactManagerDelegate.h>
  16. @interface HuanXinHelper : NSObject<UNUserNotificationCenterDelegate,EMContactManagerDelegate>
  17. + (instancetype)sharedInstance;
  18. // 在应用启动的时候调用
  19. - (void)setHuanXinSDK:(UIApplication *)application options:(NSDictionary *)launchOptions;
  20. // 应用程序进入后台
  21. - (void)applicationDidEnterBackground:(UIApplication *)application;
  22. // 应用程序进入前台
  23. - (void)applicationWillEnterForeground:(UIApplication *)application;
  24. // 登录
  25. - (void)LoginHuanXin:(NSString *)Username password:(NSString *)password;
  26. // 退出登录
  27. - (void)exitlogon;
  28. @end