Mobile API Reference  MicroStrategy 2019
ApplicationLauncherController.h
Go to the documentation of this file.
1 //
2 // ApplicationLauncherController.h
3 // MSTRMobile
4 //
5 // Created by Amirali Charania on 4/9/10.
6 // Copyright 2010 MicroStrategy. All rights reserved.
7 //
8 
9 #import <UIKit/UIKit.h>
10 #import "Service.h"
11 
12 #define HOME_SCREEN_IMAGES_ID @"HOME_SCREEN_IMAGES"
13 
14 @class DisplayObject, HelpController, MSIProjectInfo, MSIDevicePreferences;
15 
20 @interface ApplicationLauncherController : UIViewController <ServiceHandler> {
21 @private
22  NSURL* url;
23  NSDictionary* notificationInfoDictionary;
24  NSMutableData *xmlData;
25  BOOL immediatelyLoad;
27  NSString* xmlURL;
28  NSInteger authMode;
29  NSInteger deviceType;
30  BOOL isLoginPromptAlive;
31  id<Service> service;
32  BOOL isNewLauncher;
33  bool mIsStartupFromURL;
34  BOOL isCertificatePromptAlive;
35  NSString *login;
36  NSString *password;
37  NSString *certificateServerURL;
38  UIImageView *splashImageView;
39  UIViewController *startupViewController;
40  BOOL isLoginPromptDisplayed;
41  BOOL applicationLauncherInitialized;
42  UIViewController *launchScreenViewController;
43  BOOL launchWithDemoConfigurationURL;
44  BOOL displayErrorAlertWhenDisappeared;
45  NSString *errorAlertTitle;
46  NSString *errorAlertMessage;
47  BOOL isOfflineModeDisabled;
48 }
49 
55 - (id)initWithURL:(NSURL*)_url;
56 
62 - (id)initWithDemoConfigurationURL:(NSURL*)_url;
63 
69 - (id)initWithNotificationInfoDictionary:(NSDictionary*)notificationInfoDictionary;
70 
75 - (void)launchWithViewController:(UIViewController *)viewController;
76 
81 - (BOOL)isIntroAnimEnabled;
82 
88 + (UIViewController*)createViewControllerForHomeScreenDisplayObject:(DisplayObject*)displayObject;
89 
95 + (UIViewController*)createViewControllerForSubscriptionID:(NSString*)subscriptionID;
96 
101 + (HelpController*)newHelpController;
102 
106 - (void)loadWithPreferencesData:(NSData*)preferencesData;
107 
111 - (NSURL*)url;
112 
113 @property (nonatomic) BOOL postponedLoad;
114 
115 @end
signed char BOOL
Definition: PDCwtypes.h:101
Definition: ApplicationLauncherController.h:20
Definition: MSIDevicePreferences.h:99
Definition: MSIProjectInfo.h:17
BOOL postponedLoad
Definition: ApplicationLauncherController.h:26