/*
* 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 SafeExamBrowser.UserInterface.Contracts.Windows.Data;
namespace SafeExamBrowser.UserInterface.Contracts.Windows
{
///
/// Defines the functionality of a lock screen which covers all active displays and prevents the user from continuing their work.
///
public interface ILockScreen : IWindow
{
///
/// Cancels the operation and closes the lock screen.
///
void Cancel();
///
/// Expands the lock screen across all active displays and resizes it accordingly.
///
void InitializeBounds();
///
/// Waits for the user to provide the required input to unlock the application.
///
LockScreenResult WaitForResult();
}
}