iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIMessageSubscriptionToken
@interface SCIMessageSubscriptionToken : SCIDisposableBase
Represents an active subscription to a message.
-
Defines the type of the message.
Declaration
Objective-C
@property (nonatomic, readonly) Class _Nonnull messageType;Swift
var messageType: AnyClass { get } -
Initializes a new instance of the
SCIMessageSubscriptionTokenclass.Declaration
Objective-C
- (nonnull instancetype)initWith: (nonnull id<ISCIEventAggregator>)eventAggregator messageType:(nonnull Class)messageType;Swift
init(_ eventAggregator: any ISCIEventAggregator, messageType: AnyClass)Parameters
eventAggregatorThe
ISCIEventAggregatorinstance to be used in thisSCIMessageSubscriptionTokeninstance.messageTypeType of message.
View on GitHub