FIRLocalModelSource


@interface FIRLocalModelSource : NSObject

A model stored locally on the device.

  • The model name.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull name;
  • The file path to the model stored locally on the device.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull path;
  • Creates an instance of LocalModelSource with a given name and file path.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithName:(nonnull NSString *)name
                                    path:(nonnull NSString *)path;

    Parameters

    name

    A local model name. Within the same Firebase app, all local models should have distinct names.

    path

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

    Return Value

    A new instance of LocalModelSource with the given path.

  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;