|
Mobile API Reference
MicroStrategy 2019
|
#import <MSIAppContext.h>
Class Methods | |
| (MSIAppContext *) | + getInstance |
Properties | |
| NSArray * | unreconciledProjects |
| NSDictionary * | notificationInfoDictionary |
| id< PushNotificationListener > | PNListener |
| BOOL | compatibilityErrorHandled |
| BOOL | softwareEncryptionEnabled |
| DSSWCManager * | mDSSWCManager |
| NewsstandDownloadManager * | mNewsstandDownloadMgr |
| BOOL | isLaunchedByNewsstandPush |
| BOOL | reconcileInitiatedBySilentNotification |
| MSMBackgroundTransferManager * | mMSTRBackgroundTransferMgr |
| UIBackgroundTaskIdentifier | bgTask |
| BOOL | isRunningTasks |
| BOOL | showMobileLoginPromptAutomatically |
| UINavigationController * | customizedNavigationController |
This class represents the state that we need to maintain globally during the execution of any MicroStrategy based app.
| - (void) addToUnconciledProjects: | (MSIProjectInfo *) | project |
| - (BOOL) applicationLauncherNeedsSetup |
Provided by category MSIAppContext(Delegate).
| - (void) cancelReconcile |
Provided by category MSIAppContext(Reconcile).
| - (void) cleanupMobileAddressesForServers |
Provided by category MSIAppContext(Delegate).
| - (void) deleteAllCaches |
Delete all caches of the app. This method won't clear certificate and encryption key
| - (void) deleteNotProjectLevelCaches |
Clear some caches can't be deleted at project level, like tmp directory, ...
| - (void) deleteProjectCaches: | (MSIProjectConfiguration *) | projectConfig |
Clear all caches of the project.
| projectConfig | the project whose caches will be deleted |
| - (void) deleteServerCaches: | (WebServerConfiguration *) | wsConfig |
Delete caches for all projects in this server
| wsConfig | the web server whose caches will be deleted |
| - (void) dismissConfigurationUpdateAlert |
| - (void) dismissErrorAlertView |
| - (void) dismissErrorAlertView: | (id) | delegate |
| - (void) dismissErrorAlertViewWithErrorDetails: | (ErrorDetails *) | errorDetails | |
| delegate: | (id) | delegate | |
| - (void) displayAndHideMessage: | (NSString *) | text |
| - (void) displayErrorInAlertViewWithErrorDetails: | (ErrorDetails *) | errorDetails |
| - (void) displayErrorInAlertViewWithTitle: | (NSString *) | title | |
| message: | (NSString *) | message | |
| - (void) displayErrorInAlertViewWithTitle: | (NSString *) | title | |
| message: | (NSString *) | message | |
| blocks: | (void(^)(MSIAlertView *alertView, NSInteger buttonIndex)) | completionHandler | |
| dismissPrevious: | (BOOL) | dismiss | |
| withOtherButton: | (BOOL) | otherButton | |
| okButtonTitle: | (NSString *) | okButtonTitle | |
| otherButtonTitle: | (NSString *) | otherButtonTitle | |
| cancelButtonTitle: | (NSString *) | cancelButtonTitle | |
| - (void) displayErrorInAlertViewWithTitle: | (NSString *) | title | |
| message: | (NSString *) | message | |
| delegate: | (id) | delegate | |
| - (void) displayErrorInAlertViewWithTitle: | (NSString *) | title | |
| message: | (NSString *) | message | |
| delegate: | (id) | delegate | |
| dismissPrevious: | (BOOL) | dismiss | |
| - (void) displayErrorInAlertViewWithTitle: | (NSString *) | title | |
| message: | (NSString *) | message | |
| delegate: | (id) | delegate | |
| dismissPrevious: | (BOOL) | dismiss | |
| withOtherButton: | (BOOL) | otherButton | |
| - (void) displayErrorInAlertViewWithTitle: | (NSString *) | title | |
| message: | (NSString *) | message | |
| delegate: | (id) | delegate | |
| dismissPrevious: | (BOOL) | dismiss | |
| withOtherButton: | (BOOL) | otherButton | |
| okButtonTitle: | (NSString *) | okButtonTitle | |
| otherButtonTitle: | (NSString *) | otherButtonTitle | |
| - (void) displayErrorInAlertViewWithTitle: | (NSString *) | title | |
| message: | (NSString *) | message | |
| delegate: | (id) | delegate | |
| dismissPrevious: | (BOOL) | dismiss | |
| withOtherButton: | (BOOL) | otherButton | |
| okButtonTitle: | (NSString *) | okButtonTitle | |
| otherButtonTitle: | (NSString *) | otherButtonTitle | |
| cancelButtonTitle: | (NSString *) | cancelButtonTitle | |
| - (void) displayFloatingView: | (NSString *) | text | |
| viewHastoobar: | (BOOL) | viewHastoobar | |
| - (void) displayFloatingView: | (NSString *) | text | |
| viewHastoobar: | (BOOL) | viewHastoobar | |
| autoHide: | (BOOL) | autoHide | |
| - (void) displayFloatingViewOnView: | (UIView *) | view | |
| withText: | (NSString *) | text | |
| viewHastoobar: | (BOOL) | viewHastoobar | |
| hasActivityIndicator: | (BOOL) | hasActivityIndicator | |
| position: | (NSInteger) | pos | |
Displays the floating view used to indicate some activity like Loading... Pivoting... or Sorting... This method is used in conjunction woth hideFloatingView to hide and remove the shown floating view
| view | the view in which the floatingView is added |
| position,the | position of the floating view. The value could be TOP, CENTER or BOTTOM |
| - (void) displayLoadingIndicatorOnView: | (UIView *) | view | |
| customView: | (UIView *) | customView | |
| text: | (NSString *) | text | |
| - (void) displayLoadingIndicatorOnView: | (UIView *) | view | |
| customView: | (UIView *) | customView | |
| text: | (NSString *) | text | |
| textLayoutHorizontal: | (BOOL) | textLayoutHorizontal | |
| - (void) enableErrorAlertView: | (BOOL) | enable |
| - (void) endExtendedBackgroundTask |
| - (NSCalendar*) getAutoupdatingCurrentCalendar |
| - (NSCalendar*) getCalendar |
| + (MSIAppContext*) getInstance |
| - (id<ReconcileListener>) getReconcileListener |
Provided by category MSIAppContext(Reconcile).
| - (TransPendingListModel*) getTransPendingListModel |
| - (void) handleApplicationEnterBackground |
Provided by category MSIAppContext(Delegate).
| - (void) handleApplicationEnterForeground |
Provided by category MSIAppContext(Delegate).
| - (void) handleApplicationInitialized |
Provided by category MSIAppContext(Delegate).
| - (void) handleApplicationResignActive |
Provided by category MSIAppContext(Delegate).
| - (void) handleApplicationStartupFinished |
Provided by category MSIAppContext(Delegate).
| - (void) handleApplicationStartupInitialization: | (BOOL) | withURL |
Provided by category MSIAppContext(Delegate).
| - (void) handleApplicationWillTerminate |
Provided by category MSIAppContext(Delegate).
| - (void) handleDidFailToRegisterForRemoteNotificationsWithError: | (NSError *) | error |
Provided by category MSIAppContext(Delegate).
| - (void) handleDidReceiveRemoteNotification: | (NSDictionary *) | userInfo |
Provided by category MSIAppContext(Delegate).
| - (void) handleDidReceiveRemoteNotificationForNK: | (NSDictionary *) | userInfo |
Provided by category MSIAppContext(Delegate).
| - (void) handleDidRegisterForRemoteNotificationsWithDeviceToken: | (NSData *) | deviceToken |
Provided by category MSIAppContext(Delegate).
| - (void) handleHttp: | (NSURL *) | url |
| - (void) handleMailto: | (NSURL *) | url |
| - (void) hideFloatingView |
| - (void) hideLoadingIndicatorOnView: | (UIView *) | view |
Provided by category MSIAppContext(Delegate).
| - (BOOL) isNewsstandEnabled |
| - (void) logout |
| - (DSSWCManager*) mDSSWCManager |
| - (MSMBackgroundTransferManager*) mMSTRBackgroundTransferMgr |
| - (BOOL) needsliveConfigFetch |
Provided by category MSIAppContext(Delegate).
| - (BOOL) networkIsReachable |
| - (NSLocale*) numberAndDateLocale |
| - (void) prepareImageCache |
| - (void) prepareImageCache: | (bool) | asynch |
| - (void) reconcile |
Default suppress network error alerts
Provided by category MSIAppContext(Reconcile).
| - (void) reconcile: | (NSInteger) | scope |
Provided by category MSIAppContext(Reconcile).
| - (void) reconcile: | (NSInteger) | scope | |
| suppressNetworkErrorAlerts: | (BOOL) | suppressNetworkErrorAlerts | |
Provided by category MSIAppContext(Reconcile).
| - (void) reconcileNotificationSubscription: | (NSString *) | subscriptionID |
Provided by category MSIAppContext(Reconcile).
| - (void) reconcileNotificationSubscription: | (NSString *) | subscriptionID | |
| suppressNetworkErrorAlerts: | (BOOL) | suppressNetworkErrorAlerts | |
Provided by category MSIAppContext(Reconcile).
| - (void) reconcileProject: | (MSIProjectConfiguration *) | project |
Provided by category MSIAppContext(Reconcile).
| - (void) reconcileProject: | (MSIProjectConfiguration *) | project | |
| scope: | (NSInteger) | scope | |
Provided by category MSIAppContext(Reconcile).
| - (void) reconcileProject: | (MSIProjectConfiguration *) | project | |
| scope: | (NSInteger) | scope | |
| suppressNetworkErrorAlerts: | (BOOL) | suppressNetworkErrorAlerts | |
Provided by category MSIAppContext(Reconcile).
| - (void) reconcileProject: | (MSIProjectConfiguration *) | project | |
| suppressNetworkErrorAlerts: | (BOOL) | suppressNetworkErrorAlerts | |
Provided by category MSIAppContext(Reconcile).
| - (void) reconcileReport: | (MSIProjectConfiguration *) | project | |
| report: | (MSIReportDisplayInfo *) | report | |
Provided by category MSIAppContext(Reconcile).
| - (void) reconcileReport: | (MSIProjectConfiguration *) | project | |
| report: | (MSIReportDisplayInfo *) | report | |
| suppressNetworkErrorAlerts: | (BOOL) | suppressNetworkErrorAlerts | |
Provided by category MSIAppContext(Reconcile).
| - (void) reconcileWithDoesSuppressNetworkErrorAlert: | (BOOL) | suppressNetworkErrorAlerts |
Provided by category MSIAppContext(Reconcile).
| - (void) registerForNotificationWithAPN |
| - (void) removeAllModalViewControllers: | (BOOL) | forceNotAnimate |
| - (void) removeDeviceTokenforProject: | (MSIProjectConfiguration *) | projectConfig |
| - (void) removeReconcileListener |
Provided by category MSIAppContext(Reconcile).
| - (void) setNumberAndDateLocaleId: | (NSString *) | lId |
| - (void) setReconcileListener: | (id< ReconcileListener >) | _reconcileListener | |
| withShakeEnabled: | (BOOL) | shakeEnabled | |
Provided by category MSIAppContext(Reconcile).
| - (void) setupPeriodicConfigurationAutoupdateCheck |
| - (void) setupPeriodicReconcile |
Provided by category MSIAppContext(Reconcile).
| - (void) showOfflineBanner |
| - (void) startConfigurationUpdate |
| - (void) startStandAloneService: | (id< Service >) | service |
| - (void) unRegisterForNotificationWithAPN |
| - (void) updateDeferredTaskAfterProjectUpdated |
Update deferred tasks after project updated.
| - (BOOL) updateExistingPreferences |
Provided by category MSIAppContext(Delegate).
| - (BOOL) useDefaultPreferences |
Provided by category MSIAppContext(Delegate).
|
readwriteatomicassign |
|
readwriteatomic |
|
readwriteatomicstrong |
|
readwriteatomic |
|
readwriteatomic |
|
readwritenonatomicstrong |
|
readwritenonatomicstrong |
|
readwritenonatomicstrong |
|
readwritenonatomicstrong |
|
readwritenonatomicweak |
|
readwriteatomic |
|
readwritenonatomicassign |
|
readwriteatomic |
|
readnonatomicassign |