SpotlightCallFeature interface
Spotlight call feature.
- Extends
Properties
max |
Returns the maximum number of participants that can be Spotlighted |
Inherited Properties
name | The feature name. |
Methods
get |
|
off("spotlight |
Subscribe function for SpotlightUpdated event |
on("spotlight |
Subscribe function for SpotlightUpdated event |
start |
|
stop |
Stops Spotlighting for all participants. |
stop |
Inherited Methods
dispose() |
Property Details
maxParticipantsToSpotlight
Returns the maximum number of participants that can be Spotlighted
maxParticipantsToSpotlight: number
Property Value
number
Inherited Property Details
name
Method Details
getSpotlightedParticipants()
function getSpotlightedParticipants(): SpotlightedParticipant[]
Returns
Returns list of all participants currently Spotlighted
off("spotlightChanged", CollectionUpdatedEvent<SpotlightedParticipant>)
Subscribe function for SpotlightUpdated event
function off(event: "spotlightChanged", listener: CollectionUpdatedEvent<SpotlightedParticipant>)
Parameters
- event
-
"spotlightChanged"
event name
- listener
callback function that was used to subscribe to this event
on("spotlightChanged", CollectionUpdatedEvent<SpotlightedParticipant>)
Subscribe function for SpotlightUpdated event
function on(event: "spotlightChanged", listener: CollectionUpdatedEvent<SpotlightedParticipant>)
Parameters
- event
-
"spotlightChanged"
event name
- listener
callback function that was used to subscribe to this event
startSpotlight(CommunicationIdentifier[])
function startSpotlight(participants?: CommunicationIdentifier[]): Promise<void>
Parameters
- participants
starts Spotlight for local and remote participants when participants array is not passed, action is performed on local participant
Returns
Promise<void>
A Promise representing the completion of startParticipantSpotlight operation. A 'SpotlightUpdated' event will be emitted when startParticipantSpotlight have successfully started.
stopAllSpotlight()
Stops Spotlighting for all participants.
function stopAllSpotlight(): Promise<void>
Returns
Promise<void>
A Promise representing the completion of the stopAllSpotlight operation. A 'SpotlightUpdated' event will be emitted when stopAllSpotlight have successfully stopped.
stopSpotlight(CommunicationIdentifier[])
function stopSpotlight(participants?: CommunicationIdentifier[]): Promise<void>
Parameters
- participants
stops Spotlight for local and remote participants when participants array is not passed, action is performed on local participant
Returns
Promise<void>
A Promise representing the completion of stopParticipantSpotlight operation. A 'SpotlightUpdated' event will be emitted when stopParticipantSpotlight have successfully stopped.
Inherited Method Details
dispose()
function dispose()
Inherited From CallFeature.dispose