getIdForFilename

suspend fun getIdForFilename(filename: String, isInAppDataFolder: Boolean): String?

Retrieves the Google Drive file ID associated with a given filename.

Return

The file ID if found, otherwise null.

Parameters

filename

The name of the file.

isInAppDataFolder

Whether the file is stored in the App Data folder.