.. index:: 
  !FaceLibrary.getVersionEx Method
  
.. _id3_face_face_library_get_version_ex_class_method:

===============================================================================
FaceLibrary.getVersionEx Method
===============================================================================

Module: :ref:`FaceLibrary<id3_face_face_library_class>`

Definition
----------

Retrieves the library version as a structure.


.. tab-set::

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

      .. code:: Python

        @staticmethod
        get_version_ex() -> LibVersion

      **Returns**

        .. line-block::

          :ref:`LibVersion<id3_face_lib_version_struct>`
          The version.

      **Exceptions**

        .. line-block::

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


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

      .. code:: Dart

        static LibVersion getVersionEx()

      **Returns**

        .. line-block::

          :ref:`LibVersion<id3_face_lib_version_struct>`
          The version.

      **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 static LibVersion GetVersionEx()

      **Returns**

        .. line-block::

          :ref:`LibVersion<id3_face_lib_version_struct>`
          The version.

      **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 static LibVersion getVersionEx() throws FaceException

      **Returns**

        .. line-block::

          :ref:`LibVersion<id3_face_lib_version_struct>`
          The version.

      **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 static func getVersionEx() throws -> LibVersion

      **Returns**

        .. line-block::

          :ref:`LibVersion<id3_face_lib_version_struct>`
          The version.

      **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 id3FaceLibrary_GetVersionEx (
            id3FaceLibVersion * sVersion)

      **Parameters**

        .. line-block::

          ``sVersion`` :ref:`id3FaceLibVersion *<id3_face_lib_version_struct>`
          :guilabel:`out` The version.


      **Returns**

        .. line-block::

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


