FingerTemplateRecord.fromFile Method¶
Module: FingerTemplateRecord
Definition¶
Imports the finger template record object from a file.
@staticmethod
from_file(format: FingerTemplateFormat, path: str) -> FingerTemplateRecord
Parameters
format
FingerTemplateFormatin Fingerprint template buffer type to import the finger template record object from.path
strin 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
format
FingerTemplateFormatin Fingerprint template buffer type to import the finger template record object from.path
Stringin 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
format
FingerTemplateFormatin Fingerprint template buffer type to import the finger template record object from.path
stringin 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
format
FingerTemplateFormatin Fingerprint template buffer type to import the finger template record object from.path
Stringin 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
format
FingerTemplateFormatin Fingerprint template buffer type to import the finger template record object from.path
Stringin 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_RECORDin Handle to the FingerTemplateRecord object.eFormat
id3FingerTemplateFormatin 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