Skip to content

Commit 78db746

Browse files
Update dominant-speaker-ios.md
1 parent 21245e5 commit 78db746

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

articles/communication-services/how-tos/calling-sdk/includes/dominant-speaker/dominant-speaker-ios.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ ms.author: jsaurezlee
88

99
[!INCLUDE [Install SDK](../install-sdk/install-sdk-ios.md)]
1010

11-
[!INCLUDE [public-preview-notes](../../../../includes/public-preview-include.md)]
12-
1311
[!INCLUDE [common](dominant-speaker-common.md)]
1412

1513
In order to use the Dominant Speakers call feature for iOS, the first step is to obtain the Dominant Speakers feature API object:
@@ -21,7 +19,7 @@ The Dominant Speakers feature object have the following API structure:
2119
- `didChangeDominantSpeakers`: Event for listening for changes in the dominant speakers list.
2220
- `dominantSpeakersInfo`: Which gets the `DominantSpeakersInfo` object. This object has:
2321
- `speakers`: A list of participant identifiers representing the dominant speakers list.
24-
- `timestamp`: The date when the dominant speakers list was updated.
22+
- `lastUpdatedAt`: The date when the dominant speakers list was updated.
2523

2624
To subscribe to changes in the dominant speakers list:
2725

@@ -36,7 +34,7 @@ public class DominantSpeakersDelegate : DominantSpeakersCallFeatureDelegate
3634
public func dominantSpeakersCallFeature(_ dominantSpeakersCallFeature: DominantSpeakersCallFeature, didChangeDominantSpeakers args: PropertyChangedEventArgs) {
3735
// When the list changes, get the timestamp of the last change and the current list of Dominant Speakers
3836
let dominantSpeakersInfo = dominantSpeakersCallFeature.dominantSpeakersInfo
39-
let timestamp = dominantSpeakersInfo.timestamp
37+
let timestamp = dominantSpeakersInfo.lastUpdatedAt
4038
let dominantSpeakersList = dominantSpeakersInfo.speakers
4139
}
4240
}

0 commit comments

Comments
 (0)