Forum Discussion

ShinehahGnolaum's avatar
ShinehahGnolaum
Helpful | Level 7
8 years ago
Solved

What is ListFolderContinueArg?

What is ListFolderContinueArg?

What do those comments in the code mean? Would it be in any way helpful for me to know what that is saying?

    /// The ListFolderContinueArg struct
    open class ListFolderContinueArg : CustomStringConvertible {

        /// The cursor returned by your last call to listFolder or listFolderContinue.
        public let cursor: String

        public init(cursor: String)

        /// A textual representation of this instance.
        ///
        /// Calling this property directly is discouraged. Instead, convert an
        /// instance of any type to a string by using the `String(describing:)`
        /// initializer. This initializer works with any type, and uses the custom
        /// `description` property for types that conform to
        /// `CustomStringConvertible`:
        ///
        ///     struct Point: CustomStringConvertible {
        ///         let x: Int, y: Int
        ///
        ///         var description: String {
        ///             return "(\(x), \(y))"
        ///         }
        ///     }
        ///
        ///     let p = Point(x: 21, y: 30)
        ///     let s = String(describing: p)
        ///     print(s)
        ///     // Prints "(21, 30)"
        ///
        /// The conversion of `p` to a string in the assignment to `s` uses the
        /// `Point` type's `description` property.
        open var description: String { get }
    }

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago

    The ListFolderContinueArg class represents the arguments that can be passed to listFolderContinue. You don't need to read the code for it. Please review the documentation for listFolder and listFolderContinue instead for information on how to use them.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!