Name

SubscriptionListener

Hierarchy

  • SubscriptionListener

Constructors

Methods

  • Called when a chat update is received. Implementing this method is optional.

    Parameters

    • subscription: Subscription

      The subscription for which the update occurred.

    • evt: ChatEvent

      The chat update.

    Returns void

  • Called when a container update is received. Implementing this method is optional.

    Parameters

    Returns void

  • Called when a directory update is received. Implementing this method is optional.

    Parameters

    Returns void

  • Called when a json update is received. Implementing this method is optional.

    Parameters

    • subscription: Subscription

      The subscription for which the update occurred.

    • evt: JsonEvent

      The JSON update.

    Returns void

  • Called when a news headline update is received. Implementing this method is optional.

    Parameters

    • subscription: Subscription

      The subscription for which the update occurred.

    • evt: NewsEvent

      The news headline update.

    Returns void

  • Called when a page update is received. Implementing this method is optional.

    Parameters

    • subscription: Subscription

      The subscription for which the update occurred.

    • evt: PageEvent

      The page update.

    Returns void

  • Called when a permission update is received. Implementing this method is optional.

    Parameters

    Returns void

  • Called when an update to type 2 data in a record is received. Implementing this method is optional.

    Parameters

    Returns void

  • Called when an update to type 3 data in a record is received. Implementing this method is optional.

    Parameters

    Returns void

  • Called when an update to type 1 data in a record is received. Implementing this method is optional.

    Parameters

    Returns void

  • Called when a news story update is received. Implementing this method is optional.

    Parameters

    • subscription: Subscription

      The subscription for which the update occurred.

    • evt: StoryEvent

      The news story update.

    Returns void

  • Called when there is an error in a subscription.

    This callback being invoked is a final state for the subscription and no further callbacks will be received for it.

    Parameters

    Returns void

  • Called when there is a change in the status of a subscription.

    Parameters

    Returns void

Generated using TypeDoc