ORKFileProtectionMode Constants Reference

Declared in ORKTypes.h

ORKFileProtectionMode

File protection mode constants.

The file protection mode constants correspond directly to NSFileProtection constants, but are more convenient to manipulate than strings. Complete file protection is highly recommended for files containing personal data that will be kept persistently.

Definition

typedef NS_ENUM(NSInteger, ORKFileProtectionMode ) {
   ORKFileProtectionNone = 0,
   ORKFileProtectionCompleteUntilFirstUserAuthentication,
   ORKFileProtectionCompleteUnlessOpen,
   ORKFileProtectionComplete,
};

Constants

ORKFileProtectionNone

No file protection.

Declared In ORKTypes.h.

ORKFileProtectionCompleteUntilFirstUserAuthentication

Complete file protection until first user authentication.

Declared In ORKTypes.h.

ORKFileProtectionCompleteUnlessOpen

Complete file protection unless there was an open file handle before lock.

Declared In ORKTypes.h.

ORKFileProtectionComplete

Complete file protection while the device is locked.

Declared In ORKTypes.h.

Declared In

ORKTypes.h