Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • default
    • Mode

Index

Constructors

  • new Mode(config: string): Mode
  • Parameters

    • config: string

    Returns Mode

Properties

appKey: string

Methods

  • getActiveServiceTypes():
  • Returns the service type active for a mode. Currently only supports tube

    Returns

  • getAllArrivalPredictions(mode: string, count?: number):
  • Parameters

    • mode: string

      A mode name e.g. tube, dlr

    • count: number = -1

      Number of arrivals to return for each stop, -1 to return all available (default).

    Returns

Generated using TypeDoc