setLoader

inline fun <Type : Any, Parameters : AssetLoaderParameters<Type>> AssetManager.setLoader(assetLoader: AssetLoader<Type, Parameters>, suffix: String? = null)

Parameters

Type

type of the handled asset.

Parameters

optional parameters used to load the assets.

assetLoader

will be used to load files associated with the selected type.

suffix

if set, file names end with this suffix for the passed loader to be used. Pass null to choose the default loader. Optional, null by default.

See also