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

# FaceLibrary.getVersion Method

Module: FaceLibrary

## Definition

Retrieves the library version as a X.Y.Z formatted string.

Python

    @staticmethod
    get_version() -> str

Returns

> `str`
> A string that identifies the library version.

Exceptions

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

Dart

    static String getVersion()

Returns

> `String`
> A string that identifies the library version.

Exceptions

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

C#

    public static string GetVersion()

Returns

> `string`
> A string that identifies the library version.

Exceptions

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

Java

    public static String getVersion() throws FaceException

Returns

> `String`
> A string that identifies the library version.

Exceptions

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

Swift

    public static func getVersion() throws -> String

Returns

> `String`
> A string that identifies the library version.

Exceptions

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

C

    int id3FaceLibrary_GetVersion (
        char * libraryVersion,
        int * libraryVersionSize)

Parameters

> `libraryVersion` char *
> out A string that identifies the library version.
> `libraryVersionSize` int *
> in Size of the ‘libraryVersion’ buffer. Receives the minimum required buffer size to hold the ‘libraryVersion’ string if the given one is too small (including the terminating NULL character), otherwise receives the number of characters in ‘libraryVersion’ (excluding terminating NULL character).

Returns

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