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

actions.js 631B

123456789101112131415161718192021
  1. import { openDialog } from '../base/dialog';
  2. import { RemoteControlAuthorizationDialog } from './components';
  3. /**
  4. * Signals that the remote control authorization dialog should be displayed.
  5. *
  6. * @param {string} participantId - The id of the participant who is requesting
  7. * the authorization.
  8. * @returns {{
  9. * type: OPEN_DIALOG,
  10. * component: {RemoteControlAuthorizationDialog},
  11. * componentProps: {
  12. * participantId: {string}
  13. * }
  14. * }}
  15. * @public
  16. */
  17. export function openRemoteControlAuthorizationDialog(participantId) {
  18. return openDialog(RemoteControlAuthorizationDialog, { participantId });
  19. }