@@ -32,8 +32,8 @@ Click `Finish`.
32
32
33
33
## Maven repository credentials
34
34
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.
37
37
- Also make sure your GitHub user has access to https://github.com/Azure/communication-preview
38
38
- Personal access token can be generated: [ here] (https://github.com/settings/tokens
39
39
@@ -375,12 +375,14 @@ To receive events, inject a handler to the `CallCompositeBuilder`.
375
375
#### [ Kotlin] ( #tab/kotlin )
376
376
377
377
``` kotlin
378
- val communicationCallComposite : CallComposite =
378
+ val callComposite : CallComposite =
379
379
CallCompositeBuilder ()
380
380
.callCompositeEventsHandler(ApplicationCallCompositeEventsHandler ())
381
381
.build()
382
382
383
383
.. .
384
+ import com.azure.android.communication.ui.CallCompositeEventsHandler
385
+ import com.azure.android.communication.ui.configuration.events.OnExceptionEventArgs
384
386
385
387
class ApplicationCallCompositeEventsHandler : CallCompositeEventsHandler {
386
388
override fun onException (eventArgs : OnExceptionEventArgs ) {
@@ -392,11 +394,13 @@ class ApplicationCallCompositeEventsHandler : CallCompositeEventsHandler {
392
394
#### [ Java] ( #tab/java )
393
395
394
396
``` java
395
- CallComposite communicationCallComposite =
397
+ CallComposite callComposite =
396
398
new CallCompositeBuilder ()
397
399
.callCompositeEventsHandler(new ApplicationCallCompositeEventsHandler ())
398
400
.build();
399
401
...
402
+ import com.azure.android.communication.ui.CallCompositeEventsHandler ;
403
+ import com.azure.android.communication.ui.configuration.events.OnExceptionEventArgs ;
400
404
401
405
class ApplicationCallCompositeEventsHandler implements CallCompositeEventsHandler {
402
406
@Override
@@ -421,6 +425,8 @@ To change the primary color of composite, create a new theme style in `src/main/
421
425
#### [ Kotlin] ( #tab/kotlin )
422
426
423
427
``` kotlin
428
+ import com.azure.android.communication.ui.configuration.ThemeConfiguration
429
+
424
430
val communicationCallComposite: CallComposite =
425
431
CallCompositeBuilder ()
426
432
.theme(ThemeConfiguration (R .style.MyCompany_CallComposite ))
@@ -430,8 +436,10 @@ val communicationCallComposite: CallComposite =
430
436
#### [ Java] ( #tab/java )
431
437
432
438
``` java
439
+ import com.azure.android.communication.ui.configuration.ThemeConfiguration ;
440
+
433
441
CallComposite callComposite =
434
442
new CallCompositeBuilder ()
435
443
.theme(new ThemeConfiguration (R . style. MyCompany_CallComposite ))
436
444
.build();
437
- ```
445
+ ```
0 commit comments