jiti-meet/modules/UI/videolayout/LargeContainer.js

67 lines
1.4 KiB
JavaScript
Raw Normal View History

2015-12-25 16:55:45 +00:00
2016-01-15 14:59:35 +00:00
/**
* Base class for all Large containers which we can show.
*/
2015-12-25 16:55:45 +00:00
export default class LargeContainer {
/**
2016-01-15 14:59:35 +00:00
* Show this container.
2015-12-25 16:55:45 +00:00
* @returns Promise
*/
show () {
}
/**
2016-01-15 14:59:35 +00:00
* Hide this container.
2015-12-25 16:55:45 +00:00
* @returns Promise
*/
hide () {
}
2016-01-15 14:59:35 +00:00
/**
* Resize this container.
* @param {number} containerWidth available width
* @param {number} containerHeight available height
* @param {boolean} animate if container should animate it's resize process
*/
// eslint-disable-next-line no-unused-vars
2015-12-25 16:55:45 +00:00
resize (containerWidth, containerHeight, animate) {
}
2016-01-15 14:59:35 +00:00
/**
* Handler for "hover in" events.
*/
onHoverIn (e) { // eslint-disable-line no-unused-vars
2015-12-25 16:55:45 +00:00
}
2016-01-15 14:59:35 +00:00
/**
* Handler for "hover out" events.
*/
onHoverOut (e) { // eslint-disable-line no-unused-vars
2015-12-25 16:55:45 +00:00
}
/**
* Update video stream.
* @param {string} userID
* @param {JitsiTrack?} stream new stream
* @param {string} videoType video type
*/
setStream (userID, stream, videoType) {// eslint-disable-line no-unused-vars
}
/**
* Show or hide user avatar.
* @param {boolean} show
*/
showAvatar (show) { // eslint-disable-line no-unused-vars
}
/**
* Whether current container needs to be switched on dominant speaker event
* when the container is on stage.
* @return {boolean}
*/
stayOnStage () {
}
2015-12-25 16:55:45 +00:00
}