ChangeList Event

Fires once for each change when ListChanges is called.

Syntax

class GoogleDriveChangeListEventParams {
public:
  const QString &ResourceId();
  const QString &SharedDriveId();
  bool Removed();
  const QString &Time();
  int ChangeType();
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void ChangeList(GoogleDriveChangeListEventParams *e);
// Or, subclass GoogleDrive and override this emitter function. virtual int FireChangeList(GoogleDriveChangeListEventParams *e) {...}

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 Qt Edition - Version 20.0 [Build 8265]