MLKitLinkFirebase Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
MLKFirebaseModelSource
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.
-
Declaration
Objective-C
- (nonnull instancetype)init;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["`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."]]],["This describes `MLKFirebaseModelSource`, a model source for custom models hosted on Firebase and downloaded to devices. It focuses on creating instances using the `initWithName:` method, which requires the Firebase remote model's name. This name must match the one used when publishing the model on the Firebase Console. The `init` method is marked as unavailable. The key action is initializing a new `MLKFirebaseModelSource` with a remote model name.\n"]]