"Fossies" - the Fresh Open Source Software Archive

Member "jitsi-meet-7307/react/features/subtitles/actionTypes.ts" (30 May 2023, 1853 Bytes) of package /linux/misc/jitsi-meet-7307.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 /**
    3  * The type of (redux) action which indicates that an endpoint message
    4  * sent by another participant to the data channel is received.
    5  *
    6  * {
    7  *     type: ENDPOINT_MESSAGE_RECEIVED,
    8  *     participant: Object,
    9  *     json: Object
   10  * }
   11  */
   12 export const ENDPOINT_MESSAGE_RECEIVED = 'ENDPOINT_MESSAGE_RECEIVED';
   13 
   14 /**
   15  * The type of (redux) action which indicates that an existing transcript
   16  * has to be removed from the state.
   17  *
   18  * {
   19  *      type: REMOVE_TRANSCRIPT_MESSAGE,
   20  *      transciptMessageID: string,
   21  * }
   22  */
   23 export const REMOVE_TRANSCRIPT_MESSAGE = 'REMOVE_TRANSCRIPT_MESSAGE';
   24 
   25 /**
   26  * The type of (redux) action which indicates that a transcript with an
   27  * given message_id to be added or updated is received.
   28  *
   29  * {
   30  *      type: UPDATE_TRANSCRIPT_MESSAGE,
   31  *      transcriptMessageID: string,
   32  *      newTranscriptMessage: Object
   33  * }
   34  */
   35 export const UPDATE_TRANSCRIPT_MESSAGE = 'UPDATE_TRANSCRIPT_MESSAGE';
   36 
   37 /**
   38  * The type of (redux) action which indicates that a transcript with an
   39  * given message_id to be added or updated is received.
   40  *
   41  * {
   42  *      type: UPDATE_TRANSLATION_LANGUAGE,
   43  *      transcriptMessageID: string,
   44  *      newTranscriptMessage: Object
   45  * }
   46  */
   47 export const UPDATE_TRANSLATION_LANGUAGE = 'UPDATE_TRANSLATION_LANGUAGE';
   48 
   49 /**
   50  * The type of (redux) action which indicates that the user pressed the
   51  * ClosedCaption button, to either enable or disable subtitles based on the
   52  * current state.
   53  *
   54  * {
   55  *      type: TOGGLE_REQUESTING_SUBTITLES
   56  * }
   57  */
   58 export const TOGGLE_REQUESTING_SUBTITLES
   59     = 'TOGGLE_REQUESTING_SUBTITLES';
   60 
   61 /**
   62  * The type of (redux) action which indicates if the user set the state of
   63  * the subtitles to enabled or disabled.
   64  *
   65  * {
   66  *      type: SET_REQUESTING_SUBTITLES
   67  *      enabled: boolean
   68  * }
   69  */
   70 export const SET_REQUESTING_SUBTITLES
   71     = 'SET_REQUESTING_SUBTITLES';