Builder for a
FirebaseTranslateRemoteModel
.
Public Constructor Summary
FirebaseTranslateRemoteModel.Builder(int language)
|
Public Method Summary
FirebaseTranslateRemoteModel |
build()
Creates a new
FirebaseTranslateRemoteModel instance.
|
FirebaseTranslateRemoteModel.Builder |
setDownloadConditions(FirebaseModelDownloadConditions
downloadConditions)
Sets the conditions under which the model will be downloaded.
|
FirebaseTranslateRemoteModel.Builder |
Inherited Method Summary
Public Constructors
public FirebaseTranslateRemoteModel.Builder (int language)
Public Methods
public FirebaseTranslateRemoteModel build ()
Creates a new
FirebaseTranslateRemoteModel
instance.
public FirebaseTranslateRemoteModel.Builder setDownloadConditions (FirebaseModelDownloadConditions downloadConditions)
Sets the conditions under which the model will be downloaded.
Note that model updates for Translate models are currently not supported, therefore there are no update conditions either.
public FirebaseTranslateRemoteModel.Builder setFirebaseApp (FirebaseApp firebaseApp)
Sets the FirebaseApp
associated with this model. If this is not set, the default FirebaseApp
will
be used.