cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What is ListFolderContinueArg?

What is ListFolderContinueArg?

ShinehahGnolaum
Helpful | Level 7
Go to solution

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 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

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.

View solution in original post

1 Reply 1

Greg-DB
Dropbox Staff
Go to solution

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.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?