public static class LocalModel.Builder extends Object

Builder class of LocalModel.

Public Constructor Summary

Public Method Summary

LocalModel
build()
Builds an instance of LocalModel with provided info.
LocalModel.Builder
setAbsoluteFilePath(String absoluteFilePath)
Sets the absolute file path of the local model file.
LocalModel.Builder
setAssetFilePath(String assetFilePath)
Sets the asset subpath of the asset model file.

Inherited Method Summary

Public Constructors

public LocalModel.Builder ()

Public Methods

public LocalModel build ()

Builds an instance of LocalModel with provided info.

public LocalModel.Builder setAbsoluteFilePath (String absoluteFilePath)

Sets the absolute file path of the local model file.

public LocalModel.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.