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 {
|
2017-10-12 23:02:29 +00:00
|
|
|
/* eslint-disable no-unused-vars, no-empty-function */
|
2015-12-25 16:55:45 +00:00
|
|
|
/**
|
2016-01-15 14:59:35 +00:00
|
|
|
* Show this container.
|
2015-12-25 16:55:45 +00:00
|
|
|
* @returns Promise
|
|
|
|
*/
|
2017-10-12 23:02:29 +00:00
|
|
|
show() {
|
2015-12-25 16:55:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2016-01-15 14:59:35 +00:00
|
|
|
* Hide this container.
|
2015-12-25 16:55:45 +00:00
|
|
|
* @returns Promise
|
|
|
|
*/
|
2017-10-12 23:02:29 +00:00
|
|
|
hide() {
|
2015-12-25 16:55:45 +00:00
|
|
|
}
|
|
|
|
|
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
|
|
|
|
*/
|
2017-10-12 23:02:29 +00:00
|
|
|
resize(containerWidth, containerHeight, animate) {
|
2015-12-25 16:55:45 +00:00
|
|
|
}
|
|
|
|
|
2016-01-15 14:59:35 +00:00
|
|
|
/**
|
|
|
|
* Handler for "hover in" events.
|
|
|
|
*/
|
2017-10-12 23:02:29 +00:00
|
|
|
onHoverIn(e) {
|
2015-12-25 16:55:45 +00:00
|
|
|
}
|
|
|
|
|
2016-01-15 14:59:35 +00:00
|
|
|
/**
|
|
|
|
* Handler for "hover out" events.
|
|
|
|
*/
|
2017-10-12 23:02:29 +00:00
|
|
|
onHoverOut(e) {
|
2015-12-25 16:55:45 +00:00
|
|
|
}
|
2016-03-15 20:38:10 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Update video stream.
|
2017-06-15 15:01:32 +00:00
|
|
|
* @param {string} userID
|
2016-03-15 20:38:10 +00:00
|
|
|
* @param {JitsiTrack?} stream new stream
|
|
|
|
* @param {string} videoType video type
|
|
|
|
*/
|
2017-10-12 23:02:29 +00:00
|
|
|
setStream(userID, stream, videoType) {
|
2016-03-15 20:38:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Show or hide user avatar.
|
|
|
|
* @param {boolean} show
|
|
|
|
*/
|
2017-10-12 23:02:29 +00:00
|
|
|
showAvatar(show) {
|
2016-03-15 20:38:10 +00:00
|
|
|
}
|
|
|
|
|
2016-03-18 03:19:09 +00:00
|
|
|
/**
|
|
|
|
* Whether current container needs to be switched on dominant speaker event
|
|
|
|
* when the container is on stage.
|
|
|
|
* @return {boolean}
|
|
|
|
*/
|
2017-10-12 23:02:29 +00:00
|
|
|
stayOnStage() {
|
2016-03-18 03:19:09 +00:00
|
|
|
}
|
2017-10-12 23:02:29 +00:00
|
|
|
|
|
|
|
/* eslint-enable no-unused-vars, no-empty-function */
|
2015-12-25 16:55:45 +00:00
|
|
|
}
|