Off-Top-App / off-top-flutter

Repository for our mobile client application.
0 stars 2 forks source link

OT-EditAudioEvent (3) #45

Open frlzjosh opened 4 years ago

frlzjosh commented 4 years ago

WHAT TO DO:

  1. In this task, we need to add two more attributes called focus_value and session_mode to the object we are sending out into the WebSocket.
  2. There are three values that are associated with sesion_mode which are "start", "in-progress", and "end". You will need to create the functionality that determines when to send "start", "in-progress", and "end".
  3. The focus_value will be the integer that is being passed into the meter.
  4. You will also need to edit AudioEvent object in SessionHandlerService to have the following fields:
    private String audio_data;
    private int user_id;
    private String time_exported;
    private String topic;
    private String filePath;
    private String session_mode;
    private int focus_value;

and make sure that you can successfully pass it all the way to it's Producer in SessionHandler

DONE:

  1. When the user first begins a recording session you will have session_mode = start and send it over to the WebSocket.
  2. When the user clicks on stop you will have session_mode = end and have that be sent into the WebSocket as well.