.. index:: 
  !PortraitStatus Enumeration

.. _id3_face_portrait_status_enum:

===============================================================================
PortraitStatus Enumeration
===============================================================================

Namespace: :ref:`id3.Face<reference_face>`

Definition
----------

.. line-block::
    Enumerates the possible statuses of a portrait.

.. tab-set::

  .. tab-item:: Python
    :sync: Python

    .. code-block:: Python

      class PortraitStatus

  .. tab-item:: Dart
    :sync: Dart

    .. code-block:: Dart

      enum PortraitStatus

  .. tab-item:: C#
    :sync: C#

    .. code-block:: C#

      public enum PortraitStatus

  .. tab-item:: Java
    :sync: Java

    .. code-block:: Java

      public enum PortraitStatus

  .. tab-item:: Swift
    :sync: Swift

    .. code-block:: Swift

      public enum PortraitStatus

  .. tab-item:: C
    :sync: C

    .. code-block:: C

      typedef enum id3FacePortraitStatus


Fields
------

.. list-table:: 
  :width: 100%
  :widths: 5 5 90
  :header-rows: 1

  * - Name
    - Value
    - Description
  * - ``undefined``
    - 0
    - The status is undefined.
  * - ``noFaceDetected``
    - 1
    - No face has been detected in the provided image.
  * - ``created``
    - 2
    - A new portrait has been created.
  * - ``updated``
    - 3
    - The portrait has been updated.
