AWSIoTTimestreamTimestamp

Objective-C

@interface AWSIoTTimestreamTimestamp

Swift

class AWSIoTTimestreamTimestamp

Describes how to interpret an application-defined timestamp value from an MQTT message payload and the precision of that value.

Required parameters: [value, unit]

  • The precision of the timestamp value that results from the expression described in value.

    Valid values: SECONDS | MILLISECONDS | MICROSECONDS | NANOSECONDS. The default is MILLISECONDS.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable unit;

    Swift

    var unit: String? { get set }
  • An expression that returns a long epoch time value.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable value;

    Swift

    var value: String? { get set }