"Fossies" - the Fresh Open Source Software Archive 
Member "jitsi-meet-7305/react/features/base/sounds/actionTypes.ts" (26 May 2023, 1364 Bytes) of package /linux/misc/jitsi-meet-7305.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) TypeScript source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
1 /**
2 * The type of a feature/internal/protected (redux) action to add an audio
3 * element to the sounds collection state.
4 *
5 * {
6 * type: _ADD_AUDIO_ELEMENT,
7 * ref: AudioElement,
8 * soundId: string
9 * }
10 */
11 export const _ADD_AUDIO_ELEMENT = '_ADD_AUDIO_ELEMENT';
12
13 /**
14 * The type of feature/internal/protected (redux) action to remove an audio
15 * element for given sound identifier from the sounds collection state.
16 *
17 * {
18 * type: _REMOVE_AUDIO_ELEMENT,
19 * soundId: string
20 * }
21 */
22 export const _REMOVE_AUDIO_ELEMENT = '_REMOVE_AUDIO_ELEMENT';
23
24 /**
25 * The type of (redux) action to play a sound from the sounds collection.
26 *
27 * {
28 * type: PLAY_SOUND,
29 * soundId: string
30 * }
31 */
32 export const PLAY_SOUND = 'PLAY_SOUND';
33
34 /**
35 * The type of (redux) action to register a new sound with the sounds
36 * collection.
37 *
38 * {
39 * type: REGISTER_SOUND,
40 * soundId: string
41 * }
42 */
43 export const REGISTER_SOUND = 'REGISTER_SOUND';
44
45 /**
46 * The type of (redux) action to stop a sound from the sounds collection.
47 *
48 * {
49 * type: STOP_SOUND,
50 * soundId: string
51 * }
52 */
53 export const STOP_SOUND = 'STOP_SOUND';
54
55 /**
56 * The type of (redux) action to unregister an existing sound from the sounds
57 * collection.
58 *
59 * {
60 * type: UNREGISTER_SOUND,
61 * soundId: string
62 * }
63 */
64 export const UNREGISTER_SOUND = 'UNREGISTER_SOUND';