Updated property name in MPPTaskResult
This commit is contained in:
parent
16f9831c3f
commit
bc1b069edf
|
@ -26,11 +26,11 @@ NS_SWIFT_NAME(TaskResult)
|
||||||
/**
|
/**
|
||||||
* Timestamp that is associated with the task result object.
|
* Timestamp that is associated with the task result object.
|
||||||
*/
|
*/
|
||||||
@property(nonatomic, assign, readonly) long timestamp;
|
@property(nonatomic, assign, readonly) NSInteger timestampMs;
|
||||||
|
|
||||||
- (instancetype)init NS_UNAVAILABLE;
|
- (instancetype)init NS_UNAVAILABLE;
|
||||||
|
|
||||||
- (instancetype)initWithTimestamp:(long)timestamp NS_DESIGNATED_INITIALIZER;
|
- (instancetype)initWithTimestampMs:(NSInteger)timestampMs NS_DESIGNATED_INITIALIZER;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
|
@ -16,16 +16,16 @@
|
||||||
|
|
||||||
@implementation MPPTaskResult
|
@implementation MPPTaskResult
|
||||||
|
|
||||||
- (instancetype)initWithTimestamp:(long)timestamp {
|
- (instancetype)initWithTimestampMs:(NSInteger)timestampMs {
|
||||||
self = [super init];
|
self = [super init];
|
||||||
if (self) {
|
if (self) {
|
||||||
_timestamp = timestamp;
|
_timestampMs = timestampMs;
|
||||||
}
|
}
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id)copyWithZone:(NSZone *)zone {
|
- (id)copyWithZone:(NSZone *)zone {
|
||||||
return [[MPPTaskResult alloc] initWithTimestamp:self.timestamp];
|
return [[MPPTaskResult alloc] initWithTimestampMs:self.timestampMs];
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user