選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

UIEvents.js 5.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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. FULLSCREEN_TOGGLE: "UI.fullscreen_toggle",
  38. AUTH_CLICKED: "UI.auth_clicked",
  39. TOGGLE_CHAT: "UI.toggle_chat",
  40. TOGGLE_SETTINGS: "UI.toggle_settings",
  41. TOGGLE_CONTACT_LIST: "UI.toggle_contact_list",
  42. /**
  43. * Notifies that the profile toolbar button has been clicked.
  44. */
  45. TOGGLE_PROFILE: "UI.toggle_profile",
  46. /**
  47. * Notifies that a command to toggle the film strip has been issued. The
  48. * event may optionally specify a {Boolean} (primitive) value to assign to
  49. * the visibility of the film strip (i.e. the event may act as a setter).
  50. * The very toggling of the film strip may or may not occurred at the time
  51. * of the receipt of the event depending on the position of the receiving
  52. * event listener in relation to the event listener which carries out the
  53. * command to toggle the film strip.
  54. *
  55. * @see {TOGGLED_FILM_STRIP}
  56. */
  57. TOGGLE_FILM_STRIP: "UI.toggle_film_strip",
  58. /**
  59. * Notifies that the film strip was (actually) toggled. The event supplies
  60. * a {Boolean} (primitive) value indicating the visibility of the film
  61. * strip after the toggling (at the time of the event emission).
  62. *
  63. * @see {TOGGLE_FILM_STRIP}
  64. */
  65. TOGGLED_FILM_STRIP: "UI.toggled_film_strip",
  66. TOGGLE_SCREENSHARING: "UI.toggle_screensharing",
  67. TOGGLED_SHARED_DOCUMENT: "UI.toggled_shared_document",
  68. CONTACT_CLICKED: "UI.contact_clicked",
  69. HANGUP: "UI.hangup",
  70. LOGOUT: "UI.logout",
  71. RECORDING_TOGGLED: "UI.recording_toggled",
  72. SIP_DIAL: "UI.sip_dial",
  73. SUBJECT_CHANGED: "UI.subject_changed",
  74. VIDEO_DEVICE_CHANGED: "UI.video_device_changed",
  75. AUDIO_DEVICE_CHANGED: "UI.audio_device_changed",
  76. AUDIO_OUTPUT_DEVICE_CHANGED: "UI.audio_output_device_changed",
  77. /**
  78. * Notifies interested listeners that the follow-me feature is enabled or
  79. * disabled.
  80. */
  81. FOLLOW_ME_ENABLED: "UI.follow_me_enabled",
  82. /**
  83. * Notifies that flipX property of the local video is changed.
  84. */
  85. LOCAL_FLIPX_CHANGED: "UI.local_flipx_changed",
  86. // An event which indicates that the resolution of a remote video has
  87. // changed.
  88. RESOLUTION_CHANGED: "UI.resolution_changed",
  89. /**
  90. * Notifies that the button "Go to webstore" is pressed on the dialog for
  91. * external extension installation.
  92. */
  93. OPEN_EXTENSION_STORE: "UI.open_extension_store",
  94. /**
  95. * Notifies that the button "Cancel" is pressed on the dialog for
  96. * external extension installation.
  97. */
  98. EXTERNAL_INSTALLATION_CANCELED: "UI.external_installation_canceled",
  99. /**
  100. * Notifies that the side toolbar container has been toggled. The actual
  101. * event must contain the identifier of the container that has been toggled
  102. * and information about toggle on or off.
  103. */
  104. SIDE_TOOLBAR_CONTAINER_TOGGLED: "UI.side_container_toggled",
  105. /**
  106. * Notifies that the raise hand has been changed.
  107. */
  108. LOCAL_RAISE_HAND_CHANGED: "UI.local_raise_hand_changed",
  109. /**
  110. * Notifies that the avatar is displayed or not on the largeVideo.
  111. */
  112. LARGE_VIDEO_AVATAR_DISPLAYED: "UI.large_video_avatar_displayed",
  113. /**
  114. * Toggling room lock
  115. */
  116. TOGGLE_ROOM_LOCK: "UI.toggle_room_lock",
  117. /**
  118. * Adding contact to contact list
  119. */
  120. CONTACT_ADDED: "UI.contact_added",
  121. /**
  122. * Removing the contact from contact list
  123. */
  124. CONTACT_REMOVED: "UI.contact_removed",
  125. /**
  126. * Indicates that a user avatar has changed.
  127. */
  128. USER_AVATAR_CHANGED: "UI.user_avatar_changed",
  129. /**
  130. * Display name changed.
  131. */
  132. DISPLAY_NAME_CHANGED: "UI.display_name_changed",
  133. /**
  134. * Indicates that the invite url has been initialised.
  135. */
  136. INVITE_URL_INITIALISED: "UI.invite_url_initialised",
  137. /**
  138. * Indicates that a password is required for the call.
  139. */
  140. PASSWORD_REQUIRED: "UI.password_required"
  141. };