TKBuzzRealTime

Objective-C

@interface TKBuzzRealTime : NSObject

- (void)updateTrip:(Trip *)trip
           success:(void (^)(Trip *trip, BOOL tripUpdated))success
           failure:(void (^)(NSError * _Nullable error))failure;

+ (void)updateDLSEntries:(NSSet<DLSEntry *> *)entries
                inRegion:(TKRegion *)region
                 success:(void (^)(NSSet<DLSEntry *> *entries))success
                 failure:(void (^)(NSError * _Nullable error))failure;

+ (void)updateEmbarkations:(NSSet<StopVisits *> *)embarkations
                  inRegion:(TKRegion *)region
                   success:(void (^)(NSSet<StopVisits *> *embarkations))success
                   failure:(void (^)(NSError * _Nullable error))failure;

+ (void)updateServices:(NSSet<Service *> *)services
              inRegion:(TKRegion *)region
               success:(void (^)(NSSet<Service *> *services))success
               failure:(void (^)(NSError * _Nullable error))failure;

@end

Swift

class TKBuzzRealTime : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (void)updateTrip:(Trip *)trip
               success:(void (^)(Trip *trip, BOOL tripUpdated))success
               failure:(void (^)(NSError * _Nullable error))failure;

    Swift

    func update(_ trip: Trip, success: @escaping (Trip, Bool) -> Void, failure: @escaping (Error?) -> Void)
  • Undocumented

    Declaration

    Objective-C

    + (void)updateDLSEntries:(NSSet<DLSEntry *> *)entries
                    inRegion:(TKRegion *)region
                     success:(void (^)(NSSet<DLSEntry *> *entries))success
                     failure:(void (^)(NSError * _Nullable error))failure;

    Swift

    class func updateDLSEntries(_ entries: Set<AnyHashable>, in region: TKRegion, success: @escaping (Set<AnyHashable>) -> Void, failure: @escaping (Error?) -> Void)
  • Undocumented

    Declaration

    Objective-C

    + (void)updateEmbarkations:(NSSet<StopVisits *> *)embarkations
                      inRegion:(TKRegion *)region
                       success:(void (^)(NSSet<StopVisits *> *embarkations))success
                       failure:(void (^)(NSError * _Nullable error))failure;

    Swift

    class func updateEmbarkations(_ embarkations: Set<AnyHashable>, in region: TKRegion, success: @escaping (Set<AnyHashable>) -> Void, failure: @escaping (Error?) -> Void)
  • Undocumented

    Declaration

    Objective-C

    + (void)updateServices:(NSSet<Service *> *)services
                  inRegion:(TKRegion *)region
                   success:(void (^)(NSSet<Service *> *services))success
                   failure:(void (^)(NSError * _Nullable error))failure;

    Swift

    class func update(_ services: Set<AnyHashable>, in region: TKRegion, success: @escaping (Set<AnyHashable>) -> Void, failure: @escaping (Error?) -> Void)