VenueDiaryEvent

public class VenueDiaryEvent : NSObject

Represents a Venue Diary event.

It is possible to have more than one diary event in a given day. E.g. if you leave and return. This timing is controlled by a global variable in BLESensorConfiguration. It is also possible to visit a place and have an event logged temporarily, but it not be shown in the diary. E.g. walking past a restaurant and checking its menu. This timing is again controlled by a global variable in BLESensorConfiguration.

  • Last received payload

    Declaration

    Swift

    public var payload: PayloadData?
  • Optional extended data

    Declaration

    Swift

    public var extended: ExtendedData?
  • Undocumented

    Declaration

    Swift

    public init(country: UInt16, state: UInt16, venue code: UInt32, name: String? = nil, firstSeen at: Date)
  • Undocumented

    Declaration

    Swift

    public func addPresenceIfSameEvent(_ at: Date) -> Bool
  • Undocumented

    Declaration

    Swift

    public func updateStateIfNecessary(at: Date = Date())
  • Undocumented

    Declaration

    Swift

    public func getCountry() -> UInt16
  • Undocumented

    Declaration

    Swift

    public func getState() -> UInt16
  • Undocumented

    Declaration

    Swift

    public func getCode() -> UInt32
  • Undocumented

    Declaration

    Swift

    public func isRecordable() -> Bool
  • Undocumented

    Declaration

    Swift

    public func isClosed() -> Bool
  • Undocumented

    Declaration

    Swift

    public func getFirstTime() -> Date
  • Undocumented

    Declaration

    Swift

    public func getLastTime() -> Date
  • Undocumented

    Declaration

    Swift

    public func getDuration() -> TimeInterval
  • Undocumented

    Declaration

    Swift

    public func setName(name: String?)
  • Undocumented

    Declaration

    Swift

    public func getName() -> String?