您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

UIEvents.js 5.2KB

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