Builder class of FirebaseLocalModelSource
.
Public Constructor Summary
FirebaseLocalModelSource.Builder(String modelName)
Creates a new builder to build
FirebaseLocalModelSource .
|
Public Method Summary
FirebaseLocalModelSource |
build()
|
FirebaseLocalModelSource.Builder |
setAssetFilePath(String
assetFilePath)
Sets the asset sub-path of the asset model file
Please make sure your model asset file is not compressed by using aaptOptions. |
FirebaseLocalModelSource.Builder |
Inherited Method Summary
Public Constructors
public FirebaseLocalModelSource.Builder (String modelName)
Creates a new builder to build
FirebaseLocalModelSource
.
Public Methods
public FirebaseLocalModelSource build ()
Returns
- an instance of
FirebaseLocalModelSource
with provided info.
public FirebaseLocalModelSource.Builder setAssetFilePath (String assetFilePath)
Sets the asset sub-path of the asset model file
Please make sure your model asset file is not compressed by using aaptOptions. For more details, please refer to documentation.
public FirebaseLocalModelSource.Builder setFilePath (String filePath)
Sets the absolute file path of the local model file.