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
`CallCompositeCallScreenControlBarOptions`, allow the flexibility to customize the button bar by removing specific buttons such as camera, microphone, and audio controls. This API allows you to tailor the user interface according to their specific application requirements and user experience design. Just set the visibility to `false` to hide, the default behavior is for `CallCompositeButtonOptions` object.
13
+
`CallCompositeCallScreenControlBarOptions`, allow the flexibility to customize the button bar by removing specific buttons such as camera, microphone, and audio controls. This API allows you to tailor the user interface according to their specific application requirements and user experience design. Just set the `visible` or `enabled` to `false` for the `CallCompositeButtonViewData` to hide or disable button.
14
14
15
15
#### [Kotlin](#tab/kotlin)
16
-
17
16
```kotlin
18
17
val controlBarOptions =CallCompositeCallScreenControlBarOptions()
`Call composite` is using Fluent UI icons. You can download the icons directly from [the Fluent UI GitHub repository](https://github.com/microsoft/fluentui-system-icons/) and incorporate them into your project as needed. This approach guarantees visual consistency across all user interface elements, enhancing the overall user experience.
63
74
64
75
#### [Kotlin](#tab/kotlin)
65
-
66
76
```kotlin
67
77
val controlBarOptions =CallCompositeCallScreenControlBarOptions()
68
78
69
79
controlBarOptions.setCustomButtons(
70
80
listOf(
71
-
CallCompositeCustomButtonOptions(
81
+
CallCompositeCustomButtonViewData(
82
+
"customButtonId",
72
83
R.drawable.my_button_image,
73
84
"My button",
74
85
fun(it:CallCompositeCustomButtonClickEvent) {
@@ -96,7 +107,8 @@ CallCompositeCallScreenControlBarOptions controlBarOptions = new CallCompositeCa
`CallScreenControlBarOptions`, allow the flexibility to customize the button bar by removing specific buttons such as camera, microphone, and audio controls. This API allows you to tailor the user interface according to their specific application requirements and user experience design. Just set the visibility to `false` to hide, the default behavior is for `ButtonOptions` object.
14
+
`CallScreenControlBarOptions`, allow the flexibility to customize the button bar by removing specific buttons such as camera, microphone, and audio controls. This API allows you to tailor the user interface according to their specific application requirements and user experience design. Just set the `visible` or `enabled` to `false` for the `ButtonViewData` to hide or disable button.
15
15
16
16
```swift
17
-
let cameraButton =ButtonOptions(visible: false)
17
+
let cameraButton =ButtonViewData(visible: false)
18
18
19
19
let callScreenControlBarOptions =CallScreenControlBarOptions(
20
20
cameraButton: cameraButton
@@ -27,6 +27,13 @@ let callComposite = CallComposite(credential: credential)
Button can be updated after launching call composite.
31
+
32
+
```swift
33
+
cameraButton.visible=true
34
+
```
35
+
36
+
30
37
## Add custom actions
31
38
32
39
`Call composite` is using Fluent UI icons. You can download the icons directly from [the Fluent UI GitHub repository](https://github.com/microsoft/fluentui-system-icons/) and incorporate them into your project as needed. This approach guarantees visual consistency across all user interface elements, enhancing the overall user experience.
@@ -47,3 +54,9 @@ let localOptions = LocalOptions(callScreenOptions: callScreenOptions)
47
54
let callComposite =CallComposite(credential: credential)
0 commit comments