Skip to content

Commit d9c8c09

Browse files
authored
Merge pull request #5 from iaulakh/patch-8
Integrate usability study feedback
2 parents a182678 + f76d863 commit d9c8c09

File tree

1 file changed

+13
-5
lines changed
  • articles/communication-services/quickstarts/ui-library/includes/get-started-call

1 file changed

+13
-5
lines changed

articles/communication-services/quickstarts/ui-library/includes/get-started-call/android.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ Click `Finish`.
3232

3333
## Maven repository credentials
3434

35-
- You need to provide your personal access token that has read:packages scope selected.
36-
- You might need to have SSO enabled for that PAT.
35+
- You need to provide your personal access token(PAT) that has `read:packages` scope selected.
36+
- You might need to have `SSO enabled` for that PAT.
3737
- Also make sure your GitHub user has access to https://github.com/Azure/communication-preview
3838
- Personal access token can be generated: [here](https://github.com/settings/tokens
3939

@@ -375,12 +375,14 @@ To receive events, inject a handler to the `CallCompositeBuilder`.
375375
#### [Kotlin](#tab/kotlin)
376376

377377
```kotlin
378-
val communicationCallComposite: CallComposite =
378+
val callComposite: CallComposite =
379379
CallCompositeBuilder()
380380
.callCompositeEventsHandler(ApplicationCallCompositeEventsHandler())
381381
.build()
382382

383383
...
384+
import com.azure.android.communication.ui.CallCompositeEventsHandler
385+
import com.azure.android.communication.ui.configuration.events.OnExceptionEventArgs
384386

385387
class ApplicationCallCompositeEventsHandler : CallCompositeEventsHandler {
386388
override fun onException(eventArgs: OnExceptionEventArgs) {
@@ -392,11 +394,13 @@ class ApplicationCallCompositeEventsHandler : CallCompositeEventsHandler {
392394
#### [Java](#tab/java)
393395

394396
```java
395-
CallComposite communicationCallComposite =
397+
CallComposite callComposite =
396398
new CallCompositeBuilder()
397399
.callCompositeEventsHandler(new ApplicationCallCompositeEventsHandler())
398400
.build();
399401
...
402+
import com.azure.android.communication.ui.CallCompositeEventsHandler;
403+
import com.azure.android.communication.ui.configuration.events.OnExceptionEventArgs;
400404

401405
class ApplicationCallCompositeEventsHandler implements CallCompositeEventsHandler {
402406
@Override
@@ -421,6 +425,8 @@ To change the primary color of composite, create a new theme style in `src/main/
421425
#### [Kotlin](#tab/kotlin)
422426

423427
```kotlin
428+
import com.azure.android.communication.ui.configuration.ThemeConfiguration
429+
424430
val communicationCallComposite: CallComposite =
425431
CallCompositeBuilder()
426432
.theme(ThemeConfiguration(R.style.MyCompany_CallComposite))
@@ -430,8 +436,10 @@ val communicationCallComposite: CallComposite =
430436
#### [Java](#tab/java)
431437

432438
```java
439+
import com.azure.android.communication.ui.configuration.ThemeConfiguration;
440+
433441
CallComposite callComposite =
434442
new CallCompositeBuilder()
435443
.theme(new ThemeConfiguration(R.style.MyCompany_CallComposite))
436444
.build();
437-
```
445+
```

0 commit comments

Comments
 (0)