FirebaseCloudModelSource.Builder

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.