DBFILESListFolderLongpollResult
Objective-C
@interface DBFILESListFolderLongpollResult
: NSObject <DBSerializable, NSCopying>
Swift
class DBFILESListFolderLongpollResult : NSObject, DBSerializable, NSCopying
The ListFolderLongpollResult
struct.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Indicates whether new changes are available. If true, call
listFolderContinue
to retrieve the changes.Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull changes;
Swift
var changes: NSNumber { get }
-
If present, backoff for at least this many seconds before calling
listFolderLongpoll
again.Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSNumber *backoff;
Swift
var backoff: NSNumber? { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithChanges:(nonnull NSNumber *)changes backoff:(nullable NSNumber *)backoff;
Swift
init(changes: NSNumber, backoff: NSNumber?)
Parameters
changes
Indicates whether new changes are available. If true, call
listFolderContinue
to retrieve the changes.backoff
If present, backoff for at least this many seconds before calling
listFolderLongpoll
again.Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithChanges:(nonnull NSNumber *)changes;
Swift
init(changes: NSNumber)
Parameters
changes
Indicates whether new changes are available. If true, call
listFolderContinue
to retrieve the changes.Return Value
An initialized instance.