|
Library Mobile API Reference for iPhone
MicroStrategy 2019
|
#import <MSISessionConnectionManager.h>
Instance Methods | |
| (id) | - initWithSessionState: |
| (id) | - initWithSessionState:andSessionID: |
| (BOOL) | - isDummyWrapper |
Properties | |
| NSString * | sessionState |
| NSDate * | timeStamp |
| BOOL | hasMobileRWPrivilege |
| NSString * | sessionID |
| NSString * | identityToken |
| BOOL | isShowingCredentialsPrompt |
SessionStateWrapper wraps the session state, the timestamp when the session state is accessed last time and whether the session state has mobile Read Write privilege.
| - (id) initWithSessionState: | (NSString *) | sessionState |
Initialize with the session state and set the timestamp as the current time
| sessionState | session state |
| - (id) initWithSessionState: | (NSString *) | sessionState | |
| andSessionID: | (NSString *) | sessionID | |
Initialize with the session state and set the timestamp as the current time
| sessionState | session state |
| sessionID | session ID |
| - (BOOL) isDummyWrapper |
return YES if sessionState.length == 0; only used as placeholder in this case
|
readwriteatomic |
whether the session state has mobile Read Write privilege Default is NO.
|
readatomiccopy |
identity token for collaboration server login
|
readwriteatomic |
whether showing credentials prompt for the wrapper's project Default is NO.
|
readatomiccopy |
sessionID for RESTful API
|
readatomiccopy |
session state
|
readwriteatomiccopy |
timestamp when the session state is last accessed Default is current time.