Type Definitions

The following type definitions are available globally.

  • Undocumented

    Declaration

    Objective-C

    API_AVAILABLE(macos(10.13), ios(11.0))
    typedef CBLDictionary* __nonnull (^CBLCoreMLInputTransformerBlock) (CBLDictionary*)
  • Undocumented

    Declaration

    Objective-C

    API_AVAILABLE(macos(10.13), ios(11.0))
    typedef CBLDictionary* __nullable (^CBLCoreMLOutputTransformerBlock) (CBLDictionary* _Nullable)
  • ENTERPRISE EDITION ONLY.

    Certificate Authenticator Callback Block .

    Declaration

    Objective-C

    typedef BOOL (^CBLListenerCertificateAuthenticatorBlock)(NSArray *_Nonnull)
  • ENTERPRISE EDITION ONLY.

    Password Authenticator Block for verifying client credentials.

    Declaration

    Objective-C

    typedef BOOL (^CBLListenerPasswordAuthenticatorBlock)(NSString *_Nonnull,
                                                          NSString *_Nonnull)
  • ENTERPRISE EDITION ONLY.

    The protocol type of the data transportation.

    See more

    Declaration

    Objective-C

    typedef enum CBLProtocolType CBLProtocolType
  • Activity level of a replicator.

    See more

    Declaration

    Objective-C

    typedef enum CBLReplicatorActivityLevel CBLReplicatorActivityLevel
  • Progress of a replicator. If total is zero, the progress is indeterminate; otherwise, dividing the two will produce a fraction that can be used to draw a progress bar.

    See more

    Declaration

    Objective-C

    typedef struct CBLReplicatorProgress CBLReplicatorProgress
  • Replication Filter

    Declaration

    Objective-C

    typedef BOOL (^CBLReplicationFilter)(CBLDocument *_Nonnull, CBLDocumentFlags)
  • ENTERPRISE EDITION ONLY.

    CBLConnectionStatus provides the information about the connections from the replicators to the listener.

    See more

    Declaration

    Objective-C

    typedef struct CBLConnectionStatus CBLConnectionStatus