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 470B

12345678910111213141516171819
  1. // @flow
  2. import { SET_SCREEN_AUDIO_SHARE_STATE } from './actionTypes';
  3. /**
  4. * Updates the current known status of the shared video.
  5. *
  6. * @param {boolean} isSharingAudio - Is audio currently being shared or not.
  7. * @returns {{
  8. * type: SET_SCREEN_AUDIO_SHARE_STATE,
  9. * isSharingAudio: boolean
  10. * }}
  11. */
  12. export function setScreenAudioShareState(isSharingAudio: boolean) {
  13. return {
  14. type: SET_SCREEN_AUDIO_SHARE_STATE,
  15. isSharingAudio
  16. };
  17. }