Join us in person and online for Firebase Summit on October 18, 2022. Learn how Firebase can help you accelerate app development, release your app with confidence, and scale with ease. Register now

FirebaseCloudModelSource.Builder

Stay organized with collections Save and categorize content based on your preferences.
public static class FirebaseCloudModelSource.Builder extends Object

Public Constructor Summary

Public Method Summary

FirebaseCloudModelSource
build()
Builds an instance of FirebaseCloudModelSource
FirebaseCloudModelSource.Builder
enableModelUpdates(boolean enableModelUpdates)
Enables the download of model updates.
FirebaseCloudModelSource.Builder
setInitialDownloadConditions(FirebaseModelDownloadConditions initialConditions)
Sets the conditions for initial model download.
FirebaseCloudModelSource.Builder
setUpdatesDownloadConditions(FirebaseModelDownloadConditions updatesConditions)
Sets the conditions for downloading the model updates.

Inherited Method Summary

Public Constructors

public FirebaseCloudModelSource.Builder (String modelName)

Creates a builder class for FirebaseCloudModelSource.

Parameters
modelName the model name as specified in Firebase Console.

Public Methods

public FirebaseCloudModelSource build ()

Builds an instance of FirebaseCloudModelSource

public FirebaseCloudModelSource.Builder enableModelUpdates (boolean enableModelUpdates)

Enables the download of model updates.

public FirebaseCloudModelSource.Builder setInitialDownloadConditions (FirebaseModelDownloadConditions initialConditions)

Sets the conditions for initial model download.

public FirebaseCloudModelSource.Builder setUpdatesDownloadConditions (FirebaseModelDownloadConditions updatesConditions)

Sets the conditions for downloading the model updates.