| | |
| | | using Shared.Common; |
| | | using Shared.IOS.TBL; |
| | | using UIKit; |
| | | |
| | | namespace Home.IOS |
| | | { |
| | | [Register("AppDelegate")] |
| | |
| | | |
| | | public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) |
| | | { |
| | | //Shared.IOS.HDLFVSDK.Video.FVapplication(application, launchOptions); |
| | | Shared.IOS.HDLFVSDK.Video.ShowVideo(); |
| | | //全视通调用FinishedLaunch |
| | | Shared.IOS.HDLFVSDK.Video.FVapplication(application,new NSDictionary()); |
| | | |
| | | |
| | | Shared.Application.IsGpsEnable = false; |
| | | Shared.Application.IsMusicEnable = false; |
| | | base.FinishedLaunching(application, launchOptions); |
| | |
| | | haveToSignOut = false; |
| | | if (launchOptions != null) |
| | | { |
| | | |
| | | // check for a remote notification |
| | | if (launchOptions.ContainsKey(UIApplication.LaunchOptionsRemoteNotificationKey)) |
| | | { |
| | |
| | | // or when the user quits the application and it begins the transition to the background state. |
| | | // Games should use this method to pause the game. |
| | | base.OnResignActivation(application); |
| | | Shared.IOS.HDLFVSDK.Video.FVapplicationWillResignActive(application); |
| | | } |
| | | |
| | | public override void DidEnterBackground(UIApplication application) |
| | |
| | | //Shared.BusSocket.Stop ();On在这里停止BusSocket |
| | | ZigBee.Common.Application.FindGateWaySocket.Stop(); |
| | | base.DidEnterBackground(application); |
| | | Shared.IOS.HDLFVSDK.Video.FVapplicationDidEnterBackground(application); |
| | | } |
| | | |
| | | public override void WillEnterForeground(UIApplication application) |
| | |
| | | base.WillEnterForeground(application); |
| | | } |
| | | |
| | | |
| | | public override void OnActivated(UIApplication application) |
| | | { |
| | | //全视通调用BecomeActive |
| | | Shared.IOS.HDLFVSDK.Video.FVapplicationDidBecomeActive(application); |
| | | // Restart any tasks that were paused (or not yet started) while the application was inactive. |
| | | // If the application was previously in the background, optionally refresh the user interface. |
| | | base.OnActivated(application); |