SMIComposedStreamingToken
Objective-C
@protocol SMIComposedStreamingToken <SMIEntryPayload>
Swift
protocol ComposedStreamingToken : EntryPayload
Represents a conversation entry composed with a number of SMIStreamingToken
.
-
The identifier which will correspond to the final transcripted entry.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nonnull targetMessageIdentifier;
Swift
var targetMessageIdentifier: String { get }
-
The type of this streaming token.
Declaration
Objective-C
@property (nonatomic, strong, readonly) SMIStreamingTokenTypes _Nonnull tokenType;
Swift
var tokenType: StreamingTokenTypes { get }
-
The compisition of all current
SMIStreamingToken
objects associated with this entry.Declaration
Objective-C
@property (nonatomic, strong, readonly) id<SMIEntryFormat> _Nonnull derivedValue;
Swift
var derivedValue: any EntryFormat { get }
-
The current list of all related streaming tokens in sequential order.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSArray<id<SMIMessageStreamingToken>> *_Nonnull relatedStreamingTokens;
Swift
var relatedStreamingTokens: [any MessageStreamingToken] { get }
-
The
SMIStreamingTokenValidation
which if present will signal whether the payload contained in this composed token is valid. This property is nil until the validation token is received. It is safe to assume that while this is nil the currently streamed set of tokens are valid. It is possible that there will never be a validation token sent, this is generally true where the content of the stream has been accepted and transcripted as final. If this validation token is present and it’svalid
property isNO
you should assume that the content of this stream has been discarded and will be replaced.Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) id<SMIStreamingTokenValidation> validation;
Swift
var validation: (any StreamingTokenValidation)? { get }