DBCHECKEchoResult

Objective-C

@interface DBCHECKEchoResult : NSObject <DBSerializable, NSCopying>

Swift

class DBCHECKEchoResult : NSObject, DBSerializable, NSCopying

The EchoResult struct.

EchoResult contains the result returned from the Dropbox servers.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

Instance fields

  • If everything worked correctly, this would be the same as query.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull result;

    Swift

    var result: String { get }

Constructors

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithResult:(nullable NSString *)result;

    Swift

    init(result: String?)

    Parameters

    result

    If everything worked correctly, this would be the same as query.

    Return Value

    An initialized instance.

  • Convenience constructor (exposes only non-nullable instance variables with no default value).

    Declaration

    Objective-C

    - (nonnull instancetype)initDefault;

    Swift

    init(default: ())

    Return Value

    An initialized instance.