iphoneDoNotBackupFile

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
iphoneDoNotBackupFile( <filename> )
Summary

Returns a boolean value specifying whether or not the given file has been flagged to prevent backup.

Introduced5.5.1
OSios
Platformsmobile
Parameters
NameTypeDescription
filename

The full path to the flagged file

Example
get iphoneDoNotBackupFile(tMyFile)
put iphoneDoNotBackupFile(specialFolderPath("documents") & "/appointments.txt") into tAppointmentsFlagged
Values
NameTypeDescription
return

true - the file has been flagged to prevent backup to the Cloud. false - the file has not been flagged to prevent backup to the Cloud.

RelatedCommand: iphoneSetFileDataProtection, iphoneSetDoNotBackupFile
Function: iphoneFileDataProtection
Message: protectedDataWillBecomeUnavailable, protectedDataDidBecomeAvailable
Description

Use the iphoneDoNotBackupFile function to determine whether the given file has been flagged to prevent backup

The iphoneDoNotBackupFile function determines whether or not the given file has been flagged to prevent backup to the Cloud.

The iphoneDoNotBackupFile function retirms the value of the file's "do not backup" flag.