FingerTemplateRecord.fromFile Method

Module: FingerTemplateRecord

Definition

Imports the finger template record object from a file.

@staticmethod
from_file(format: FingerTemplateFormat, path: str) -> FingerTemplateRecord

Parameters

in Fingerprint template buffer type to import the finger template record object from.

path str
in Path to the file to import the finger template record object from.

Returns

The newly created finger template record.

Exceptions

An error has occurred during Finger Library execution.
static FingerTemplateRecord fromFile(FingerTemplateFormat format, String? path)

Parameters

in Fingerprint template buffer type to import the finger template record object from.

path String
in Path to the file to import the finger template record object from.

Returns

The newly created finger template record.

Exceptions

An error has occurred during Finger Library execution.
public static FingerTemplateRecord FromFile(FingerTemplateFormat format, string path)

Parameters

in Fingerprint template buffer type to import the finger template record object from.

path string
in Path to the file to import the finger template record object from.

Returns

The newly created finger template record.

Exceptions

An error has occurred during Finger Library execution.
public static FingerTemplateRecord fromFile(FingerTemplateFormat format, String path) throws FingerException

Parameters

in Fingerprint template buffer type to import the finger template record object from.

path String
in Path to the file to import the finger template record object from.

Returns

The newly created finger template record.

Exceptions

An error has occurred during Finger Library execution.
public static func fromFile(format: FingerTemplateFormat, path: String) throws -> FingerTemplateRecord

Parameters

in Fingerprint template buffer type to import the finger template record object from.

path String
in Path to the file to import the finger template record object from.

Returns

The newly created finger template record.

Exceptions

An error has occurred during Finger Library execution.
int id3FingerTemplateRecord_FromFile (
    ID3_FINGER_TEMPLATE_RECORD hFingerTemplateRecord,
    id3FingerTemplateFormat eFormat,
    const char * path)

Parameters

hFingerTemplateRecord ID3_FINGER_TEMPLATE_RECORD
in Handle to the FingerTemplateRecord object.

in Fingerprint template buffer type to import the finger template record object from.

path const char *
in Path to the file to import the finger template record object from.

Returns

int
An error code.
See id3FingerError file for the list of possible error codes.