Mobile API Reference
MicroStrategy 2019
|
#import <MSIDataViewer.h>
This protocol is the interface designed for any dashboard viewer for document/report rendering. The document data controller will interact with the document viewer through this interface
|
optional |
Request missing binary data
layoutKey | Layout key to be requested Notify binary has been applied |
iSuccess | If the binary applied successfully |
Reimplemented in RWDDashboardView.
|
optional |
Notify dashboard viewer that manipulation is done
iSuccess | If the manipulation succeeded |
|
optional |
Left animation for switching layout
|
optional |
Right animation for switching layout
|
optional |
Apply layout binary
iLayoutKey | Binary data's layout key |
iNewData | Binary data |
iDocDataPath | Binary data file path |
|
optional |
Begin replaying manipulation
|
optional |
For airplay mode, display in control mode
|
optional |
For airplay mode, display in filter mode
|
optional |
Clear client manipulation that has not been committed
|
optional |
Reset delegate to avoid accessing released instance
Reimplemented in RWDDashboardView.
|
optional |
Continue the next task in the background task queue This is to be called after pauseAfterCurrentTask to continue the background queue
|
optional |
Return dashboardName
- (UIView*) dataView |
Return dataview
|
optional |
Callback which is triggered when the data view is going to disappear on the screen
|
optional |
|
optional |
End replaying manipulation
needRefresh | Do we need to refresh GUI after manipulation |
|
optional |
Update the associated RWD instance with the given data
data | New binary data If executing in full screen mode |
|
optional |
Return all datasets' Ids
|
optional |
|
optional |
|
optional |
Get client manipulation
|
optional |
Returnt the commander object Commander is the manipulation controller in the viewer classes
|
optional |
Return the current layout index
|
optional |
|
optional |
Return all datasets' prompt answers
|
optional |
Get transaction data
|
optional |
Return document context
|
optional |
Get grid display mode
|
optional |
Get gridgraphviewer's pageby status
|
optional |
Return the groupby view
|
optional |
Get layout Indicator
|
optional |
Get layout information of document
layoutKeys | Array of layout keys in the document |
key | CurrentLayoutKey |
|
optional |
Return the root viewer container
Reimplemented in RWDDashboardView.
|
optional |
Widgets views status record/restore
|
optional |
Return if gridGraphViewer is from widget
|
optional |
For airplay mode, display tab selection view
|
optional |
|
optional |
Hide wait indicator
Reimplemented in RWDDashboardView.
|
optional |
Is in airplay mode
Is Document in airplay mode
|
optional |
Return if Airplay finished rendering
|
optional |
Test if graph mode is available for this document
|
optional |
Check if default layout contains UC
|
optional |
This method returns a boolean value indicating whether to display reprompt icon for current layout. This method is used by data controller to determine whether to show a "Filter" button on the right of navigation bar.
|
optional |
If we should generate preview image for the document
|
optional |
Has the first layout binary been loaded
- (BOOL) isLandscape |
Return isLandscape
|
optional |
Is document transaction enabled
|
optional |
Is the document a VI document
If the document is a VI document
|
optional |
Is VI document running
|
optional |
Pause background thread after current task Before data controller modifies the document model, we need to prevent viewer accessing it this call is to stop the background thread so that document model can be modified
|
optional |
Re-evaluate views after UC
|
optional |
For MSTRObjectViewController, refresh view.
|
optional |
Start to render VI document on external display - Airplay
|
optional |
Replay saved carryover selections in the document
selections | Saved document selections for carryover |
refresh | Whether to refresh UI |
|
optional |
Replay drill manipulation with delta binary data
parameters | Drill parameters |
newData | Delta binary data needed for drill manipulation |
|
optional |
Replay manipulation with delta binary data
events | Event string representing manipulations |
newData | Delta binary data needed for manipulation |
|
optional |
Replay manipulations with delta binary data
events | Array of event string representing manipulations |
newData | Delta binary data needed for manipulation |
|
optional |
|
optional |
Request missing binary data
iLayoutKey | Layout key |
iHandler | Handler for request |
callbackFunction | Callback function after request is done |
|
optional |
Restore data sets delta transaction model for offline transaction
datasetIDs | dataset ID array |
deltas | dataset delta model array |
|
optional |
Restore transaction model for offline transaction
iTransactionDetails | Transaction model |
|
optional |
Restore transaction model for offline transaction
iTransactionParameters | Transaction model |
|
optional |
Reimplemented in RWDDashboardView.
|
optional |
Restore zoom factor for back operation
|
optional |
Set cached layout ID
cachedLayoutID | Layout ID |
|
optional |
For MSTRObjectViewController, setFitWidth will resize the document so that the width fits to the view width or to the actual document width.
isFitWidth | gives fitting to view width or keeping actuall width. |
|
optional |
Set if we should generate preview image for the document
generate | If we should generate preview image |
|
optional |
|
optional |
Set gridgraphviewer's pageby status
status | Pageby element ID to select |
|
optional |
Set the groupby view
iGroupbyView | The groupby view to be set |
|
optional |
Set layout ID
layoutID | Layout ID |
- (void) setNeedsDisplay |
Set landscape mode
landscape | is landscape mode- (void)setLandscape:(BOOL)landscape; Marks the receiver’s entire bounds rectangle as needing to be redrawn. |
|
optional |
For MSTRObjectViewController, setFrame will cause the view frame to be revised to the new CGRect. The rect must be a valid rect, although it can be empty. If the rect is not valid, no action is taken. It is not an error for the view to be partially or completely off the screen.
newViewFrame | gives the new view frame size with the type of CGRect. |
|
optional |
For MSTRObjectViewController, setViewOrientation sets the view orientation.
isViewOrientationPortrait | is YES if the view is set to portrait. |
|
optional |
|
optional |
Display wait indicator
Reimplemented in RWDDashboardView.
- (void) startRenderDocument |
Start to render document
|
optional |
Ask the viewer to stop rendering process, including background thread
- (void) updateFrame: | (CGRect) | frame |
Update Frame
frame | The frame rect |
|
optional |
Update layout info
layoutInfo | Layout Info |
- (void) updateWithData: | (NSData *) | data |
Update the data model with new data
data | new binary data |
- (void) viewerWillClose |
Raised when viewer is to be closed
|
optional |
|
optional |
Wait back ground render process to stop.
|
optional |
For airplay mode, notify stopping airplay mode