Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

UIEvents.js 5.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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. * Indicates that an invite button has been clicked.
  27. */
  28. INVITE_CLICKED: "UI.invite_clicked",
  29. /**
  30. * Updates shared video with params: url, state, time(optional)
  31. * Where url is the video link, state is stop/start/pause and time is the
  32. * current video playing time.
  33. */
  34. UPDATE_SHARED_VIDEO: "UI.update_shared_video",
  35. USER_KICKED: "UI.user_kicked",
  36. REMOTE_AUDIO_MUTED: "UI.remote_audio_muted",
  37. TOGGLE_FULLSCREEN: "UI.toogle_fullscreen",
  38. FULLSCREEN_TOGGLED: "UI.fullscreen_toggled",
  39. AUTH_CLICKED: "UI.auth_clicked",
  40. TOGGLE_CHAT: "UI.toggle_chat",
  41. TOGGLE_SETTINGS: "UI.toggle_settings",
  42. TOGGLE_CONTACT_LIST: "UI.toggle_contact_list",
  43. /**
  44. * Notifies that the profile toolbar button has been clicked.
  45. */
  46. TOGGLE_PROFILE: "UI.toggle_profile",
  47. /**
  48. * Notifies that a command to toggle the filmstrip has been issued. The
  49. * event may optionally specify a {Boolean} (primitive) value to assign to
  50. * the visibility of the filmstrip (i.e. the event may act as a setter).
  51. * The very toggling of the filmstrip may or may not occurred at the time
  52. * of the receipt of the event depending on the position of the receiving
  53. * event listener in relation to the event listener which carries out the
  54. * command to toggle the filmstrip.
  55. *
  56. * @see {TOGGLED_FILMSTRIP}
  57. */
  58. TOGGLE_FILMSTRIP: "UI.toggle_filmstrip",
  59. /**
  60. * Notifies that the filmstrip was (actually) toggled. The event supplies a
  61. * {Boolean} (primitive) value indicating the visibility of the filmstrip
  62. * after the toggling (at the time of the event emission).
  63. *
  64. * @see {TOGGLE_FILMSTRIP}
  65. */
  66. TOGGLED_FILMSTRIP: "UI.toggled_filmstrip",
  67. TOGGLE_SCREENSHARING: "UI.toggle_screensharing",
  68. TOGGLED_SHARED_DOCUMENT: "UI.toggled_shared_document",
  69. CONTACT_CLICKED: "UI.contact_clicked",
  70. HANGUP: "UI.hangup",
  71. LOGOUT: "UI.logout",
  72. RECORDING_TOGGLED: "UI.recording_toggled",
  73. SIP_DIAL: "UI.sip_dial",
  74. SUBJECT_CHANGED: "UI.subject_changed",
  75. VIDEO_DEVICE_CHANGED: "UI.video_device_changed",
  76. AUDIO_DEVICE_CHANGED: "UI.audio_device_changed",
  77. AUDIO_OUTPUT_DEVICE_CHANGED: "UI.audio_output_device_changed",
  78. /**
  79. * Notifies interested listeners that the follow-me feature is enabled or
  80. * disabled.
  81. */
  82. FOLLOW_ME_ENABLED: "UI.follow_me_enabled",
  83. /**
  84. * Notifies that flipX property of the local video is changed.
  85. */
  86. LOCAL_FLIPX_CHANGED: "UI.local_flipx_changed",
  87. // An event which indicates that the resolution of a remote video has
  88. // changed.
  89. RESOLUTION_CHANGED: "UI.resolution_changed",
  90. /**
  91. * Notifies that the button "Go to webstore" is pressed on the dialog for
  92. * external extension installation.
  93. */
  94. OPEN_EXTENSION_STORE: "UI.open_extension_store",
  95. /**
  96. * Notifies that the button "Cancel" is pressed on the dialog for
  97. * external extension installation.
  98. */
  99. EXTERNAL_INSTALLATION_CANCELED: "UI.external_installation_canceled",
  100. /**
  101. * Notifies that the side toolbar container has been toggled. The actual
  102. * event must contain the identifier of the container that has been toggled
  103. * and information about toggle on or off.
  104. */
  105. SIDE_TOOLBAR_CONTAINER_TOGGLED: "UI.side_container_toggled",
  106. /**
  107. * Notifies that the raise hand has been changed.
  108. */
  109. LOCAL_RAISE_HAND_CHANGED: "UI.local_raise_hand_changed",
  110. /**
  111. * Notifies that the avatar is displayed or not on the largeVideo.
  112. */
  113. LARGE_VIDEO_AVATAR_VISIBLE: "UI.large_video_avatar_visible",
  114. /**
  115. * Notifies that the displayed particpant id on the largeVideo is changed.
  116. */
  117. LARGE_VIDEO_ID_CHANGED: "UI.large_video_id_changed",
  118. /**
  119. * Toggling room lock
  120. */
  121. TOGGLE_ROOM_LOCK: "UI.toggle_room_lock",
  122. /**
  123. * Adding contact to contact list
  124. */
  125. CONTACT_ADDED: "UI.contact_added",
  126. /**
  127. * Removing the contact from contact list
  128. */
  129. CONTACT_REMOVED: "UI.contact_removed",
  130. /**
  131. * Indicates that a user avatar has changed.
  132. */
  133. USER_AVATAR_CHANGED: "UI.user_avatar_changed",
  134. /**
  135. * Display name changed.
  136. */
  137. DISPLAY_NAME_CHANGED: "UI.display_name_changed",
  138. /**
  139. * Show custom popup/tooltip for a specified button.
  140. */
  141. SHOW_CUSTOM_TOOLBAR_BUTTON_POPUP: "UI.show_custom_toolbar_button_popup"
  142. };