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

# FaceLicense.getExpiryDate Method

Module: FaceLicense

## Definition

Retrieves the license expiry date.

Python

    @staticmethod
    get_expiry_date() -> str

Returns

> `str`
> The license expiry date.

Exceptions

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

Dart

    static String getExpiryDate()

Returns

> `String`
> The license expiry date.

Exceptions

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

C#

    public static string GetExpiryDate()

Returns

> `string`
> The license expiry date.

Exceptions

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

Java

    public static String getExpiryDate() throws FaceException

Returns

> `String`
> The license expiry date.

Exceptions

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

Swift

    public static func getExpiryDate() throws -> String

Returns

> `String`
> The license expiry date.

Exceptions

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

C

    int id3FaceLicense_GetExpiryDate (
        char * expiryDate,
        int * expiryDateSize)

Parameters

> `expiryDate` char *
> out The license expiry date.
> `expiryDateSize` int *
> in Size of the ‘expiryDate’ buffer. Receives the minimum required buffer size to hold the ‘expiryDate’ string if the given one is too small (including the terminating NULL character), otherwise receives the number of characters in ‘expiryDate’ (excluding terminating NULL character).

Returns

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