mixedreality/com.microsoft.mixedreality..../Core/Interfaces/Services/IMixedRealityServiceState.cs

26 lines
814 B
C#

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.MixedReality.Toolkit
{
/// <summary>
/// Interface providing properties that components can call to determine the current state of a mixed reality service.
/// </summary>
public interface IMixedRealityServiceState
{
/// <summary>
/// Indicates whether or not the service has been initialized.
/// </summary>
bool IsInitialized { get; }
/// <summary>
/// Indicates whether or not the service is currently enabled.
/// </summary>
bool IsEnabled { get; }
/// <summary>
/// Indicates whether or not the Destroy method been called on this service.
/// </summary>
bool IsMarkedDestroyed { get; }
}
}