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 a folderitem for the directory observed.

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
Notifies the system about a modification you made in the given directory.

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
Notifies the system about a modification you made on several directories.

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
Notifies the system about a modification you made in the given directory.

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
Subscribes the class to observe a specified directory.

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
Subscribes the class to observe a specified directory.

Lasterror is set.

Constants for the flags parameter:
kFNNoImplicitAllSubscription1Specify 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.
kFNNotifyInBackground2Specify 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
Subscribes the class to observe a specified directory.

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
Subscribes the class to observe a specified directory.

Lasterror is set.
Path must be a valid Mac OS X path.

Constants for the flags parameter:
kFNNoImplicitAllSubscription1Specify 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.
kFNNotifyInBackground2Specify 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
Unsubscribes the current directory.

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.


The biggest plugin in space...