feat(api): add notification for when filmstrip gets toggled (#3974)

This commit is contained in:
virtuacoplenny
2019-03-11 11:17:28 -07:00
committed by GitHub
parent 2af1e8da95
commit 22277ad799
4 changed files with 23 additions and 0 deletions
+15
View File
@@ -551,6 +551,21 @@ class API {
this._sendEvent({ name: 'feedback-prompt-displayed' });
}
/**
* Notify external application (if API is enabled) that the display
* configuration of the filmstrip has been changed.
*
* @param {boolean} visible - Whether or not the filmstrip has been set to
* be displayed or hidden.
* @returns {void}
*/
notifyFilmstripDisplayChanged(visible: boolean) {
this._sendEvent({
name: 'filmstrip-display-changed',
visible
});
}
/**
* Notify external application (if API is enabled) that the screen sharing
* has been turned on/off.