ByteArkPlayerLanguage enum
The language of the player's built-in UI (controls, settings menu, error messages).
Applied at setup time via ByteArkPlayerConfig.language; changing it
means rebuilding the player. Maps to the iOS and Android
ByteArkPlayerLanguage enums by name, and to the Web SDK's language
option ('en' / 'th').
Values
- english → const ByteArkPlayerLanguage
-
Always English, regardless of the device language. The default.
- thai → const ByteArkPlayerLanguage
-
Always Thai, regardless of the device language.
- system → const ByteArkPlayerLanguage
-
Follow the device's preferred languages — the first that is English or Thai wins — falling back to English.
On mobile this reads the device locale list, not the Flutter app's
Locale; on web it readsnavigator.languages.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ByteArkPlayerLanguage> - A constant List of the values in this enum, in order of their declaration.