You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LargeContainer.js 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /**
  2. * Base class for all Large containers which we can show.
  3. */
  4. export default class LargeContainer {
  5. /* eslint-disable no-unused-vars, no-empty-function */
  6. /**
  7. * Show this container.
  8. * @returns Promise
  9. */
  10. show() {
  11. }
  12. /**
  13. * Hide this container.
  14. * @returns Promise
  15. */
  16. hide() {
  17. }
  18. /**
  19. * Resize this container.
  20. * @param {number} containerWidth available width
  21. * @param {number} containerHeight available height
  22. * @param {boolean} animate if container should animate it's resize process
  23. */
  24. resize(containerWidth, containerHeight, animate) {
  25. }
  26. /**
  27. * Handler for "hover in" events.
  28. */
  29. onHoverIn(e) {
  30. }
  31. /**
  32. * Handler for "hover out" events.
  33. */
  34. onHoverOut(e) {
  35. }
  36. /**
  37. * Update video stream.
  38. * @param {string} userID
  39. * @param {JitsiTrack?} stream new stream
  40. * @param {string} videoType video type
  41. */
  42. setStream(userID, stream, videoType) {
  43. }
  44. /**
  45. * Show or hide user avatar.
  46. * @param {boolean} show
  47. */
  48. showAvatar(show) {
  49. }
  50. /**
  51. * Whether current container needs to be switched on dominant speaker event
  52. * when the container is on stage.
  53. * @return {boolean}
  54. */
  55. stayOnStage() {
  56. }
  57. /* eslint-enable no-unused-vars, no-empty-function */
  58. }