Integrate SDK¶
Before you begin¶
- You must Install Soha SDK.
- You must complete the Configure SDK Info
Initializing the Android SDK¶
Initialize the SDK¶
1. Initialize the SDK and select the language for the SDK:¶
SohaSDK.getInstance().init(MainActivity.this, logoutCallback);
SohaSDK.getInstance().setLanguage(MainActivity.this, "vi");
// vi : Tiếng Việt
// zh : Chinese
// en : English
// id : Indonesia
// th : Thái Lan
2. Change SDK language¶
When the application changes the language, update the SDK language with the following method: