CBLLicenseKeyVerificationResult

Objective-C

enum CBLLicenseKeyVerificationResult : NSInteger {}

Swift

enum LicenseKeyVerificationResult : Int, @unchecked Sendable

A result from license key activation.

  • The license key was successfully verified with the offline token provided.

    Declaration

    Objective-C

    CBLLicenseKeyVerificationResultActivated = 0

    Swift

    case activated = 0
  • The license key failed to be verified (usually due to a connectivity issue), and a valid offline token was not provided. The SDK will not function.

    Declaration

    Objective-C

    CBLLicenseKeyVerificationResultFailedWithoutValidOfflineToken = 1

    Swift

    case failedWithoutValidOfflineToken = 1
  • The license key is not valid in the current environment (for example, a trial license was attempted to be used in the App Store). The SDK will not function.

    Declaration

    Objective-C

    CBLLicenseKeyVerificationResultNotAllowedInCurrentEnvironment = 2

    Swift

    case notAllowedInCurrentEnvironment = 2
  • The license is not valid for this process (wrong bundle ID, platform, etc). The SDK will not function.

    Declaration

    Objective-C

    CBLLicenseKeyVerificationResultInvalidLicense = 3

    Swift

    case invalidLicense = 3