DBCHECKEchoArg

Objective-C

@interface DBCHECKEchoArg : NSObject <DBSerializable, NSCopying>

Swift

class DBCHECKEchoArg : NSObject, DBSerializable, NSCopying

The EchoArg struct.

EchoArg contains the arguments to be sent to 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

  • The string that you’d like to be echoed back to you.

    Declaration

    Objective-C

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

    Swift

    var query: String { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithQuery:(nullable NSString *)query;

    Swift

    init(query: String?)

    Parameters

    query

    The string that you’d like to be echoed back to you.

    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.