Mobile API Reference  MicroStrategy 2019
ApplicationLauncherController Class Reference

#import <ApplicationLauncherController.h>

Inheritance diagram for ApplicationLauncherController:

Instance Methods

(id) - initWithURL:
 
(id) - initWithDemoConfigurationURL:
 
(id) - initWithNotificationInfoDictionary:
 
(void) - launchWithViewController:
 
(BOOL- isIntroAnimEnabled
 
(void) - loadWithPreferencesData:
 
(NSURL *) - url
 

Class Methods

(UIViewController *) + createViewControllerForHomeScreenDisplayObject:
 
(UIViewController *) + createViewControllerForSubscriptionID:
 
(HelpController *) + newHelpController
 

Properties

BOOL postponedLoad
 

Detailed Description

ApplicationLauncherController is a controller used when application is launched for the first time or when user applies a new configuration URL or receive a remote notification. When it's displayed, it creates the home screen view controller, after home screen controller is created successful, it will replace itself with the home screen view controller.

Method Documentation

◆ createViewControllerForHomeScreenDisplayObject:()

+ (UIViewController*) createViewControllerForHomeScreenDisplayObject: (DisplayObject *)  displayObject

Create a view controller to display the object of the resultset home screen settings

Parameters
displayObjectdisplay object of result set home screen settings
Returns
a new view controller

◆ createViewControllerForSubscriptionID:()

+ (UIViewController*) createViewControllerForSubscriptionID: (NSString *)  subscriptionID

Create a view controller to display the subscription report

Parameters
subscriptionIDID of subscription to display
Returns
a new view controller

◆ initWithDemoConfigurationURL:()

- (id) initWithDemoConfigurationURL: (NSURL *)  _url

Initializer when launch application with a demo configuration URL. It would show the intro animation if enabled. It calls the default initializer first. _url demo configuration URL

Returns
a new instance of ApplicationLauncherController

◆ initWithNotificationInfoDictionary:()

- (id) initWithNotificationInfoDictionary: (NSDictionary *)  notificationInfoDictionary

Initializer when launch application by remote notification. It calls the default initializer first. notificationInfoDictionary remote notification contains a subscription id in the notification info dictionary with key sid

Returns
a new instance of ApplicationLauncherController

◆ initWithURL:()

- (id) initWithURL: (NSURL *)  _url

Initializer when launch application with a configuration URL. It calls the default initializer first. _url configuration URL

Returns
a new instance of ApplicationLauncherController

◆ isIntroAnimEnabled()

- (BOOL) isIntroAnimEnabled

Return YES if intro animation is enabled, otherwise return NO.

◆ launchWithViewController:()

- (void) launchWithViewController: (UIViewController *)  viewController

Launch application with a designated view controller on top. Below this view controller is the home screen controller.

Parameters
viewControllerthe designated view controller to be displayed on top

◆ loadWithPreferencesData:()

- (void) loadWithPreferencesData: (NSData *)  preferencesData

Load with Preferences data directly from Bundle - Used in Device Password mode.

◆ newHelpController()

+ (HelpController*) newHelpController

Create a HelpController

Returns
a new HelpController

◆ url()

- (NSURL*) url

Application URL

Property Documentation

◆ postponedLoad

- (BOOL) postponedLoad
readwritenonatomicassign