/*
* Copyright (c) 2022 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 SafeExamBrowser.Proctoring.Contracts.Events;
using SafeExamBrowser.Settings.Proctoring;
namespace SafeExamBrowser.Proctoring.Contracts
{
///
/// Defines the remote proctoring functionality.
///
public interface IProctoringController
{
///
/// Indicates whether the hand is currently raised.
///
bool IsHandRaised { get; }
///
/// Fired when the hand has been lowered.
///
event ProctoringEventHandler HandLowered;
///
/// Fired when the hand has been raised.
///
event ProctoringEventHandler HandRaised;
///
/// Initializes the given settings and starts the proctoring if the settings are valid.
///
void Initialize(ProctoringSettings settings);
///
/// Lowers the hand.
///
void LowerHand();
///
/// Raises the hand, optionally with the given message.
///
void RaiseHand(string message = default(string));
///
/// Stops the proctoring functionality.
///
void Terminate();
}
}