requestAssets Function

suspend fun requestAssets(assetDir: String, code: Int)

Installs language data shipped in the application’s assets.

Parameters

  • assetDir — the assets directory holding packed language files.
  • code — the language code to install.
Top