2021-02-10 00:49:32 +01:00
|
|
|
|
/*
|
2023-03-08 00:30:20 +01:00
|
|
|
|
* Copyright (c) 2023 ETH Zürich, Educational Development and Technology (LET)
|
2021-02-10 00:49:32 +01:00
|
|
|
|
*
|
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace SafeExamBrowser.Settings.Proctoring
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Defines all settings related to remote proctoring.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Serializable]
|
|
|
|
|
public class ProctoringSettings
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Determines whether the entire remote proctoring feature is enabled.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool Enabled { get; set; }
|
2021-03-10 21:26:45 +01:00
|
|
|
|
|
2021-09-17 10:47:02 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Determines whether the message input for the raise hand notification will be forced.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ForceRaiseHandMessage { get; set; }
|
|
|
|
|
|
2021-03-10 21:26:45 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// All settings for remote proctoring with Jitsi Meet.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public JitsiMeetSettings JitsiMeet { get; set; }
|
|
|
|
|
|
2021-09-17 10:47:02 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Determines whether the raise hand notification will be shown in the shell.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ShowRaiseHandNotification { get; set; }
|
|
|
|
|
|
2021-03-25 13:49:45 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Determines whether the proctoring notification will be shown in the taskbar.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ShowTaskbarNotification { get; set; }
|
|
|
|
|
|
2021-03-23 21:12:47 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Determines the visibility of the proctoring window.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public WindowVisibility WindowVisibility { get; set; }
|
|
|
|
|
|
2021-03-10 21:26:45 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// All settings for remote proctoring with Zoom.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ZoomSettings Zoom { get; set; }
|
|
|
|
|
|
|
|
|
|
public ProctoringSettings()
|
|
|
|
|
{
|
|
|
|
|
JitsiMeet = new JitsiMeetSettings();
|
|
|
|
|
Zoom = new ZoomSettings();
|
|
|
|
|
}
|
2021-02-10 00:49:32 +01:00
|
|
|
|
}
|
|
|
|
|
}
|