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
Any participant in the call or meeting can be pinned. Only Microsoft 365 users who have an organizer, co-organizer or presenter role can start spotlight for other participants. This action is idempotent, trying to start spotlight on a pinned participant does nothing
46
25
47
-
To use this feature, a list of participants identifiers is required
26
+
### Start spotlight for participants
27
+
28
+
Any participant in the call or meeting can be pinned. Only Microsoft 365 users who have an organizer, co-organizer, or presenter role can start spotlight for other participants. This action is idempotent, trying to start spotlight on a pinned participant does nothing
29
+
30
+
You need a list of participant identifiers to use this feature.
Any pinned participant in the call or meeting can be unpinned. Only Microsoft 365 users who have an organizer, co-organizer or presenter role can unpin other participants. This action is idempotent, trying to stop spotlight on an unpinned participant does nothing
65
50
66
-
To use this feature, a list of participants identifiers is required
51
+
Any pinned participant in the call or meeting can be unpinned. Only Microsoft 365 users who have an organizer, co-organizer, or presenter role can unpin other participants. This action is idempotent, trying to stop spotlight on an unpinned participant does nothing.
52
+
53
+
You need a list of participants identifiers to use this feature.
All pinned participants can be unpinned using this API. Only MicrosoftTeamsUserIdentifier users who have an organizer, co-organizer or presenter role can unpin all participants.
73
+
74
+
All pinned participants can be unpinned using this operation. Only `MicrosoftTeamsUserIdentifier` users who have an organizer, co-organizer, or presenter role can unpin all participants.
75
+
83
76
```java
84
77
spotlightCallFeature.stopAllSpotlight();
85
78
```
86
79
87
80
### Handle changed states
88
-
The `Spotlight` API allows you to subscribe to `SpotlightChanged` events. A `SpotlightChanged` event comes from a `call` instance and contains information about newly spotlighted participants and participants whose spotlight were stopped
81
+
82
+
Spotlight mode enables you to subscribe to `SpotlightChanged` events. A `SpotlightChanged` event comes from a call instance and contains information about newly spotlighted participants and participants whose spotlight stopped. The returned array `SpotlightedParticipant` is sorted by the order the participants were spotlighted.
83
+
84
+
To get information about all participants with spotlight state changes on the current call, use the following code.
To get information about all participants that have spotlight state on current call, you can use the following API. The returned array is sorted by the order the participants were spotlighted.
106
+
### Get all spotlighted participants
107
+
108
+
To get information about all participants that have spotlight state on current call, use the following operation. The returned array is sorted by the order the participants were spotlighted.
Any participant in the call or meeting can be pinned. Only Microsoft 365 users who have an organizer, co-organizer or presenter role can start spotlight for other participants. This action is idempotent, trying to start spotlight on a pinned participant does nothing
26
+
### Start spotlight for participants
48
27
49
-
To use this feature, a list of participants identifiers is required
28
+
Any participant in the call or meeting can be pinned. Only Microsoft 365 users who have an organizer, co-organizer, or presenter role can start spotlight for other participants. This action is idempotent, trying to start spotlight on a pinned participant does nothing
29
+
30
+
You need a list of participant identifiers to use this feature.
Any pinned participant in the call or meeting can be unpinned. Only Microsoft 365 users who have an organizer, co-organizer or presenter role can unpin other participants. This action is idempotent, trying to stop spotlight on an unpinned participant does nothing
64
44
65
-
To use this feature, a list of participants identifiers is required
45
+
Any pinned participant in the call or meeting can be unpinned. Only Microsoft 365 users who have an organizer, co-organizer, or presenter role can unpin other participants. This action is idempotent, trying to stop spotlight on an unpinned participant does nothing.
46
+
47
+
You need a list of participants identifiers to use this feature.
All pinned participants can be unpinned using this API. Only MicrosoftTeamsUserIdentifier users who have an organizer, co-organizer or presenter role can unpin all participants.
61
+
62
+
All pinned participants can be unpinned using this operation. Only `MicrosoftTeamsUserIdentifier` users who have an organizer, co-organizer, or presenter role can unpin all participants.
63
+
79
64
```swift
80
65
spotlightFeature.stopAllSpotlight(completionHandler: { (error) in
81
66
iflet error = error {
@@ -85,7 +70,11 @@ spotlightFeature.stopAllSpotlight(completionHandler: { (error) in
85
70
```
86
71
87
72
### Handle changed states
88
-
The `Spotlight` API allows you to subscribe to `SpotlightChanged` events. A `SpotlightChanged` event comes from a `call` instance and contains information about newly spotlighted participants and participants whose spotlight were stopped
73
+
74
+
Spotlight mode enables you to subscribe to `SpotlightChanged` events. A `SpotlightChanged` event comes from a call instance and contains information about newly spotlighted participants and participants whose spotlight stopped. The returned array `SpotlightedParticipant` is sorted by the order the participants were spotlighted.
75
+
76
+
To get information about all participants with spotlight state changes on the current call, use the following code.
@@ -107,17 +96,20 @@ public class SpotlightDelegate: SpotlightCallFeatureDelegate {
107
96
}
108
97
```
109
98
110
-
### Get all spotlighted participants:
111
-
To get information about all participants that have spotlight state on current call, you can use the following API. The returned array is sorted by the order the participants were spotlighted.
99
+
### Get all spotlighted participants
100
+
101
+
To get information about all participants that have spotlight state on the current call, use the following operation. The returned array is sorted by the order the participants were spotlighted.
112
102
113
103
```swift
114
104
spotlightCallFeature.spotlightedParticipants.forEach { participant in
115
105
print("Spotlight active for participant: "+ Utilities.toMri(participant.identifier))
116
106
}
117
107
```
118
108
119
-
### Get the maximum supported spotlight:
120
-
The following API can be used to get the maximum number of participants that can be spotlighted using the Calling SDK
109
+
### Get the maximum supported spotlight participants
110
+
111
+
Use the following operation to get the maximum number of participants that can be spotlighted using the Calling SDK.
0 commit comments