You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
0 B

2 years ago
//
// AppDelegate.h
// watch
//
// Created by xTT on 2017/7/3.
// Copyright © 2017年 xTT. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <UserNotifications/UserNotifications.h>
#define VideoTimerIdentify @"VideoTimerIdentify"
#define PlayVibrationIdentify @"PlayVibrationIdentify"
#import "MyTabBarViewController.h"
2 years ago
@interface AppDelegate : UIResponder <UIApplicationDelegate>
{
UIBackgroundTaskIdentifier taskIdentifier;
}
@property (strong, nonatomic) UIWindow *window;
@property (strong, nonatomic) NSString *deviceTokenStr;
@property (nonatomic ,strong) MyTabBarViewController *tabbarView;
2 years ago
- (void)beingBackgroundUpdateTask;
- (void)endBackgroundUpdateTask;
- (void)initIQKeyBorard;
- (void)closeIQKeyBorard;
//APP 获取到的 VOIP 的 deviceToken
@property (strong, nonatomic) NSData *deviceVoIPTokenData;
//视频通话需要使用 Voip通话
@property (strong, nonatomic) NSString *deviceVoIPTokenStr;
/**
*/
@property (strong, nonatomic) UNMutableNotificationContent * backgroudMsg;
/**
*/
@property (assign, nonatomic) BOOL stopVibration;
/**
*/
@property (assign, nonatomic) int alertNotificationCount;
/**
广
*/
@property (assign, nonatomic) BOOL isNOLoadSplashAD;
2 years ago
/**
*/
@property (assign, nonatomic) BOOL isTouch;
2 years ago
/**
*/
-(void)cleanVideoNotification;
2 years ago
- (void)stajishiqi;
2 years ago
/**
()
@param alertStr
@param dataInfo
*/
-(void)generateLocalNotificationsWithAlertStr:(NSString*)alertStr AndDataInfo:(NSDictionary*)dataInfo;
/**
//MARK: 创建一个平常的本地通知平常的本地通知
*/
-(void)setNormallyAlertStr:(NSString *)alertStr UserInfo:(NSDictionary*)userinfo;
-(void)stopRing;
/// 注册远程通知
- (void)registerForRemoteNotification;
- (void)showRootViewController;
2 years ago
@end