.. index:: 
  !FaceLicense.getLicenseName Method
  
.. _id3_face_face_license_get_license_name_class_method:

===============================================================================
FaceLicense.getLicenseName Method
===============================================================================

Module: :ref:`FaceLicense<id3_face_face_license_class>`

Definition
----------

Retrieves the license name.


.. tab-set::

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

      .. code:: Python

        @staticmethod
        get_license_name() -> str

      **Returns**

        .. line-block::

          ``str``
          The license 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 String getLicenseName()

      **Returns**

        .. line-block::

          ``String``
          The license 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 string GetLicenseName()

      **Returns**

        .. line-block::

          ``string``
          The license 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 String getLicenseName() throws FaceException

      **Returns**

        .. line-block::

          ``String``
          The license 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 getLicenseName() throws -> String

      **Returns**

        .. line-block::

          ``String``
          The license 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_GetLicenseName (
            char * licenseName, 
            int * licenseNameSize)

      **Parameters**

        .. line-block::

          ``licenseName`` char *
          :guilabel:`out` The license name.

          ``licenseNameSize`` int *
          :guilabel:`in` Size of the 'licenseName' buffer. Receives the minimum required buffer size to hold the 'licenseName' string if the given one is too small (including the terminating NULL character), otherwise receives the number of characters in 'licenseName' (excluding terminating NULL character).


      **Returns**

        .. line-block::

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


