Skip to content

Commit c35a924

Browse files
authored
Update ios.md
1 parent a4675fa commit c35a924

File tree

1 file changed

+5
-5
lines changed
  • articles/communication-services/how-tos/ui-library-sdk/includes/data-model

1 file changed

+5
-5
lines changed

articles/communication-services/how-tos/ui-library-sdk/includes/data-model/ios.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ The UI Library now gives developers the ability to provide a more customized exp
1818

1919
`LocalOptions` is data model that can have `ParticipantViewData` and `NavigationBarViewData` that will represent the local participant. By default for `ParticipantViewData`, the UI library will display the `displayName` injected in `RemoteOptions` that is sent to Azure Communication Service backend server. If `ParticipantViewData` is injected, the participant `displayName` and `avatar` will be displayed in all avatar components.
2020

21-
Similarly, for 'NavigationBarViewData', by default the UI library will display 'Setup' as the title and subtitle will be set to hidden. The `title` and `subtitle` in 'NavigationBarViewData' would overwrite the navigation bar's title and subtitle in pre-meeting screen respectively.
21+
Similarly, for 'SetupScreenViewData', by default the UI library will display 'Setup' as the title and subtitle will be set to hidden. The `title` and `subtitle` in 'SetupScreenViewData' would overwrite the navigation bar's title and subtitle in pre-meeting screen respectively.
2222

2323
#### Participant View Data
2424

2525
`ParticipantViewData` is an object that sets the `displayName` and `avatar` UIImage for avatar components. This class is injected into the UI Library to set avatar information, and it will always be locally stored and never sent up to the server.
2626

27-
#### Navigation Bar View Data
27+
#### Setup Screen View Data
2828

29-
`NavigationBarViewData` is an object that sets the `title` and `subtitle` for the navigationBar on pre-meeting screen (aka. Setup View). If `NavigationBarViewData` is defined, then 'title' must be provided as it's a required field. 'subtitle', however, is not required.
29+
`SetupScreenViewData` is an object that sets the `title` and `subtitle` for the navigationBar on pre-meeting screen (aka. Setup View). If `SetupScreenViewData` is defined, then 'title' must be provided as it's a required field. 'subtitle', however, is not required.
3030
If `subtitle` is not defined, then the subtitle would always be set to hidden. This class is locally stored and its information will not be sent up to the server.
3131

3232
#### Usage
@@ -35,10 +35,10 @@ If `subtitle` is not defined, then the subtitle would always be set to hidden. T
3535
// LocalOptions (data not sent to server)
3636
let localParticipantViewData = ParticipantViewData(avatar: <Some UIImage>,
3737
displayName: "<DISPLAY_NAME>")
38-
let localNavigationBarViewData = NavigationBarViewData(title: "<NAV_TITLE>",
38+
let localSetupScreenViewData = SetupScreenViewData(title: "<NAV_TITLE>",
3939
subtitle: "<NAV_SUBTITLE>")
4040
let localOptions = LocalOptions(participantViewData: localParticipantViewData,
41-
navigationBarViewData: localNavigationBarViewData)
41+
navigationBarViewData: localSetupScreenViewData)
4242
// RemoteOptions (data sent to server)
4343
let remoteOptions = RemoteOptions(for: .groupCall(groupId: UUID()),
4444
credential: <Some CommunicationTokenCredential>,

0 commit comments

Comments
 (0)