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
SCIMessageSubscriptionToken
class.Declaration
Objective-C
- (nonnull instancetype)initWith: (nonnull id<ISCIEventAggregator>)eventAggregator messageType:(nonnull Class)messageType;
Swift
init(_ eventAggregator: ISCIEventAggregator, messageType: AnyClass)
Parameters
eventAggregator
The
ISCIEventAggregator
instance to be used in thisSCIMessageSubscriptionToken
instance.messageType
Type of message.