@@ -8,8 +8,6 @@ ms.author: jsaurezlee
8
8
9
9
[ !INCLUDE [ Install SDK] ( ../install-sdk/install-sdk-ios.md )]
10
10
11
- [ !INCLUDE [ public-preview-notes] ( ../../../../includes/public-preview-include.md )]
12
-
13
11
[ !INCLUDE [ common] ( dominant-speaker-common.md )]
14
12
15
13
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:
21
19
- ` didChangeDominantSpeakers ` : Event for listening for changes in the dominant speakers list.
22
20
- ` dominantSpeakersInfo ` : Which gets the ` DominantSpeakersInfo ` object. This object has:
23
21
- ` 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.
25
23
26
24
To subscribe to changes in the dominant speakers list:
27
25
@@ -36,7 +34,7 @@ public class DominantSpeakersDelegate : DominantSpeakersCallFeatureDelegate
36
34
public func dominantSpeakersCallFeature (_ dominantSpeakersCallFeature : DominantSpeakersCallFeature, didChangeDominantSpeakers args : PropertyChangedEventArgs) {
37
35
// When the list changes, get the timestamp of the last change and the current list of Dominant Speakers
38
36
let dominantSpeakersInfo = dominantSpeakersCallFeature.dominantSpeakersInfo
39
- let timestamp = dominantSpeakersInfo.timestamp
37
+ let timestamp = dominantSpeakersInfo.lastUpdatedAt
40
38
let dominantSpeakersList = dominantSpeakersInfo.speakers
41
39
}
42
40
}
0 commit comments