Library Mobile API Reference for iPhone  MicroStrategy 2019
DeviceUnlockManager Class Reference

#import <DeviceUnlockManager.h>

Inheritance diagram for DeviceUnlockManager:

Instance Methods

(BOOL) - fileExistsAtPath:
 
(BOOL) - fileExistsAtPath:isDirectory:
 
(void) - addServiceToRestart:
 
(void) - addPathofFileToDelete:
 
(void) - addFileToWrite:path:
 
(void) - addFileToAppend:path:
 
(size_t) - data:atPath:offset:length:
 
(NSDictionary *) - attributesOfFileItemAtPath:
 
(BOOL) - isLocked
 
(BOOL) - isUnlockOperationInProgress
 
(BOOL) - setAttributes:ofItemAtPath:
 
(void) - addFileToMoveAtPath:toPath:
 
(void) - addFileToCopyAtPath:toPath:
 
(void) - deviceLocked
 
(void) - deviceUnlocked
 

Class Methods

(DeviceUnlockManager *) + deviceUnlockManager
 
(DeviceUnlockManager *) + sharedDeviceUnlockManager
 

Protected Attributes

NSMutableArray * servicesToRestart
 
NSMutableDictionary * operationInfoByPathMap
 
NSMutableArray * operationInfoQueue
 
BOOL locked
 
BOOL unlockOperationInProgress
 
NSCondition * unlockOperationLock
 
UIView * waitView
 

Method Documentation

◆ addFileToAppend:path:()

- (void) addFileToAppend: (NSData *)  data
path: (NSString *)  path 

◆ addFileToCopyAtPath:toPath:()

- (void) addFileToCopyAtPath: (NSString *)  path
toPath: (NSString *)  toPath 

◆ addFileToMoveAtPath:toPath:()

- (void) addFileToMoveAtPath: (NSString *)  fromPath
toPath: (NSString *)  toPath 

◆ addFileToWrite:path:()

- (void) addFileToWrite: (NSData *)  data
path: (NSString *)  path 

◆ addPathofFileToDelete:()

- (void) addPathofFileToDelete: (NSString *)  path

◆ addServiceToRestart:()

- (void) addServiceToRestart: (id< Service >)  service

◆ attributesOfFileItemAtPath:()

- (NSDictionary *) attributesOfFileItemAtPath: (NSString *)  path

◆ data:atPath:offset:length:()

- (size_t) data: (void **)  dataBuf
atPath: (NSString *)  path
offset: (long)  offset
length: (size_t)  length 

◆ deviceLocked()

- (void) deviceLocked

◆ deviceUnlocked()

- (void) deviceUnlocked

◆ deviceUnlockManager()

+ (DeviceUnlockManager*) deviceUnlockManager

◆ fileExistsAtPath:()

- (BOOL) fileExistsAtPath: (NSString *)  path

◆ fileExistsAtPath:isDirectory:()

- (BOOL) fileExistsAtPath: (NSString *)  path
isDirectory: (BOOL *)  isDirectory 

◆ isLocked()

- (BOOL) isLocked

◆ isUnlockOperationInProgress()

- (BOOL) isUnlockOperationInProgress

◆ setAttributes:ofItemAtPath:()

- (BOOL) setAttributes: (NSDictionary *)  attributes
ofItemAtPath: (NSString *)  path 

◆ sharedDeviceUnlockManager()

+ (DeviceUnlockManager*) sharedDeviceUnlockManager

Member Data Documentation

◆ locked

- (BOOL) locked
protected

◆ operationInfoByPathMap

- (NSMutableDictionary*) operationInfoByPathMap
protected

◆ operationInfoQueue

- (NSMutableArray*) operationInfoQueue
protected

◆ servicesToRestart

- (NSMutableArray*) servicesToRestart
protected

◆ unlockOperationInProgress

- (BOOL) unlockOperationInProgress
protected

◆ unlockOperationLock

- (NSCondition *) unlockOperationLock
readnonatomicstrongprotected

◆ waitView

- (UIView*) waitView
protected