// Copyright (c) 2015 - 2023 Doozy Entertainment. All Rights Reserved.
// This code can only be used under the standard Unity Asset Store End User License Agreement
// A Copy of the EULA APPENDIX 1 is available at http://unity3d.com/company/legal/as_terms
namespace Doozy.Runtime.UIManager.Orientation
{
///
/// Describes the physical orientation of the device as determined by the OS.
/// This is a simplified version of the UnityEngine.DeviceOrientation enum
///
public enum DetectedOrientation
{
///
/// The orientation of the device cannot be determined.
/// This is the default value and is used for initialization purposes.
///
Unknown = 0,
///
/// The device is in portrait mode, with the device held upright and the home button at the bottom (Portrait)
/// - OR -
/// The device is in portrait mode but upside down, with the device held upright and the home button at the top (PortraitUpsideDown)
///
Portrait = 1,
///
/// The device is in landscape mode, with the device held upright and the home button on the right side (LandscapeLeft)
/// - OR -
/// The device is in landscape mode, with the device held upright and the home button on the left side (LandscapeRight)
///
Landscape = 2
}
}