.. index:: 
  !TrackedFaceList.get Method
  
.. _id3_face_tracked_face_list_get_class_method:

===============================================================================
TrackedFaceList.get Method
===============================================================================

Module: :ref:`TrackedFaceList<id3_face_tracked_face_list_class>`

Definition
----------

Gets an item of the TrackedFaceList object.


.. tab-set::

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

      .. code:: Python

        get(self, index: int) -> TrackedFace

      **Parameters**

        .. line-block::

          ``index`` int
          :guilabel:`in` Index of the TrackedFace item to get.


      **Returns**

        .. line-block::

          :ref:`TrackedFace<id3_face_tracked_face_class>`
          TrackedFace item to get.

      **Exceptions**

        .. line-block::

          :ref:`FaceException<id3_face_face_exception>`
          An error has occurred during Face Library execution.


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

      .. code:: Dart

        TrackedFace get(int index)

      **Parameters**

        .. line-block::

          ``index`` int
          :guilabel:`in` Index of the TrackedFace item to get.


      **Returns**

        .. line-block::

          :ref:`TrackedFace<id3_face_tracked_face_class>`
          TrackedFace item to get.

      **Exceptions**

        .. line-block::

          :ref:`FaceException<id3_face_face_exception>`
          An error has occurred during Face Library execution.


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

      .. code:: C#

        public TrackedFace Get(int index)

      **Parameters**

        .. line-block::

          ``index`` int
          :guilabel:`in` Index of the TrackedFace item to get.


      **Returns**

        .. line-block::

          :ref:`TrackedFace<id3_face_tracked_face_class>`
          TrackedFace item to get.

      **Exceptions**

        .. line-block::

          :ref:`FaceException<id3_face_face_exception>`
          An error has occurred during Face Library execution.


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

      .. code:: Java

        public TrackedFace get(int index) throws FaceException

      **Parameters**

        .. line-block::

          ``index`` int
          :guilabel:`in` Index of the TrackedFace item to get.


      **Returns**

        .. line-block::

          :ref:`TrackedFace<id3_face_tracked_face_class>`
          TrackedFace item to get.

      **Exceptions**

        .. line-block::

          :ref:`FaceException<id3_face_face_exception>`
          An error has occurred during Face Library execution.


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

      .. code:: Swift

        public func get(index: Int32) throws -> TrackedFace

      **Parameters**

        .. line-block::

          ``index`` Int32
          :guilabel:`in` Index of the TrackedFace item to get.


      **Returns**

        .. line-block::

          :ref:`TrackedFace<id3_face_tracked_face_class>`
          TrackedFace item to get.

      **Exceptions**

        .. line-block::

          :ref:`FaceException<id3_face_face_exception>`
          An error has occurred during Face Library execution.


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

      .. code:: C

        int id3TrackedFaceList_Get (
            ID3_TRACKED_FACE_LIST hTrackedFaceList, 
            int index, 
            ID3_TRACKED_FACE hTrackedFaceItem)

      **Parameters**

        .. line-block::

          ``hTrackedFaceList`` :ref:`ID3_TRACKED_FACE_LIST<id3_face_tracked_face_list_class>`
          :guilabel:`in` Handle to the TrackedFaceList object.

          ``index`` int
          :guilabel:`in` Index of the TrackedFace item to get.

          ``hTrackedFaceItem`` :ref:`ID3_TRACKED_FACE<id3_face_tracked_face_class>`
          :guilabel:`out` TrackedFace item to get.


      **Returns**

        .. line-block::

          ``int``
          An error code.
          See :ref:`id3FaceError<id3_face_face_error_enum>` file for the list of possible error codes.


