TTMSFNCCloudWhatsAppFiles.GetFileIndex Method
Finds the index of a media entry by file name.
API unit family: TMSFNCCloudWhatsApp
Declaring type: TTMSFNCCloudWhatsAppFiles
Syntax
function GetFileIndex(AFileName: string): Integer;
Parameters
| Name | Description |
|---|---|
AFileName |
File name to search for. |
Returns
The zero-based media index, or -1 when no matching file is found.