... | @@ -53,12 +53,13 @@ Your app has to be configured exactly as the credentials and attributes provided |
... | @@ -53,12 +53,13 @@ Your app has to be configured exactly as the credentials and attributes provided |
|
```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)
|
|
```
|
|
```
|
|
|
|
|
... | @@ -66,15 +67,18 @@ var appConfig = AppConfig(myConfigBuilder) |
... | @@ -66,15 +67,18 @@ var appConfig = AppConfig(myConfigBuilder) |
|
```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.
|
... | | ... | |