API reference
API reference
Select your platform
No SDKs available
No versions available

LanguagePack Class

Static Member Functions

Returns currently installed and selected language pack for an app in the view of the asset_details. Use language field to extract neeeded language info. A particular language can be download and installed by a user from the Oculus app on the application page.
Sets the current language to specified. The parameter is the BCP47 language tag. If a language pack is not downloaded yet, spawns automatically the AssetFile.DownloadByName() request, and sends periodic MessageType.Notification_AssetFile_DownloadUpdate to track the downloads. Once the language asset file is downloaded, call LanguagePack.GetCurrent() to retrive the data, and use the language at runtime.
Parameters
tag
BCP47 language tag
Did you find this page helpful?
Thumbs up icon
Thumbs down icon