Class CMPedometerData

  • All Implemented Interfaces:
    NSCoding, NSCopying, NSSecureCoding, NSObject

    public class CMPedometerData
    extends NSObject
    implements NSSecureCoding, NSCopying
    CMPedometerData Discussion: A description of the user's pedestrian activity. At a minimum this object contains a step count. On supported platforms it also contains distance, flights of stairs, pace, and cadence.
    • Constructor Detail

      • CMPedometerData

        protected CMPedometerData​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • version_static

        public static long version_static()
      • averageActivePace

        public NSNumber averageActivePace()
        averageActivePace Discussion: For updates this returns the average active pace since startPedometerUpdatesFromDate:withHandler:, in s/m (seconds per meter). For historical queries this returns average active pace between startDate and endDate. The average active pace omits the non-active time, giving the average pace from when the user was moving. Value is nil if any of the following are true: (1) (For historical queries) this information is not available, e.g. the user did not move between startDate and endDate; (2) Unsupported platform.
      • copyWithZone

        public java.lang.Object copyWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • currentCadence

        public NSNumber currentCadence()
        currentCadence Discussion: For updates this returns the rate at which steps are taken, in steps per second. Value is nil if any of the following are true: (1) Information not yet available; (2) Historical query; (3) Unsupported platform.
      • currentPace

        public NSNumber currentPace()
        currentPace Discussion: For updates this returns the current pace, in s/m (seconds per meter). Value is nil if any of the following are true: (1) Information not yet available; (2) Historical query; (3) Unsupported platform.
      • distance

        public NSNumber distance()
        distance Discussion: Estimated distance in meters traveled by the user while walking and running. Value is nil unsupported platforms.
      • endDate

        public NSDate endDate()
        endDate Discussion: The end time of the period for which the pedometer data is valid. For updates this is the time for the most recent update. For historical queries this is the end time requested.
      • floorsAscended

        public NSNumber floorsAscended()
        floorsAscended Discussion: Approximate number of floors ascended by way of stairs. Value is nil on unsupported platforms.
      • floorsDescended

        public NSNumber floorsDescended()
        floorsDescended Discussion: Approximate number of floors descended by way of stairs. Value is nil on unsupported platforms.
      • numberOfSteps

        public NSNumber numberOfSteps()
        numberOfSteps Discussion: Number of steps taken by the user.
      • startDate

        public NSDate startDate()
        startDate Discussion: The start time of the period for which the pedometer data is valid. This is the start time requested for the session or historical query.
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding