Class SectionMetadata.SectionData

com.yandex.mapkit.transport.masstransit

public class SectionMetadata.SectionData

A choice of information specific to the section type.

Methods

Method Detail

fromTransfer

public static SectionData fromTransfer (@NonNull Transfer transfer)

fromTransports

public static SectionData fromTransports (@NonNull List< Transport > transports)

fromWait

public static SectionData fromWait (@NonNull Wait wait)

fromWalk

public static SectionData fromWalk (@NonNull Walk walk)

getTransfer

public Transfer getTransfer ()

getTransports

public List< Transport > getTransports ()

getWait

public Wait getWait ()

getWalk

public Walk getWalk ()