62 lines
1.8 KiB
Objective-C
62 lines
1.8 KiB
Objective-C
//
|
||
// AppDelegate.h
|
||
// Ifish
|
||
//
|
||
// Created by imac on 15/9/27.
|
||
// Copyright © 2015年 imac. All rights reserved.
|
||
//
|
||
|
||
#import <UIKit/UIKit.h>
|
||
//#import <RongIMKit/RongIMKit.h>
|
||
#import "Contact.h"//重新调整监控画面
|
||
#define ap_address "192.168.1.1"
|
||
#define NET_WORK_CHANGE @"NET_WORK_CHANGE"
|
||
#import "Reachability.h"
|
||
#import "UIView+Toast.h"
|
||
#import "Constants.h"
|
||
#import <SMS_SDK/SMSSDK.h>
|
||
#define SMSSDK_APPKey @"18c4fdbfbdbbf"
|
||
#define SMSSDK_APPSec @"2cf5da5abdba9dfbde6952f049f01ae6"
|
||
#import <SMS_SDK/Extend/SMSSDK+AddressBookMethods.h>
|
||
|
||
@interface AppDelegate : UIResponder <UIApplicationDelegate>
|
||
|
||
@property (strong, nonatomic) UIWindow *window;
|
||
|
||
@property float autoSizeScaleX;
|
||
|
||
@property float autoSizeScaleY;
|
||
|
||
#pragma mark - 摄像头部分代码
|
||
|
||
@property (nonatomic) NetworkStatus networkStatus;
|
||
|
||
+(CGRect)getScreenSize:(BOOL)isNavigation isHorizontal:(BOOL)isHorizontal;
|
||
|
||
+(AppDelegate*)sharedDefault;
|
||
@property (strong, nonatomic) Contact *contact;//重新调整监控画面
|
||
@property (nonatomic) BOOL isDoorBellAlarm;//在监控界面使用,区分门铃推送,其他推送
|
||
+(NSString*)getAppVersion;
|
||
|
||
@property (strong, nonatomic) NSString *token;
|
||
|
||
@property (strong, nonatomic) NSDictionary* remoteNotification;//如果是点击通知打开的app,则json有数据
|
||
//摄像头处于后台
|
||
@property (nonatomic) BOOL isGoBack;
|
||
//设备处于后台
|
||
//@property (nonatomic) BOOL isDeviceGoBack;
|
||
|
||
@property (nonatomic) int dwApContactID;
|
||
@property (strong, nonatomic) NSString *sWifi;
|
||
@property (strong, nonatomic) NSString *alarmContactId;
|
||
|
||
@property (nonatomic) BOOL isMonitoring;//而且前提应该是只有监控、视频通话或呼叫状态下
|
||
@property (strong, nonatomic) NSString *monitoredContactId;
|
||
|
||
|
||
@property(nonatomic) BOOL canFullScreen;
|
||
@property(nonatomic,assign) BOOL isWechatLogin;
|
||
|
||
@end
|
||
|