Skip to content

Commit 4cd1765

Browse files
committed
Merge branch 'release_acs_calling_composite' of github.com:ahammer/azure-docs-pr into release_acs_calling_composite
2 parents 9681074 + 3189af6 commit 4cd1765

File tree

2 files changed

+4
-3
lines changed
  • articles/communication-services
    • how-tos/ui-library-sdk/includes/theming
    • quickstarts/ui-library/includes/get-started-call

2 files changed

+4
-3
lines changed

articles/communication-services/how-tos/ui-library-sdk/includes/theming/android.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Theming on Android is handled via XML resource files. We expose the following re
2929
Contoso developers can implement a **Theme** within their apps like this one to supply the primary color and tints.
3030

3131
```XML
32-
<style name="Contoso.Theme.Calling" parent="AzureCommunicationUICalling.Theme">
32+
<style name="MyCompany.CallComposite" parent="AzureCommunicationUICalling.Theme">
3333
<item name="azure_communication_ui_calling_primary_color">#7800D4</item>
3434
<item name="azure_communication_ui_calling_primary_color_tint10">#882BD8</item>
3535
<item name="azure_communication_ui_calling_primary_color_tint20">#E0C7F4</item>
@@ -72,6 +72,8 @@ CallComposite callComposite =
7272
.build();
7373
```
7474

75+
----
76+
7577
#### Light/Dark modes
7678

7779
The Android resource system handles the night theme. Night mode on Android is a system-wide configuration. When night mode is enabled, preference is given to resources in the `-night/` folders. To specify night mode colors, a second theme.xml would be added to the `values-night/`.

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ The following classes and interfaces handle some of the major features of the Az
217217
| [CallCompositeBuilder](#create-call-composite) | Builder to build CallComposite with options. |
218218
| [CallCompositeJoinMeetingLocator](#group-call) | Passed in CallComposite launch to start group call. |
219219
| [CallCompositeTeamsMeetingLinkLocator](#teams-meeting) | Passed to CallComposite launch to join Teams meeting. |
220-
| [ThemeConfiguration](#apply-theme-configuration) | Injected as optional in CallCompositeBuilder to change primary color and tint of composite. |
221220
| [CallCompositeLocalizationOptions](#apply-localization-configuration) | Injected as optional in CallCompositeBuilder to set language of composite. |
222221

223222
## UI Library functionality
@@ -356,7 +355,7 @@ callComposite.launch(context, remoteOptions);
356355
-----
357356
### Subscribe to error events from `CallComposite`
358357

359-
To receive error events, register an `onErrorHandler` with the `CallComposite`.
358+
To receive error events, call `setOnErrorHandler` with the `CallComposite`.
360359

361360
The following `errorCode` values may be sent to the Error Handler
362361

0 commit comments

Comments
 (0)