<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I know when there has been a change in the user's Dropbox account? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-know-when-there-has-been-a-change-in-the-user-s-Dropbox/m-p/303692#M18354</link>
    <description>&lt;P&gt;Accessing the &lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/Files/ListFolderResult.html#/s:vCC13SwiftyDropbox5Files16ListFolderResult7entriesGSaCS0_8Metadata_" target="_self"&gt;ListFolderResult.entries&lt;/A&gt;&amp;nbsp;as returned by&amp;nbsp;&lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:FC13SwiftyDropbox11FilesRoutes10listFolderFT4pathSS9recursiveSb16includeMediaInfoSb14includeDeletedSb31includeHasExplicitSharedMembersSb21includeMountedFoldersSb5limitGSqVs6UInt32_10sharedLinkGSqCCS_5Files10SharedLink_21includePropertyGroupsGSqOCS_14FileProperties18TemplateFilterBase__GCS_10RpcRequestCS2_26ListFolderResultSerializerCS2_25ListFolderErrorSerializer_" target="_self" rel="nofollow noopener noreferrer"&gt;listFolder&lt;/A&gt;&amp;nbsp;is the right way to begin listing the contents of a folder. Note that it is not guaranteed to return all of the results though. The interface is paginated, so you may need to call back to&amp;nbsp;&lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:FC13SwiftyDropbox11FilesRoutes18listFolderContinueFT6cursorSS_GCS_10RpcRequestCCS_5Files26ListFolderResultSerializerCS2_33ListFolderContinueErrorSerializer_" target="_self" rel="nofollow noopener noreferrer"&gt;listFolderContinue&lt;/A&gt;&amp;nbsp;to get more entries. (It also returns a&amp;nbsp;&lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/Files/ListFolderResult.html" target="_blank"&gt;ListFolderResult&lt;/A&gt;.)&lt;/P&gt;
&lt;P&gt;Likewise, you can later call back to&amp;nbsp;&lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:FC13SwiftyDropbox11FilesRoutes18listFolderContinueFT6cursorSS_GCS_10RpcRequestCCS_5Files26ListFolderResultSerializerCS2_33ListFolderContinueErrorSerializer_" target="_self" rel="nofollow noopener noreferrer"&gt;listFolderContinue&lt;/A&gt;&amp;nbsp;again to get any further changes. It will return only things that have changed since your previous call, based on the passed cursor. Please refer to the&amp;nbsp;&lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:FC13SwiftyDropbox11FilesRoutes10listFolderFT4pathSS9recursiveSb16includeMediaInfoSb14includeDeletedSb31includeHasExplicitSharedMembersSb21includeMountedFoldersSb5limitGSqVs6UInt32_10sharedLinkGSqCCS_5Files10SharedLink_21includePropertyGroupsGSqOCS_14FileProperties18TemplateFilterBase__GCS_10RpcRequestCS2_26ListFolderResultSerializerCS2_25ListFolderErrorSerializer_" target="_self" rel="nofollow noopener noreferrer"&gt;listFolder&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;documentation for information on how to use these.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Oct 2018 20:45:03 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-10-17T20:45:03Z</dc:date>
    <item>
      <title>How do I know when there has been a change in the user's Dropbox account?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-know-when-there-has-been-a-change-in-the-user-s-Dropbox/m-p/303601#M18345</link>
      <description>&lt;P&gt;How do I know when there has been a change in the user's Dropbox account made from outside of the current iOS device such as a new file created? I also need to know if the user logged out,&amp;nbsp; or if a different user logged in on the iOS device. Is there a way that Dropbox notifies my app of these events? Where do I get documentation about those notifications and how to handle them?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:09:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-know-when-there-has-been-a-change-in-the-user-s-Dropbox/m-p/303601#M18345</guid>
      <dc:creator>ShinehahGnolaum</dc:creator>
      <dc:date>2019-05-29T09:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I know when there has been a change in the user's Dropbox account?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-know-when-there-has-been-a-change-in-the-user-s-Dropbox/m-p/303618#M18346</link>
      <description>&lt;P&gt;To&amp;nbsp;retrieve changes using SwiftyDropbox on iOS, you should use the &lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:FC13SwiftyDropbox11FilesRoutes10listFolderFT4pathSS9recursiveSb16includeMediaInfoSb14includeDeletedSb31includeHasExplicitSharedMembersSb21includeMountedFoldersSb5limitGSqVs6UInt32_10sharedLinkGSqCCS_5Files10SharedLink_21includePropertyGroupsGSqOCS_14FileProperties18TemplateFilterBase__GCS_10RpcRequestCS2_26ListFolderResultSerializerCS2_25ListFolderErrorSerializer_" target="_self"&gt;listFolder&lt;/A&gt; and &lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:FC13SwiftyDropbox11FilesRoutes18listFolderContinueFT6cursorSS_GCS_10RpcRequestCCS_5Files26ListFolderResultSerializerCS2_33ListFolderContinueErrorSerializer_" target="_self"&gt;listFolderContinue&lt;/A&gt; methods. You can call back to&amp;nbsp;&lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:FC13SwiftyDropbox11FilesRoutes18listFolderContinueFT6cursorSS_GCS_10RpcRequestCCS_5Files26ListFolderResultSerializerCS2_33ListFolderContinueErrorSerializer_" target="_self"&gt;listFolderContinue&lt;/A&gt;, passing in the latest cursor value you recieved, to retrieve any new changes.&lt;/P&gt;
&lt;P&gt;Also, you can use the &lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:FC13SwiftyDropbox11FilesRoutes18listFolderLongpollFT6cursorSS7timeoutVs6UInt64_GCS_10RpcRequestCCS_5Files34ListFolderLongpollResultSerializerCS3_33ListFolderLongpollErrorSerializer_" target="_self"&gt;listFolderLongpoll&lt;/A&gt; method to get low latency updates about when new changes are available, by passing in the latest&amp;nbsp;cursor value you recieved. When it does indicate changes, you can then call back to&amp;nbsp;&lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:FC13SwiftyDropbox11FilesRoutes18listFolderContinueFT6cursorSS_GCS_10RpcRequestCCS_5Files26ListFolderResultSerializerCS2_33ListFolderContinueErrorSerializer_" target="_self"&gt;listFolderContinue&lt;/A&gt;&amp;nbsp;to retrieve them.&lt;/P&gt;
&lt;P&gt;That's all for file/folder changes only though. Can you elaborate on what information you're looking for when you say you "need to know if the user logged out"? There are a variety of places where the user interacts with Dropbox. Are you referring to them logging out of the official&amp;nbsp;Dropbox web site, the official&amp;nbsp;Dropbox mobile app, the official Dropbox desktop app, or of your own third party app?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 17:26:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-know-when-there-has-been-a-change-in-the-user-s-Dropbox/m-p/303618#M18346</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-10-17T17:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I know when there has been a change in the user's Dropbox account?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-know-when-there-has-been-a-change-in-the-user-s-Dropbox/m-p/303628#M18347</link>
      <description>&lt;P&gt;I'm using SwiftyDropbox in iOS in my own app. I am wondering what happens if I send a command to Dropbox when the user had logged out. If I set a variable to hold the currently logged in DropboxClient, would the variable become nil if the user had logged out of Dropbox? Is it possible for me to perform an action in Dropbox, thinking that the user is still logged in to Dropbox when in fact he had logged out?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 18:28:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-know-when-there-has-been-a-change-in-the-user-s-Dropbox/m-p/303628#M18347</guid>
      <dc:creator>ShinehahGnolaum</dc:creator>
      <dc:date>2018-10-17T18:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I know when there has been a change in the user's Dropbox account?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-know-when-there-has-been-a-change-in-the-user-s-Dropbox/m-p/303647#M18348</link>
      <description>&lt;P&gt;How would I use listFolder, listFolderLongpoll, and listFolderContinue?&amp;nbsp;I pass the cursor from the result into a call of listFolderContinue. Then how would I tell what has changed from the previous query?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 19:05:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-know-when-there-has-been-a-change-in-the-user-s-Dropbox/m-p/303647#M18348</guid>
      <dc:creator>ShinehahGnolaum</dc:creator>
      <dc:date>2018-10-17T19:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I know when there has been a change in the user's Dropbox account?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-know-when-there-has-been-a-change-in-the-user-s-Dropbox/m-p/303666#M18350</link>
      <description>&lt;P&gt;Inside of your own app, you control whether or not the user is "logged in". If/when the user indicates that they want to log out, you can have the app throw away any copy of the access token/client it has, and call &lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/DropboxClientsManager.html#/s:ZFC13SwiftyDropbox21DropboxClientsManager13unlinkClientsFT_T_" target="_self"&gt;DropboxClientsManager.unlinkClients&lt;/A&gt; to remove it from&amp;nbsp;DropboxClientsManager. You can also optionally call &lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/AuthRoutes.html#/s:FC13SwiftyDropbox10AuthRoutes11tokenRevokeFT_GCS_10RpcRequestCS_14VoidSerializerS2__" target="_self"&gt;tokenRevoke&lt;/A&gt; first to revoke the access token on the&amp;nbsp;Dropbox API servers as well.&lt;/P&gt;
&lt;P&gt;And yes, you would set a response handler for the list folder methods, just like other RPC methods in the SDK, &lt;A href="https://github.com/dropbox/SwiftyDropbox#rpc-style-request" target="_blank"&gt;as seen in the documentation&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 19:06:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-know-when-there-has-been-a-change-in-the-user-s-Dropbox/m-p/303666#M18350</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-10-17T19:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I know when there has been a change in the user's Dropbox account?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-know-when-there-has-been-a-change-in-the-user-s-Dropbox/m-p/303670#M18352</link>
      <description>&lt;P&gt;How do I tell from the&amp;nbsp;result I get in the closure I pass to the response method what the changes are? In the closure for the response method I set for listFolder, .entries is thel list of all the current files and folders. What would entries be for the response of the listFolderContinue methods? Would .entries also be the list of current files and folders, or do I get specific information like what had been added and what had been deleted since my last query?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 19:19:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-know-when-there-has-been-a-change-in-the-user-s-Dropbox/m-p/303670#M18352</guid>
      <dc:creator>ShinehahGnolaum</dc:creator>
      <dc:date>2018-10-17T19:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I know when there has been a change in the user's Dropbox account?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-know-when-there-has-been-a-change-in-the-user-s-Dropbox/m-p/303692#M18354</link>
      <description>&lt;P&gt;Accessing the &lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/Files/ListFolderResult.html#/s:vCC13SwiftyDropbox5Files16ListFolderResult7entriesGSaCS0_8Metadata_" target="_self"&gt;ListFolderResult.entries&lt;/A&gt;&amp;nbsp;as returned by&amp;nbsp;&lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:FC13SwiftyDropbox11FilesRoutes10listFolderFT4pathSS9recursiveSb16includeMediaInfoSb14includeDeletedSb31includeHasExplicitSharedMembersSb21includeMountedFoldersSb5limitGSqVs6UInt32_10sharedLinkGSqCCS_5Files10SharedLink_21includePropertyGroupsGSqOCS_14FileProperties18TemplateFilterBase__GCS_10RpcRequestCS2_26ListFolderResultSerializerCS2_25ListFolderErrorSerializer_" target="_self" rel="nofollow noopener noreferrer"&gt;listFolder&lt;/A&gt;&amp;nbsp;is the right way to begin listing the contents of a folder. Note that it is not guaranteed to return all of the results though. The interface is paginated, so you may need to call back to&amp;nbsp;&lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:FC13SwiftyDropbox11FilesRoutes18listFolderContinueFT6cursorSS_GCS_10RpcRequestCCS_5Files26ListFolderResultSerializerCS2_33ListFolderContinueErrorSerializer_" target="_self" rel="nofollow noopener noreferrer"&gt;listFolderContinue&lt;/A&gt;&amp;nbsp;to get more entries. (It also returns a&amp;nbsp;&lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/Files/ListFolderResult.html" target="_blank"&gt;ListFolderResult&lt;/A&gt;.)&lt;/P&gt;
&lt;P&gt;Likewise, you can later call back to&amp;nbsp;&lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:FC13SwiftyDropbox11FilesRoutes18listFolderContinueFT6cursorSS_GCS_10RpcRequestCCS_5Files26ListFolderResultSerializerCS2_33ListFolderContinueErrorSerializer_" target="_self" rel="nofollow noopener noreferrer"&gt;listFolderContinue&lt;/A&gt;&amp;nbsp;again to get any further changes. It will return only things that have changed since your previous call, based on the passed cursor. Please refer to the&amp;nbsp;&lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:FC13SwiftyDropbox11FilesRoutes10listFolderFT4pathSS9recursiveSb16includeMediaInfoSb14includeDeletedSb31includeHasExplicitSharedMembersSb21includeMountedFoldersSb5limitGSqVs6UInt32_10sharedLinkGSqCCS_5Files10SharedLink_21includePropertyGroupsGSqOCS_14FileProperties18TemplateFilterBase__GCS_10RpcRequestCS2_26ListFolderResultSerializerCS2_25ListFolderErrorSerializer_" target="_self" rel="nofollow noopener noreferrer"&gt;listFolder&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;documentation for information on how to use these.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 20:45:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-know-when-there-has-been-a-change-in-the-user-s-Dropbox/m-p/303692#M18354</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-10-17T20:45:03Z</dc:date>
    </item>
  </channel>
</rss>

