You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/concepts/ui-library/includes/mobile-ui-use-cases.md
+26-11Lines changed: 26 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,19 +30,20 @@ You can use the call composite in Communication Services to create these use cas
30
30
|| Show shared screen content in the participant gallery |
31
31
|| Enable participant avatar customization |
32
32
|| Show a participant roster |
33
-
| Call configuration| Manage the microphone device |
33
+
| Call management| Manage the microphone device |
34
34
|| Manage the camera device |
35
35
|| Manage the speaker device (wired or Bluetooth) |
36
36
|| Make local preview available for a user to check video |
37
-
|| Enable end call confirmation dialogue |
38
-
|| Skip setup screen |
37
+
|| Subscribe events |
39
38
| Call controls | Mute and unmute a call |
40
39
|| Turn video on or off during a call |
41
40
|| End a call |
42
41
|| Hold and resume a call after audio interruption |
43
42
|| CallKit and TelecomManager Support |
44
43
| Customize the experience | Button bar customization |
45
44
|| Title and subtitle configuration |
45
+
|| Enable end call confirmation dialogue |
46
+
|| Skip setup screen |
46
47
47
48
## Call integration
48
49
@@ -96,13 +97,19 @@ Closed captions enable a wide range of scenarios, including interoperability wit
96
97
97
98
If you're looking more detailed information about closed captions, feel free to visit [the documentation](../../voice-video-calling/closed-captions.md) to review explanations and usage guidelines. Additionally, if you want to jump directly into the configuration of closed captions directly within the UI Library, you can follow our [tutorial](../../../how-tos/ui-library-sdk/closed-captions.md) for easy setup.
98
99
100
+
### Events
101
+
102
+
Developers can now subscribe to events within the Call Composite, enabling them to attach listeners to specific events throughout the call lifecycle. This enhancement provides greater control and customization opportunities, allowing developers to trigger custom actions based on events like participant join, or participants left the call. Whether it's for logging interactions, dynamically updating user interfaces, or enhancing overall functionality.
103
+
104
+
For more information, see [How to handle events](../../../how-tos/ui-library-sdk/events.md).
105
+
99
106
### Localization
100
107
101
108
Localization is key to making products for users around the world and who speak different languages. UI Library supports 12 languages: English, Spanish, French, German, Italian, Japanese, Korean, Dutch, Portuguese, Russian, Turkish, and Chinese. It also supports right-to-left languages. For more information, see [How to add localization to your app](../../../how-tos/ui-library-sdk/localization.md).
102
109
103
110
### Multitasking and Picture-in-Picture
104
111
105
-
UI Library supports picture in picture mode for call screen. While being in the call, user can click back button on call screen to enable multitasking, which will take user back to previous screen. If Picture-in-Picture is enabled, a system Picture-in-Picture will be displayed for call. To learn more about the multitasking and Picture-in-Picture for both Android and iOS platform and usage of the API, see [How to use Picture-in-Picture.](../../../how-tos/ui-library-sdk/picture-in-picture.md)
112
+
UI Library supports picture in picture mode for call screen. While being in the call, user can click back button on call screen to enable multitasking, which takes the user back to previous screen. If Picture-in-Picture is enabled, a system Picture-in-Picture will be displayed for call. To learn more about the multitasking and Picture-in-Picture for both Android and iOS platform and usage of the API, see [How to use Picture-in-Picture.](../../../how-tos/ui-library-sdk/picture-in-picture.md)
106
113
107
114
### Screen orientation
108
115
@@ -157,25 +164,25 @@ The functionality allows developers to add new actions into the contextual menu
157
164
158
165
Consider the following constraints during the implementation of this feature:
159
166
160
-
- Icons and Labels: Icons are added only for new actions. The button bar icons keep the predefined icon, labels should be concise to fit the menu dimension.
167
+
- Icons and Labels: Icons are added only for new actions. The button bar icons keep the predefined icons and the labels should be concise to fit the menu dimension.
161
168
- Accessibility Considerations: Developers should ensure that all custom buttons are accessible, including appropriate labeling for screen readers.
162
169
163
170
|Remove buttons | Add custom actions|
164
171
|------------- | ------------------|
165
172
| :::image type="content" source="media/ui-library-remove-button.png" alt-text="Screenshot that demonstrates the remove button on the bottom bar."::: | :::image type="content" source="media/ui-library-add-action-button.png" alt-text="Screenshot that demonstrates add custom action into the contextual menu."::: |
166
173
167
-
#### Use Cases
174
+
#### Use cases
168
175
169
176
- Custom In-Call Actions: A business application can add a custom "Report Issue" button, allowing users to directly report technical issues during a call.
170
177
- Branding and User Experience: An enterprise app can remove buttons that are irrelevant to its use case and add branded buttons that enhance the user experience.
171
178
172
-
To ensure a consistent call experience, , we recommend that you integrate Fluent UI icons into your project; available at [Fluent UI GitHub repository](https://github.com/microsoft/fluentui-system-icons/). By doing so, your custom icons will match the design of the Call Composite, creating a cohesive and professional appearance.
179
+
To ensure a consistent call experience, we recommend that you integrate Fluent UI icons into your project; available at [Fluent UI GitHub repository](https://github.com/microsoft/fluentui-system-icons/). By doing so, your custom icons match the design of the Call Composite, creating a cohesive and professional appearance.
173
180
174
-
#### Best Practices
181
+
#### Best practices
175
182
176
-
-Minimalism: Avoid overcrowding the contextual menu bar. Only add buttons that are essential for the user experience.
183
+
-Clean design: Avoid overcrowding the contextual menu bar. Only add buttons that are essential for the user experience.
177
184
- User Testing: Conduct user testing to ensure the customizations meets user needs and don't confuse or overwhelm them.
178
-
- Add a Feedback Mechanism: If adding buttons for actions like "Report Issue," ensure there's a robust backend system to handle the feedback collected, you can re use the [mechanism that UI Library provide by default](../../../tutorials/collecting-user-feedback/collecting-user-feedback.md).
185
+
- Add a Feedback Mechanism: If adding buttons for actions like "Report Issue," ensure there's a robust backend system to handle the feedback collected, you can reuse the [mechanism that UI Library provides by default](../../../tutorials/collecting-user-feedback/collecting-user-feedback.md).
179
186
180
187
For more information, see [How to customize the button bar](../../../how-tos/ui-library-sdk/button-injection.md).
181
188
@@ -193,7 +200,15 @@ You can use the UI Library call composite for iOS and Android to create a custom
193
200
194
201
### Title and Subtitle
195
202
196
-
Some text
203
+
The UI Library allows you to input custom strings, making it easier to tailor the call interface to suit your specific needs. You can customize the title and subtitle of a call, both during the setup phase and while the call is in progress.
204
+
205
+
For example, in a corporate environment, you can set the title to reflect the meeting's agenda and the subtitle to indicate an announcement, and for customer support, agents can use titles to display the nature of the inquiry, enhancing clarity and communication.
206
+
207
+
Additionally, during calls with time-sensitive discussions, you can use the subtitle to display the call duration, ensuring all participants are aware of the time constraints.
208
+
209
+
For more information, visit the tutorial: [How to setup the title and subtitle](../../../how-tos/ui-library-sdk/setup-title-subtitle.md).
description: Customize the title and subtitle of the call bar in the Android UI Library
3
+
author: garchiro7
4
+
5
+
ms.author: jorgegarc
6
+
ms.date: 09/01/2024
7
+
ms.topic: include
8
+
ms.service: azure-communication-services
9
+
---
10
+
11
+
## Customize title and subtitle
12
+
13
+
To set and update call screen header `title` and `subtitle`, utilize `CallCompositeCallScreenOptions` to configure `CallCompositeCallScreenHeaderOptions`. Default UI library title will be displayed if `title` value is not configured.
14
+
15
+
#### [Kotlin](#tab/kotlin)
16
+
17
+
```kotlin
18
+
// create call screen header options to set title and subtitle
19
+
val callScreenHeaderOptions =CallCompositeCallScreenHeaderOptions()
20
+
callScreenHeaderOptions.title ="title"
21
+
callScreenHeaderOptions.subtitle ="subtitle"
22
+
23
+
// create call screen options
24
+
val callScreenOptions =CallCompositeCallScreenOptions()
description: Customize the title and subtitle of the call bar in the iOS UI Library
3
+
author: garchiro7
4
+
5
+
ms.author: jorgegarc
6
+
ms.date: 09/01/2024
7
+
ms.topic: include
8
+
ms.service: azure-communication-services
9
+
---
10
+
11
+
## Customize title and subtitle
12
+
13
+
To set and update call screen infoHeader `title` & `subtitle`, we have `CallScreenHeaderOptions` to configure and pass to `CallScreenOptions` by param `headerOptions`. The `title`, `Subtitle` in `CallScreenHeaderOptions` are optional parameters and `headerOptions` itself is optional as well.
14
+
15
+
```swift
16
+
var callScreenHeaderOptions =CallScreenHeaderOptions(
17
+
title: "This is a custom InfoHeader",
18
+
subtitle: "This is a custom subtitle")
19
+
var callScreenOptions =CallScreenOptions(controlBarOptions: barOptions,
20
+
headerOptions: callScreenHeaderOptions)
21
+
22
+
// Use any event from call composite to update title & subtitle when the call is in progress.
Developers now have the capability to customize the title and subtitle of a call, both during setup and while the call is in progress. This feature allows for greater flexibility in aligning the call experience with specific use cases.
23
+
24
+
For instance, in a customer support scenario, the title could display the issue being addressed, while the subtitle could show the customer's name or ticket number.
25
+
26
+
Additionally, if tracking time spent in various segments of the call is crucial, the subtitle could dynamically update to display the elapsed call duration, helping to manage the meeting or session effectively.
27
+
28
+
## Prerequisites
29
+
30
+
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
31
+
- A deployed Communication Services resource. [Create a Communication Services resource](../../quickstarts/create-communication-resource.md).
32
+
- A user access token to enable the call client. [Get a user access token](../../quickstarts/access-tokens.md).
33
+
- Optional: Completion of the [quickstart for getting started with the UI Library composites](../../quickstarts/ui-library/get-started-composites.md).
34
+
35
+
## Set up the feature
36
+
37
+
::: zone pivot="platform-android"
38
+
[!INCLUDE [Customize the title and subtitle in the Android UI Library](./includes/setup-title-subtitle/android.md)]
39
+
::: zone-end
40
+
41
+
::: zone pivot="platform-ios"
42
+
[!INCLUDE [Customize the title and subtitle in the iOS UI Library](./includes/setup-title-subtitle/ios.md)]
43
+
::: zone-end
44
+
45
+
## Next steps
46
+
47
+
-[Learn more about the UI Library](../../concepts/ui-library/ui-library-overview.md)
0 commit comments