Enums
The following enums are available globally.
-
Replicator type.
- pushAndPull: Bidirectional; both push and pull
- push: Pushing changes to the target
- pull: Pulling changes from the target
Declaration
Swift
public enum ReplicatorType: UInt8
-
The encryption key, a raw AES-256 key data which has exactly 32 bytes in length or a password string. If the password string is given, it will be internally converted to a raw AES key using 64,000 rounds of PBKDF2 hashing.
- key: 32-byte AES-256 data key. To create a key, generate random data using a secure cryptographic randomizer like SecRandomCopyBytes or CCRandomGenerateBytes.
- password: Password string that will be internally converted to a raw AES-256 key using 64,000 rounds of PBKDF2 hashing.
Declaration
Swift
public enum EncryptionKey -
Log domain. The log domains here are tentative and subject to change.
See moreDeclaration
Swift
public enum LogDomain: UInt8 -
Log level. The default log level for all domains is warning. The log levels here are tentative and subject to change.
See moreDeclaration
Swift
public enum LogLevel: UInt8
Enums Reference