MLKitLinkFirebase Framework Reference

  • MLKFirebaseModelSource enables using custom models hosted on Firebase within your app, downloading them to the device for use.

  • You create an instance using initWithName: providing the same model name used when publishing it on the Firebase Console.

  • The default init method is unavailable; you must use the designated initializer to provide the model name.

MLKFirebaseModelSource


@interface MLKFirebaseModelSource : MLKRemoteModelSource

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

    Objective-C

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

    Parameters

    name

    The name of the Firebase remote model.

    Return Value

    A new FirebaseModelSource instance.

  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;