DBASYNCPollArg

@interface DBASYNCPollArg : NSObject <DBSerializable, NSCopying>

The PollArg struct.

Arguments for methods that poll the status of an asynchronous job.

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

  • Id of the asynchronous job. This is the value of a response returned from the method that launched the job.

    Declaration

    Objective-C

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

    Swift

    var asyncJobId: String { get }
  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithAsyncJobId:(nonnull NSString *)asyncJobId;

    Swift

    init(asyncJobId: String)

    Parameters

    asyncJobId

    Id of the asynchronous job. This is the value of a response returned from the method that launched the job.

    Return Value

    An initialized instance.