Platforms to show: All Mac Windows Linux Cross-Platform
Back to FolderChangedNotificationMBS class.
FolderChangedNotificationMBS.Directory as folderitem
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Folder Change Watching | MBS MacOSX Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns nil on any error.
Lasterror is set.
FolderChangedNotificationMBS.Notify(dir as folderitem)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Folder Change Watching | MBS MacOSX Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Lasterror is set.
Some examples using this method:
FolderChangedNotificationMBS.NotifyAll
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Folder Change Watching | MBS MacOSX Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Used by installers which may change hundreds of directories.
Lasterror is set.
Some examples using this method:
FolderChangedNotificationMBS.NotifyByPath(path as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Folder Change Watching | MBS MacOSX Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Path should be a valid Mac OS X path.
Lasterror is set.
FolderChangedNotificationMBS.Subscribe(dir as folderitem)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Folder Change Watching | MBS MacOSX Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Lasterror is set.
See also:
Some examples using this method:
FolderChangedNotificationMBS.Subscribe(dir as folderitem, flags as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Folder Change Watching | MBS MacOSX Plugin | 4.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Lasterror is set.
Constants for the flags parameter:
kFNNoImplicitAllSubscription | 1 | Specify this option if you do not want to receive notifications on this subscription when FNNotifyAll is called; by default any subscription is also implicitly a subscription to wildcard notifications. |
kFNNotifyInBackground | 2 | Specify this option if you want to receive notifications on this subscription when your application is in background. By default notifications will be coalesced and and delivered when your application becomes foreground. |
See also:
FolderChangedNotificationMBS.SubscribeByPath(path as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Folder Change Watching | MBS MacOSX Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Lasterror is set.
Path must be a valid Mac OS X path.
See also:
FolderChangedNotificationMBS.SubscribeByPath(path as string, flags as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Folder Change Watching | MBS MacOSX Plugin | 4.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Lasterror is set.
Path must be a valid Mac OS X path.
Constants for the flags parameter:
kFNNoImplicitAllSubscription | 1 | Specify this option if you do not want to receive notifications on this subscription when FNNotifyAll is called; by default any subscription is also implicitly a subscription to wildcard notifications. |
kFNNotifyInBackground | 2 | Specify this option if you want to receive notifications on this subscription when your application is in background. By default notifications will be coalesced and and delivered when your application becomes foreground. |
See also:
FolderChangedNotificationMBS.Unsubscribe
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Folder Change Watching | MBS MacOSX Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Lasterror is set.
This method is called for you by the destructor of the class.
The items on this page are in the following plugins: MBS MacOSX Plugin.