Class CMStepCounter

  • All Implemented Interfaces:
    NSObjectProtocol, org.robovm.objc.ObjCProtocol

    @Deprecated
    public class CMStepCounter
    extends NSObject
    Deprecated.
    Deprecated in iOS 8.0. Use CMPedometer instead
    Since:
    Available in iOS 7.0 and later.
    • Constructor Detail

      • CMStepCounter

        public CMStepCounter()
        Deprecated.
      • CMStepCounter

        protected CMStepCounter​(NSObject.Handle h,
                                long handle)
        Deprecated.
    • Method Detail

      • queryStepCount

        public void queryStepCount​(NSDate start,
                                   NSDate end,
                                   NSOperationQueue queue,
                                   org.robovm.objc.block.VoidBlock2<java.lang.Long,​NSError> handler)
        Deprecated.
      • startStepCountingUpdates

        public void startStepCountingUpdates​(NSOperationQueue queue,
                                             long stepCounts,
                                             org.robovm.objc.block.VoidBlock3<java.lang.Long,​NSDate,​NSError> handler)
        Deprecated.
      • stopStepCountingUpdates

        public void stopStepCountingUpdates()
        Deprecated.
      • isStepCountingAvailable

        public static boolean isStepCountingAvailable()
        Deprecated.