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