Class CMBatchedSensorManager

  • All Implemented Interfaces:
    NSObject

    public class CMBatchedSensorManager
    extends NSObject
    • Constructor Detail

      • CMBatchedSensorManager

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

      • accelerometerBatch

        @Nullable
        public @Nullable NSArray<? extends CMAccelerometerData> accelerometerBatch()
        accelerometerBatch Discussion: Latest batch of accelerometer data, or nil if none available.
      • accelerometerDataFrequency

        public long accelerometerDataFrequency()
        accelerometerFrequency Discussion: Frequency of provided accelerometer data in hertz.
      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static CMBatchedSensorManager allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • authorizationStatus

        public static long authorizationStatus()
        authorizationStatus Discussion: Returns the current authorization status for batched sensor updates.
      • automaticallyNotifiesObserversForKey

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

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

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

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

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

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

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

        @Nullable
        public @Nullable NSArray<? extends CMDeviceMotion> deviceMotionBatch()
        deviceMotionBatch Discussion: Latest batch of device motion data, or nil if none available.
      • deviceMotionDataFrequency

        public long deviceMotionDataFrequency()
        deviceMotionFrequency Discussion: Frequency of provided device motion data in hertz.
      • 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)
      • isAccelerometerActive

        public boolean isAccelerometerActive()
        accelerometerActive Discussion: Reflects whether batched accelerometer data is currently being provided.
      • isAccelerometerSupported

        public static boolean isAccelerometerSupported()
        accelerometerSupported Discussion: Reflects whether batched accelerometer data is supported on this platform.
      • isDeviceMotionActive

        public boolean isDeviceMotionActive()
        deviceMotionActive Discussion: Reflects whether batched device motion data is currently being provided.
      • isDeviceMotionSupported

        public static boolean isDeviceMotionSupported()
        deviceMotionSupported Discussion: Reflects whether batched device motion data is supported on this platform.
      • isSubclassOfClass

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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • 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)
      • startAccelerometerUpdates

        public void startAccelerometerUpdates()
        startAccelerometerUpdates Discussion: Starts batched accelerometer updates. Examine the accelerometerBatch property to access the latest batch of data.
      • startDeviceMotionUpdates

        public void startDeviceMotionUpdates()
        startDeviceMotionUpdates Discussion: Starts batched device motion updates. Examine the deviceMotionBatch property to access the latest batch of data.
      • stopAccelerometerUpdates

        public void stopAccelerometerUpdates()
        stopAccelerometerUpdates Discussion: Stop batched accelerometer updates.
      • stopDeviceMotionUpdates

        public void stopDeviceMotionUpdates()
        stopDeviceMotionUpdates Discussion: Stop batched device motion updates.
      • superclass_static

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

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.
      • version_static

        public static long version_static()