API reference

LanguagePackStatusCode Enum

LanguagePackStatusCode represents the set of status codes returned by the languagepack API.

Signature

enum LanguagePackStatusCode : Enum<LanguagePackStatusCode> 

Enumeration Constants

MemberDescription
Success
The operation completed successfully. This is a common status code. It can be returned by any Platform SDK method.
InternalError
An internal error occurred. This is a common status code. It can be returned by any Platform SDK method.
NotInitialized
The platform is not initialized. This is a common status code. It can be returned by any Platform SDK method.
EntitlementFailure
Entitlement check failed. This is a common status code. It can be returned by any Platform SDK method.
RateLimitExceeded
Rate limit exceeded. This is a common status code. It can be returned by any Platform SDK method.
Forbidden
Feature is disabled for the current user. This is a common status code. It can be returned by any Platform SDK method.
NetworkUnavailable
No network connection available. This is a common status code. It can be returned by any Platform SDK method.
ProviderUnknownError
Unknown error. This is a common status code. It can be returned by any Platform SDK method.
ProviderFeatureNotEnabled
Feature is disabled for the current user. This is a common status code. It can be returned by any Platform SDK method.
ProviderOperationNotSupported
Operation is not supported. This is a common status code. It can be returned by any Platform SDK method.
ProviderInitializationFailed
Failed to initialize provider. This is a common status code. It can be returned by any Platform SDK method.
ProviderGraphApiError
Graph API error. This is a common status code. It can be returned by any Platform SDK method.
NotEntitled
Not entitled error. This error occurs when the app is not entitled to access language packs.
LanguagePackNotSet
Language pack not set error. This error occurs when attempting to get the current language pack but no language pack has been set for the application.
LanguagePackNotFound
Missing or not found language pack error. This error occurs when the language pack asset for the currently selected language cannot be found, or when trying to set a language pack but no language pack asset with the specified language tag exists.
InstallationFailedOrInternalError
Installation failed or internal error. This error occurs when initiating the download and installation of a language pack fails or an unexpected internal error occurs.
StoreInstallationOrInvalidRequestError
Store installation or invalid request error. This error occurs when the app cannot be found or there is an invalid request format.

Properties

value : Int
[Get]
Signature
val value: Int