void OnReadFileTextResult(inFilePath, inSuccess, inFileText)
Description
This callback function is called when reading from a text file outside STG
Parameters
The following is a list of parameters the functions receives
Parameter | Type | Description |
---|---|---|
inFileName | string | the path of the file on the device |
inSuccess | bool | True/False if the writing was successful |
inFileText | string | the text to read from the file |
Return Type
void
Example
function OnReadFileTextResult(inFileName, inSuccess, inFileText){
if (inSuccess=false)
{
Prompt("Reading file was not successful");
}
}
Comments
Please sign in to leave a comment.