AWSCognitoDatasetMetadata

Objective-C

@interface AWSCognitoDatasetMetadata : NSObject

Swift

class AWSCognitoDatasetMetadata : NSObject

An object that encapsulates the dataset metadata.

  • The name of this dataset

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *name;

    Swift

    var name: String! { get }
  • The last sync count known on the client device.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *lastSyncCount;

    Swift

    var lastSyncCount: NSNumber! { get }
  • The creation date of the dataset on the remote store.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSDate *creationDate;

    Swift

    var creationDate: Date! { get }
  • The amount of storage on the remote store this dataset uses.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *dataStorage;

    Swift

    var dataStorage: NSNumber! { get }
  • The id of the last device to modify this dataset.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *lastModifiedBy;

    Swift

    var lastModifiedBy: String! { get }
  • The date this dataset was last modified

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSDate *lastModifiedDate;

    Swift

    var lastModifiedDate: Date! { get }
  • The number of records in this dataset on the remote store.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *numRecords;

    Swift

    var numRecords: NSNumber! { get }
  • Returns true if this dataset has been cleared locally, but not synchronized.

    Declaration

    Objective-C

    - (BOOL)isDeleted;

    Swift

    func isDeleted() -> Bool