MLKitLinkFirebase Framework Reference

  • FirebaseModelSource enables using custom models hosted on Firebase.

  • It downloads the model to the device for use.

  • Models are identified by the name used during publishing on the Firebase Console.

  • A new FirebaseModelSource instance is created using the model's name.

FirebaseModelSource

class FirebaseModelSource : RemoteModelSource

The model source for a custom model that is hosted remotely on the Firebase server and downloaded to the device.

  • Creates a new instance with the given Firebase remote model name. The name is the same as the one used for publishing the model on the Firebase Console.

    Declaration

    Swift

    init(name: String)

    Parameters

    name

    The name of the Firebase remote model.

    Return Value

    A new FirebaseModelSource instance.

  • Unavailable.