Hierarchy

  • TriggerService

Constructors

Methods

  • Adds a trigger listener that will be called back when triggers are added and removed.

    Parameters

    • listener: any

    Returns void

  • Add a new trigger for the current user.

    Parameters

    • subject: any

      the rttp subject of this trigger.

    • condition: any

      the trigger condition, for more details on the format of the condition string, please see the StreamLink Overview document.

    • extraParams: any

      a map of extra parameters to be added to the trigger.

    • listener: any

      a ResultListener that will be called back to notify the user code of the result of this operation.

    Returns Trigger

    the trigger that has been created.

  • Disables a trigger in the system.

    Parameters

    • trigger: any

      the Trigger that should be Disabled.

    • listener: any

      a ResultListener that will be called back to notify the user code of the result of this operation.

    Returns void

  • Enables a trigger from in system.

    Parameters

    • trigger: any

      the Trigger that should be enabled.

    • listener: any

      a ResultListener that will be called back to notify the user code of the result of this operation.

    Returns void

  • Removes a previously added trigger listener, callbacks to this listener will be stopped.

    Parameters

    • listener: any

    Returns void

  • Removes a trigger from the system.

    Parameters

    • trigger: any

      the Trigger that should be removed.

    • listener: any

      a ResultListener that will be called back to notify the user code of the result of this operation.

    Returns void

Generated using TypeDoc