LocalModelSource

class LocalModelSource : NSObject

Source of a custom model stored locally on the device.

  • The model name.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    init(modelName: String, path: String)

    Parameters

    modelName

    A custom local model name. Within a same Firebase app, all custom local models should have distinct names (same for the cloud and local sources).

    path

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

    Return Value

    A new instance of LocalModelSource with the given path.

  • Unavailable.