Skip to main content
Version: 20 Mar 2024

MLCameraMetadataTags.cs

Source code

// %BANNER_BEGIN%
// ---------------------------------------------------------------------
// %COPYRIGHT_BEGIN%
// Copyright (c) (2018-2022) Magic Leap, Inc. All Rights Reserved.
// Use of this file is governed by the Software License Agreement, located here: https://www.magicleap.com/software-license-agreement-ml2
// Terms and conditions applicable to third-party materials accompanying this distribution may also be found in the top-level NOTICE file appearing herein.
// %COPYRIGHT_END%
// ---------------------------------------------------------------------
// %BANNER_END%

namespace UnityEngine.XR.MagicLeap
{
using System;

public partial class MLCameraBase
{
public partial class Metadata
{
[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum ColorCorrectionMode
{
TransformMatrix = 0,
Fast,
HighQuality,
}

[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum ColorCorrectionAberrationMode
{
Off = 0,
Fast,
HighQuality,
}

[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum ControlAEAntibandingMode
{
Off = 0,
Mode_50Hz,
Mode_60Hz,
Auto,
}

[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum ControlAELock
{
Off = 0,
On,
}

[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum ControlAEMode
{
Off = 0,
On,
}

[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum ControlAWBLock
{
Off = 0,
On,
}

[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum ControlAWBMode
{
Off = 0,
Auto,
Incandescent,
Fluorescent,
WarmFluorescent,
Daylight,
CloudyDaylight,
Twilight,
Shade,
}

[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum ControlAFMode
{
Off = 0,

Auto,

Macro,

ContinuousVideo,

ContinuousPicture
}

[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum ControlAFTrigger
{
Idle = 0,

Start,

Cancel
}

[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum ControlMode
{
Off = 0,
Auto,
UseSceneMode,
OffKeepState,
}

[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum ControlSceneMode
{
Action = 2,
Portrait = 3,
Landscape = 4,
Theatre = 7,
Sports = 13,
Party = 14,
CandleLight = 15,
Barcode = 16,
Medical = 100,
}

[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum ControlEffectMode
{
Off = 0,
Grayscale,
Negative,
Sepia,
ColorSelection,
Sharpening,
Emboss,
Sketch,
}

[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum ControlAEState
{
Inactive = 0,
Searching,
Converged,
Locked,
FlashRequired,
PreCapture,
}

[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum ControlAWBState
{
Inactive = 0,
Searching,
Converged,
Locked,
}

[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum ControlAFState
{
Inactive = 0,

PassiveScan,

PassiveFocused,

ActiveScan,

FocusedLocked,

NotFocusedLocked,

PassiveUnFocused
}

[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum ControlAFSceneChange
{
NotDetected = 0,

Detected
}

[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum LensState
{
Stationary = 0,

Moving
}

[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum ScalerAvailableFormats
{
RAW16 = 0x20,
RAW_OPAQUE = 0x24,
YV12 = 0x32315659,
YCrCb_420_SP = 0x11,
IMPLEMENTATION_DEFINED = 0x22,
YCbCr_420_888 = 0x23,
BLOB = 0x21,
}

[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum ScalerAvailableStreamConfigurations
{
OUTPUT = 0,
INPUT,
}

[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum JpegThumbnailSize
{
Size_160x120 = 1,
Size_240x135 = 2,
Size_256x135 = 3,
}

[Obsolete("This API is deprecated in favor of the standard android SDK and NDK Camera APIs")]
public enum ControlForceApplyMode
{
Off = 0,
On = 1
}
}
}
}