Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# FaceLicense.getModuleCount Method

Module: FaceLicense

## Definition

Retrieves the number of modules in the license.

Python

    @staticmethod
    get_module_count() -> int

Returns

> `int`
> The number of modules in the license.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Dart

    static int getModuleCount()

Returns

> `int`
> The number of modules in the license.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C#

    public static int GetModuleCount()

Returns

> `int`
> The number of modules in the license.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Java

    public static int getModuleCount() throws FaceException

Returns

> `int`
> The number of modules in the license.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Swift

    public static func getModuleCount() throws -> Int32

Returns

> `Int`
> The number of modules in the license.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C

    int id3FaceLicense_GetModuleCount (
        int * count)

Parameters

> `count` int *
> out The number of modules in the license.

Returns

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