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.

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. }