FMP.Builder

Description

The FMP.Builder class is a builder for the FMP class.

class Builder

Methods

Method Description

encryptionKey(_:)

Save database and file encryption key to variable.
func encryptionKey(_ key: String) -> Builder

Parameters:

  • key. Database and file encryption key.

build() Build an instance of the FMP class. It returns object of the FMP type.
func build() -> FMP

Example

Build an instance of the FMP class:

// Build an instance of the FMP class with various settings
let fmp: FMP = FMP.Builder()
    .encryptionKey("key") // By default ""
    .build()

See also:

FMPWrapper Framework | Classes