Class HKObject

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol
Direct Known Subclasses:
HKSample

public class HKObject
extends NSObject
implements NSSecureCoding
  • Constructor Details

    • HKObject

      protected HKObject()
    • HKObject

      protected HKObject​(NSObject.Handle h, long handle)
    • HKObject

      protected HKObject​(NSObject.SkipInit skipInit)
    • HKObject

      public HKObject​(NSCoder coder)
  • Method Details

    • getUUID

      public NSUUID getUUID()
    • getSource

      @Deprecated public HKSource getSource()
      Deprecated.
      Deprecated in iOS 9.0. Use sourceRevision
    • getSourceRevision

      public HKSourceRevision getSourceRevision()
      Since:
      Available in iOS 9.0 and later.
    • getDevice

      public HKDevice getDevice()
      Since:
      Available in iOS 9.0 and later.
    • getMetadata

      public HKMetadata getMetadata()
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • encode

      public void encode​(NSCoder coder)
      Specified by:
      encode in interface NSCoding
    • init

      protected long init​(NSCoder coder)