Mobile API Reference  MicroStrategy 2019
Prompts Class Reference

#import <Prompts.h>

Inheritance diagram for Prompts:
<MIIDynamicTableDataIterator>

Instance Methods

(id) - initWithData:withDocument:
 
(NSString *) - getXml
 
(NSString *) - getAnswerXml
 
(void) - loadAnswers:
 
(BOOL- validateAnswers
 
(void) - prepareForAnswering
 
(void) - cancelPreparation
 
(void) - cancelRunningServices
 
- Instance Methods inherited from <MIIDynamicTableDataIterator>
(int) - itemCount
 
(id< MIIDynamicTableDataItem >) - getDataItemForIndex:
 
(NSDictionary *) - getNewDataItemPropertiesForSelectedPropertyForType:
 
(void) - addDataItemForProperties:
 
(void) - deleteDataItemForIndex:
 
(void) - reorderDataItems:
 

Properties

BOOL requiredPromptsFirst
 

Detailed Description

The Prompts class contains info about the prompts for a document, including supported prompts and all other prompts, local, status, error info, etc.

See also
Prompt and
PromptHelper

Method Documentation

◆ cancelPreparation()

- (void) cancelPreparation

◆ cancelRunningServices()

- (void) cancelRunningServices

◆ getAnswerXml()

- (NSString*) getAnswerXml

◆ getXml()

- (NSString*) getXml

◆ initWithData:withDocument:()

- (id) initWithData: (NSData *)  data
withDocument: (MSIReportDisplayInfo *)  doc 

◆ loadAnswers:()

- (void) loadAnswers: (NSString *)  xml

◆ prepareForAnswering()

- (void) prepareForAnswering

True if any of the prompts require preparation before submitting the answers. An element prompt with date answer requires preparation. /

  • (BOOL) requiresPreparation;

◆ validateAnswers()

- (BOOL) validateAnswers

Property Documentation

◆ requiredPromptsFirst

- (BOOL) requiredPromptsFirst
readwriteatomic