/* * Copyright (c) 2023 ETH Zürich, Educational Development and Technology (LET) * * 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 { /// /// All settings for the screen proctoring. /// [Serializable] public class ScreenProctoringSettings { /// /// Determines whether the name of the active application shall be captured and transmitted as part of the image meta data. /// public bool CaptureApplicationName { get; set; } /// /// Determines whether the URL of the currently opened web page shall be captured and transmitted as part of the image meta data. /// public bool CaptureBrowserUrl { get; set; } /// /// Determines whether the title of the currently active window shall be captured and transmitted as part of the image meta data. /// public bool CaptureWindowTitle { get; set; } /// /// The client identifier used for authentication with the screen proctoring service. /// public string ClientId { get; set; } /// /// The client secret used for authentication with the screen proctoring service. /// public string ClientSecret { get; set; } /// /// Determines whether the screen proctoring is enabled. /// public bool Enabled { get; set; } /// /// The identifier of the group to which the user belongs. /// public string GroupId { get; set; } /// /// Defines the factor to be used for downscaling of the screen shots. /// public double ImageDownscaling { get; set; } /// /// Defines the image format to be used for the screen shots. /// public ImageFormat ImageFormat { get; set; } /// /// Defines the algorithm to be used for quantization of the screen shots. /// public ImageQuantization ImageQuantization { get; set; } /// /// The maximum time interval in milliseconds between screen shot transmissions. /// public int MaxInterval { get; set; } /// /// The minimum time interval in milliseconds between screen shot transmissions. /// public int MinInterval { get; set; } /// /// The URL of the screen proctoring service. /// public string ServiceUrl { get; set; } } }