OnWriteFileTextResult()

void OnWriteFileTextResult(inFileName, inSuccess, inAppended)

Description

This callback function is called when writing to a text file from STG

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inFileName string the name of the file on the device
inSuccess bool True/False if the writing was successful
inAppended bool True/False if the file is appended

 

Return Type

void

 

Example

function OnWriteFileTextResult(inFileName, inSuccess, inAppended){
if (inSuccess=false)
{
    Prompt("Writing to file was not successful");
}

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.