/* * Copyright (c) 2024 ETH Zürich, IT Services * * 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 { /// /// 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; } /// /// All settings related to the metadata capturing of the screen proctoring. /// public MetaDataSettings MetaData { 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; } public ScreenProctoringSettings() { MetaData = new MetaDataSettings(); } } }