CBLPrediction

@interface CBLPrediction : NSObject

The prediction model manager for registering and unregistering predictive models.

  • Register a predictive model by the given name.

    Declaration

    Objective-C

    - (void)registerModel:(nonnull id<CBLPredictiveModel>)model
                 withName:(nonnull NSString *)name;

    Parameters

    model

    The predictive model.

    name

    The name of the predictive model.

  • Unregister the predictive model of the given name.

    Declaration

    Objective-C

    - (void)unregisterModelWithName:(nonnull NSString *)name;

    Parameters

    name

    The name of the predictive model.

  • Unavailable

    Not available

    Declaration

    Objective-C

    - (nonnull instancetype)init;