iOS Charting Documentation - SciChart iOS Charts SDK v3.x

SCIMessageSubscriptionToken

@interface SCIMessageSubscriptionToken : SCIDisposableBase

Represents an active subscription to a message.

  • Defines the type of the message.

    Declaration

    Objective-C

    @property (readonly, nonatomic) Class messageType;

    Swift

    var messageType: AnyClass! { get }
  • Initializes a new instance of the SCIMessageSubscriptionToken class.

    Declaration

    Objective-C

    - (instancetype)initWith:(id<ISCIEventAggregator>)eventAggregator
                 messageType:(Class)messageType;

    Parameters

    eventAggregator

    The ISCIEventAggregator instance to be used in this SCIMessageSubscriptionToken instance.

    messageType

    Type of message.