GlucoseSampleValue.swift 555 B

12345678910111213141516171819
  1. //
  2. // GlucoseSampleValue.swift
  3. // LoopKit
  4. //
  5. // Created by Nathan Racklyeft on 3/6/16.
  6. // Copyright © 2016 Nathan Racklyeft. All rights reserved.
  7. //
  8. public protocol GlucoseSampleValue: GlucoseValue {
  9. /// Uniquely identifies the source of the sample.
  10. var provenanceIdentifier: String { get }
  11. /// Whether the glucose value was provided for visual consistency, rather than an actual, calibrated reading.
  12. var isDisplayOnly: Bool { get }
  13. /// Whether the glucose value was entered by the user.
  14. var wasUserEntered: Bool { get }
  15. }