FIRLocalModel


@interface FIRLocalModel : NSObject

A model stored locally on the device.

  • The model name.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Parameters

    name

    The name of the local model. 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 LocalModel instance.

  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;