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.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /**
  2. * Base class for all Large containers which we can show.
  3. */
  4. export default class LargeContainer {
  5. /**
  6. * Show this container.
  7. * @returns Promise
  8. */
  9. show () {
  10. }
  11. /**
  12. * Hide this container.
  13. * @returns Promise
  14. */
  15. hide () {
  16. }
  17. /**
  18. * Resize this container.
  19. * @param {number} containerWidth available width
  20. * @param {number} containerHeight available height
  21. * @param {boolean} animate if container should animate it's resize process
  22. */
  23. // eslint-disable-next-line no-unused-vars
  24. resize (containerWidth, containerHeight, animate) {
  25. }
  26. /**
  27. * Handler for "hover in" events.
  28. */
  29. onHoverIn (e) { // eslint-disable-line no-unused-vars
  30. }
  31. /**
  32. * Handler for "hover out" events.
  33. */
  34. onHoverOut (e) { // eslint-disable-line no-unused-vars
  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) {// eslint-disable-line no-unused-vars
  43. }
  44. /**
  45. * Show or hide user avatar.
  46. * @param {boolean} show
  47. */
  48. showAvatar (show) { // eslint-disable-line no-unused-vars
  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. }