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 : Vietnamese
// en : English
// zh : Chinese
// id : Indonesian
// th : Thai
2. Change SDK language¶
When the application changes the language, update the SDK language with the following method: