IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

ChangeList Event

Fires once for each change when ListChanges is called.

Syntax

ANSI (Cross Platform)
virtual int FireChangeList(GoogleDriveChangeListEventParams *e);
typedef struct {
const char *ResourceId;
const char *SharedDriveId;
int Removed;
const char *Time;
int ChangeType; int reserved; } GoogleDriveChangeListEventParams; Unicode (Windows) virtual INT FireChangeList(GoogleDriveChangeListEventParams *e);
typedef struct {
LPCWSTR ResourceId;
LPCWSTR SharedDriveId;
BOOL Removed;
LPCWSTR Time;
INT ChangeType; INT reserved; } GoogleDriveChangeListEventParams;
- (void)onChangeList:(NSString*)resourceId :(NSString*)sharedDriveId :(BOOL)removed :(NSString*)time :(int)changeType;
#define EID_GOOGLEDRIVE_CHANGELIST 1

virtual INT IPWORKSCLOUD_CALL FireChangeList(LPSTR &lpszResourceId, LPSTR &lpszSharedDriveId, BOOL &bRemoved, LPSTR &lpszTime, INT &iChangeType);

Remarks

This event fires once for each change returned when ListChanges is called.

ResourceId is the Id of the file or folder to which the change applies.

SharedDriveId is the Id of the shared drive associated with the change.

Removed indicates whether the file or shared drive has been removed from the view of the change list. For example, if a file was permanently deleted or access to it was revoked, this would return true (it would still return false if the file was simply in the trash).

Time is a DateTime string representing the time of the change. This is a combined date-time value (formatted according to RFC 3339).

ChangeType indicates whether this is a file (0) or a shared drive (1) change.

Refer to ListChanges for more information.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 C++ Edition - Version 20.0 [Build 8265]