SMIStreamingToken
Objective-C
@protocol SMIStreamingToken <SMIEntryPayload>
Swift
protocol StreamingToken : EntryPayload
Represents an individual streamed token which is part of a series of tokens each of which contain a fragment of a complete entry payload.
-
The sequence order in which this token lies in the overall message.
Declaration
Objective-C
@property (nonatomic, readonly) NSUInteger sequenceNumber;
Swift
var sequenceNumber: UInt { get }
-
The timestamp of this specific token. Note: This may not correspond directly to the conversation entry, as the token is generated before the entry itself.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSDate *_Nonnull timestamp;
Swift
var timestamp: Date { get }
-
The type of this streaming token.
Declaration
Objective-C
@property (nonatomic, strong, readonly) SMIStreamingTokenTypes _Nonnull tokenType;
Swift
var tokenType: StreamingTokenTypes { get }