LocalModel

class LocalModel : NSObject

A model stored locally on the device.

  • The model name.

    Declaration

    Swift

    var name: String { get }
  • An absolute path to the model file stored locally on the device.

    Declaration

    Swift

    var path: String { get }
  • Creates an instance of LocalModel with the given name and file path.

    Declaration

    Swift

    init(name: String, path: String)

    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.