LocalModelSource

class LocalModelSource : NSObject

A model stored locally on the device.

  • The model name.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    init(name: String, path: String)

    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.