GetLatestCursor
class GetLatestCursor extends RPCOperation
A way to quickly get a cursor for the folder's state. Unlike listfolder, listfolder/getlatestcursor doesn't return any entries. This endpoint is for app which only needs to know about new files and modifications and doesn't need to know about files that already exist in Dropbox.
Constants
API_VERSION |
Dropbox API version |
HOST |
The hostname for these requests |
Methods
Operation constructor.
Sets the default token to use with the constructor
Sets the default $async value for the constructor
Perform the operation, returning a promise or raw response object
Details
in AbstractOperation at line
line 82
__construct(
bool $async = null,
string $accessToken = null)
Operation constructor.
in AbstractOperation at line
line 102
final static
setDefaultToken(
string $token)
Sets the default token to use with the constructor
in AbstractOperation at line
line 122
boolean
isAsync()
Return whether we're operating in async mode
in AbstractOperation at line
line 135
final
AbstractOperation
setAsync(
bool $async)
Sets the sync/async operation mode
in AbstractOperation at line
line 149
final static
setDefaultAsync(
bool $async)
Sets the default $async value for the constructor
at line line 36
PromiseInterface|ResponseInterface
raw(
string $path = '',
ListFolderOptions $options = null)
Perform the operation, returning a promise or raw response object