类 TransitLine

java.lang.Object
ai.nextbillion.maps.model.TransitLine
所有已实现的接口:
java.io.Serializable

public class TransitLine
extends java.lang.Object
implements java.io.Serializable
The transit line used in a step.

See Transit Details for more detail.

另请参阅:
序列化表格
  • 字段概要

    字段 
    修饰符和类型 字段 说明
    TransitAgency[] agencies
    Information about the operator(s) of this transit line.
    java.lang.String color
    The color commonly used in signage for this transit line.
    java.lang.String icon
    The URL for the icon associated with this transit line.
    java.lang.String name
    The full name of this transit line.
    java.lang.String shortName
    The short name of this transit line.
    java.lang.String textColor
    The color of text commonly used for signage of this transit line.
    java.lang.String url
    The URL for this transit line as provided by the transit agency.
    Vehicle vehicle
    The type of vehicle used on this transit line.
  • 构造器概要

    构造器 
    构造器 说明
    TransitLine()  
  • 方法概要

    修饰符和类型 方法 说明
    java.lang.String toString()  

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 字段详细资料

    • name

      public java.lang.String name
      The full name of this transit line. E.g. "7 Avenue Express".
    • shortName

      public java.lang.String shortName
      The short name of this transit line. This will normally be a line number, such as "M7" or "355".
    • color

      public java.lang.String color
      The color commonly used in signage for this transit line. The color will be specified as a hex string, such as "#FF0033".
    • agencies

      public TransitAgency[] agencies
      Information about the operator(s) of this transit line.
    • url

      public java.lang.String url
      The URL for this transit line as provided by the transit agency.
    • icon

      public java.lang.String icon
      The URL for the icon associated with this transit line.
    • textColor

      public java.lang.String textColor
      The color of text commonly used for signage of this transit line. The color will be specified as a hex string, such as "#FF0033".
    • vehicle

      public Vehicle vehicle
      The type of vehicle used on this transit line.
  • 构造器详细资料

  • 方法详细资料

    • toString

      public java.lang.String toString()
      覆盖:
      toString 在类中 java.lang.Object