static Request< Models.AssetDetails > | GetCurrent ( ) |
static Request< Models.AssetFileDownloadResult > | SetCurrent ( string tag ) |
static Request<Models.AssetDetails> Oculus.Platform.LanguagePack.GetCurrent ( ) |
---|
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. |
static Request<Models.AssetFileDownloadResult> Oculus.Platform.LanguagePack.SetCurrent ( string tag ) |
---|
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 |