... | @@ -52,29 +52,33 @@ Your app has to be configured exactly as the credentials and attributes provided |
... | @@ -52,29 +52,33 @@ Your app has to be configured exactly as the credentials and attributes provided |
|
>In kotlin
|
|
>In kotlin
|
|
```kotlin
|
|
```kotlin
|
|
var myConfigBuilder = AppConfig.newBuilder()
|
|
var myConfigBuilder = AppConfig.newBuilder()
|
|
.withDialerName("SDK_DIALER")
|
|
.withDialerName("SDK_DIALER")
|
|
.withDialerType(DialerType.EXPRESS_PLATINUM)
|
|
.withDialerType(DialerType.TEST)
|
|
.withAPIKey("1234")
|
|
.withAPIKey("1234")
|
|
.withDialerVersion("1.0.0")
|
|
.withDialerVersion("1.0.0")
|
|
.withDefaultCountry("bd")
|
|
.withDefaultCountry("bd")
|
|
.withVersionCode(1)
|
|
.withVersionCode(1)
|
|
.withSDKClientCredentials("operator1", "1234")
|
|
.withSDKClientCredentials("operator1", "1234")
|
|
|
|
.withAPIKey("[Your API Key]")
|
|
var appConfig = AppConfig(myConfigBuilder)
|
|
var appConfig = AppConfig(myConfigBuilder)
|
|
```
|
|
```
|
|
|
|
|
|
>In Java
|
|
>In Java
|
|
```java
|
|
```java
|
|
MyConfigBuilder myConfigBuilder = AppConfig.newBuilder()
|
|
MyConfigBuilder myConfigBuilder = AppConfig.newBuilder()
|
|
.withDialerName("SDK_DIALER")
|
|
.withDialerName("SDK_DIALER")
|
|
.withDialerType(DialerType.EXPRESS_PLATINUM)
|
|
.withDialerType(DialerType.TEST)
|
|
.withAPIKey("1234")
|
|
.withAPIKey("1234")
|
|
.withDialerVersion("1.0.0")
|
|
.withDialerVersion("1.0.0")
|
|
.withDefaultCountry("bd")
|
|
.withDefaultCountry("bd")
|
|
.withVersionCode(1)
|
|
.withVersionCode(1)
|
|
.withSDKClientCredentials("operator1", "1234");
|
|
.withSDKClientCredentials("operator1", "1234")
|
|
|
|
.withAPIKey("[Your API Key]")
|
|
AppConfig appConfig = new AppConfig(myConfigBuilder);
|
|
AppConfig appConfig = new AppConfig(myConfigBuilder);
|
|
```
|
|
```
|
|
|
|
|
|
|
|
Follow the [Instructions](Get-Api-Key) to get your own API Key.
|
|
|
|
|
|
<!Check out the Detailed **[Configuration Guide](App-Configuration)**>
|
|
<!Check out the Detailed **[Configuration Guide](App-Configuration)**>
|
|
|
|
|
|
**Step 3. Setting User Credentials:** Set the username and Password of the end user in UserInfo class. Taking these two pieces of information from the UI is recommended.
|
|
**Step 3. Setting User Credentials:** Set the username and Password of the end user in UserInfo class. Taking these two pieces of information from the UI is recommended.
|
... | | ... | |