TTTrafficIncidentDataHolder

Objective-C

@interface TTTrafficIncidentDataHolder : NSObject

Swift

class TTTrafficIncidentDataHolder : NSObject

TTTrafficIncidentDataHolder

  • Creates empty instance of data holder.

    Declaration

    Objective-C

    + (TTTrafficIncidentDataHolder *_Nonnull)empty;

    Swift

    class func empty() -> TTTrafficIncidentDataHolder

    Return Value

    TTTrafficIncidentDataHolder

  • True if it does not contain any incidents.

    Declaration

    Objective-C

    - (BOOL)isEmpty;

    Swift

    func isEmpty() -> Bool

    Return Value

    BOOL

  • True if it contains any POI.

    Declaration

    Objective-C

    - (BOOL)isPOI;

    Swift

    func isPOI() -> Bool

    Return Value

    BOOL

  • True if it contains any Flow.

    Declaration

    Objective-C

    - (BOOL)isFlow;

    Swift

    func isFlow() -> Bool

    Return Value

    BOOL

  • True if it contains any Cluster.

    Declaration

    Objective-C

    - (BOOL)isCluster;

    Swift

    func isCluster() -> Bool

    Return Value

    BOOL