MLKitCommon Framework Reference

MLKLocalModel


@interface MLKLocalModel : NSObject

A model stored locally on the device.

  • An absolute path to a model file stored locally on the device.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull path;
  • Creates a new instance with the given model file path.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithPath:(nonnull NSString *)path;

    Parameters

    path

    Absolute path to a model file stored locally on the device.

    Return Value

    A new LocalModel instance.

  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;