Class System.FSEvents.EventStream
- Constant kFSEventStreamCreateFlagFileEvents
constantSystem.FSEvents.EventStream.kFSEventStreamCreateFlagFileEvents- Description
Available in MacOS X 10.7 and newer.
- Constant kFSEventStreamCreateFlagIgnoreSelf
constantSystem.FSEvents.EventStream.kFSEventStreamCreateFlagIgnoreSelf- Description
Available in MacOS X 10.6 and newer.
- Constant kFSEventStreamCreateFlagNoDefer
constantSystem.FSEvents.EventStream.kFSEventStreamCreateFlagNoDefer
- Constant kFSEventStreamCreateFlagNone
constantSystem.FSEvents.EventStream.kFSEventStreamCreateFlagNone
- Constant kFSEventStreamCreateFlagWatchRoot
constantSystem.FSEvents.EventStream.kFSEventStreamCreateFlagWatchRoot
- Constant kFSEventStreamEventFlagChangeOwner
constantSystem.FSEvents.EventStream.kFSEventStreamEventFlagChangeOwner- Description
Available in MacOS X 10.7 and newer.
- Constant kFSEventStreamEventFlagEventIdsWrapped
constantSystem.FSEvents.EventStream.kFSEventStreamEventFlagEventIdsWrapped
- Constant kFSEventStreamEventFlagFinderInfoMod
constantSystem.FSEvents.EventStream.kFSEventStreamEventFlagFinderInfoMod- Description
Available in MacOS X 10.7 and newer.
- Constant kFSEventStreamEventFlagHistoryDone
constantSystem.FSEvents.EventStream.kFSEventStreamEventFlagHistoryDone
- Constant kFSEventStreamEventFlagInodeMetaMod
constantSystem.FSEvents.EventStream.kFSEventStreamEventFlagInodeMetaMod- Description
Available in MacOS X 10.7 and newer.
- Constant kFSEventStreamEventFlagIsDir
constantSystem.FSEvents.EventStream.kFSEventStreamEventFlagIsDir- Description
Available in MacOS X 10.7 and newer.
- Constant kFSEventStreamEventFlagIsFile
constantSystem.FSEvents.EventStream.kFSEventStreamEventFlagIsFile- Description
Available in MacOS X 10.7 and newer.
- Constant kFSEventStreamEventFlagIsSymlink
constantSystem.FSEvents.EventStream.kFSEventStreamEventFlagIsSymlink- Description
Available in MacOS X 10.7 and newer.
- Constant kFSEventStreamEventFlagItemCreated
constantSystem.FSEvents.EventStream.kFSEventStreamEventFlagItemCreated- Description
Available in MacOS X 10.7 and newer.
- Constant kFSEventStreamEventFlagItemModified
constantSystem.FSEvents.EventStream.kFSEventStreamEventFlagItemModified- Description
Available in MacOS X 10.7 and newer.
- Constant kFSEventStreamEventFlagItemRemoved
constantSystem.FSEvents.EventStream.kFSEventStreamEventFlagItemRemoved- Description
Available in MacOS X 10.7 and newer.
- Constant kFSEventStreamEventFlagKernelDropped
constantSystem.FSEvents.EventStream.kFSEventStreamEventFlagKernelDropped
- Constant kFSEventStreamEventFlagMount
constantSystem.FSEvents.EventStream.kFSEventStreamEventFlagMount
- Constant kFSEventStreamEventFlagMustScanSubDirs
constantSystem.FSEvents.EventStream.kFSEventStreamEventFlagMustScanSubDirs
- Constant kFSEventStreamEventFlagNone
constantSystem.FSEvents.EventStream.kFSEventStreamEventFlagNone
- Constant kFSEventStreamEventFlagRenamed
constantSystem.FSEvents.EventStream.kFSEventStreamEventFlagRenamed- Description
Available in MacOS X 10.7 and newer.
- Constant kFSEventStreamEventFlagRootChanged
constantSystem.FSEvents.EventStream.kFSEventStreamEventFlagRootChanged
- Constant kFSEventStreamEventFlagUnmount
constantSystem.FSEvents.EventStream.kFSEventStreamEventFlagUnmount
- Constant kFSEventStreamEventFlagUserDropped
constantSystem.FSEvents.EventStream.kFSEventStreamEventFlagUserDropped
- Constant kFSEventStreamEventFlagXattrMod
constantSystem.FSEvents.EventStream.kFSEventStreamEventFlagXattrMod- Description
Available in MacOS X 10.7 and newer.
- Constant kFSEventStreamEventIdSinceNow
constantSystem.FSEvents.EventStream.kFSEventStreamEventIdSinceNow
- Method create
System.FSEvents.EventStream System.FSEvents.EventStream(array(string)paths,floatlatency,int|voidsince_when,int|voidflags)- Description
Creates a new Public.System.FSEvents.EventStream object
- Parameter
paths An array with each element containing a path to a directory, signifying the root of a filesystem hierarchy to be watched for modifications.
Additional paths may be added later using add_path(), though only if the stream is stopped.
- Parameter
latency The number of seconds the service should wait after hearing about an event from the kernel before passing it along to the client via its callback. Specifying a larger value may result in more effective temporal coalescing, resulting in fewer callbacks and greater overall efficiency.
- Parameter
since_when The service will supply events that have happened after the given event ID. To ask for events "since now" pass the constant kFSEventStreamEventIdSinceNow. Do not pass zero for this value unless you want to receive events for the requested directories "since the beginning of time".
- Parameter
flags Flags that modify the behavior of the stream being created. See Apple's FSEvents documentation for details of the various flags available.