.. index:: 
  !FaceLicense.checkModule Method
  
.. _id3_face_face_license_check_module_class_method:

===============================================================================
FaceLicense.checkModule Method
===============================================================================

Module: :ref:`FaceLicense<id3_face_face_license_class>`

Definition
----------

Checks if a module is present in the previously loaded license.


.. tab-set::

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

      .. code:: Python

        @staticmethod
        check_module(module_name: str) -> None

      **Parameters**

        .. line-block::

          ``module_name`` str
          :guilabel:`in` The module name.


      **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 void checkModule(String? moduleName)

      **Parameters**

        .. line-block::

          ``moduleName`` String
          :guilabel:`in` The module name.


      **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 void CheckModule(string moduleName)

      **Parameters**

        .. line-block::

          ``moduleName`` string
          :guilabel:`in` The module name.


      **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 void checkModule(String moduleName) throws FaceException

      **Parameters**

        .. line-block::

          ``moduleName`` String
          :guilabel:`in` The module name.


      **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 checkModule(moduleName: String) throws

      **Parameters**

        .. line-block::

          ``moduleName`` String
          :guilabel:`in` The module name.


      **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 id3FaceLicense_CheckModule (
            const char * moduleName)

      **Parameters**

        .. line-block::

          ``moduleName`` const char *
          :guilabel:`in` The module name.


      **Returns**

        .. line-block::

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


