Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

FSEvents.LatestEventId

Queries latest Event ID for this stream.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
FSEvents 5.4 Yes No Yes, macOS only No No

MBS( "FSEvents.LatestEventId"; FSEventsRef )

Parameters

Parameter Description Example value
FSEventsRef The reference number for this FSEvents object. $fstream

Result

Returns ID or error.

Description

Queries latest Event ID for this stream.
Fetches the sinceWhen property of the stream. Upon receiving an event (and just before invoking the client's callback) this attribute is updated to the highest-numbered event ID mentioned in the event.

Examples

Query last event ID:

MBS( "FSEvents.LatestEventId"; $FSE )

See also


FSEvents.LastEventIdForDeviceBeforeTime   -   FSEvents.NextEvent

Feedback: Report problem or ask question.




Links
MBS Xojo blog