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.

UIEvents.js 3.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. export default {
  2. NICKNAME_CHANGED: "UI.nickname_changed",
  3. SELECTED_ENDPOINT: "UI.selected_endpoint",
  4. PINNED_ENDPOINT: "UI.pinned_endpoint",
  5. /**
  6. * Notifies that local user created text message.
  7. */
  8. MESSAGE_CREATED: "UI.message_created",
  9. /**
  10. * Notifies that local user changed language.
  11. */
  12. LANG_CHANGED: "UI.lang_changed",
  13. /**
  14. * Notifies that local user changed email.
  15. */
  16. EMAIL_CHANGED: "UI.email_changed",
  17. /**
  18. * Notifies that "start muted" settings changed.
  19. */
  20. START_MUTED_CHANGED: "UI.start_muted_changed",
  21. AUDIO_MUTED: "UI.audio_muted",
  22. VIDEO_MUTED: "UI.video_muted",
  23. ETHERPAD_CLICKED: "UI.etherpad_clicked",
  24. SHARED_VIDEO_CLICKED: "UI.start_shared_video",
  25. /**
  26. * Updates shared video with params: url, state, time(optional)
  27. * Where url is the video link, state is stop/start/pause and time is the
  28. * current video playing time.
  29. */
  30. UPDATE_SHARED_VIDEO: "UI.update_shared_video",
  31. ROOM_LOCK_CLICKED: "UI.room_lock_clicked",
  32. USER_INVITED: "UI.user_invited",
  33. USER_KICKED: "UI.user_kicked",
  34. REMOTE_AUDIO_MUTED: "UI.remote_audio_muted",
  35. FULLSCREEN_TOGGLE: "UI.fullscreen_toggle",
  36. AUTH_CLICKED: "UI.auth_clicked",
  37. TOGGLE_CHAT: "UI.toggle_chat",
  38. TOGGLE_SETTINGS: "UI.toggle_settings",
  39. TOGGLE_CONTACT_LIST: "UI.toggle_contact_list",
  40. /**
  41. * Notifies that a command to toggle the film strip has been issued. The
  42. * event may optionally specify a {Boolean} (primitive) value to assign to
  43. * the visibility of the film strip (i.e. the event may act as a setter).
  44. * The very toggling of the film strip may or may not occurred at the time
  45. * of the receipt of the event depending on the position of the receiving
  46. * event listener in relation to the event listener which carries out the
  47. * command to toggle the film strip.
  48. *
  49. * @see {TOGGLED_FILM_STRIP}
  50. */
  51. TOGGLE_FILM_STRIP: "UI.toggle_film_strip",
  52. /**
  53. * Notifies that the film strip was (actually) toggled. The event supplies
  54. * a {Boolean} (primitive) value indicating the visibility of the film
  55. * strip after the toggling (at the time of the event emission).
  56. *
  57. * @see {TOGGLE_FILM_STRIP}
  58. */
  59. TOGGLED_FILM_STRIP: "UI.toggled_film_strip",
  60. TOGGLE_SCREENSHARING: "UI.toggle_screensharing",
  61. TOGGLED_SHARED_DOCUMENT: "UI.toggled_shared_document",
  62. CONTACT_CLICKED: "UI.contact_clicked",
  63. HANGUP: "UI.hangup",
  64. LOGOUT: "UI.logout",
  65. RECORDING_TOGGLED: "UI.recording_toggled",
  66. SIP_DIAL: "UI.sip_dial",
  67. SUBJECT_CHANGED: "UI.subject_changed",
  68. VIDEO_DEVICE_CHANGED: "UI.video_device_changed",
  69. AUDIO_DEVICE_CHANGED: "UI.audio_device_changed",
  70. AUDIO_OUTPUT_DEVICE_CHANGED: "UI.audio_output_device_changed",
  71. /**
  72. * Notifies interested listeners that the follow-me feature is enabled or
  73. * disabled.
  74. */
  75. FOLLOW_ME_ENABLED: "UI.follow_me_enabled",
  76. /**
  77. * Notifies that flipX property of the local video is changed.
  78. */
  79. LOCAL_FLIPX_CHANGED: "UI.local_flipx_changed",
  80. // An event which indicates that the resolution of a remote video has
  81. // changed.
  82. RESOLUTION_CHANGED: "UI.resolution_changed",
  83. /**
  84. * Notifies that the button "Go to webstore" is pressed on the dialog for
  85. * external extension installation.
  86. */
  87. OPEN_EXTENSION_STORE: "UI.open_extension_store",
  88. /**
  89. * Notifies that the button "Cancel" is pressed on the dialog for
  90. * external extension installation.
  91. */
  92. EXTERNAL_INSTALLATION_CANCELED: "UI.external_installation_canceled"
  93. };