Package org.robovm.apple.coremotion
Class CMSensorRecorder
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.coremotion.CMSensorRecorder
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class CMSensorRecorder extends NSObject
- Since:
- Available in iOS 9.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CMSensorRecorder.CMSensorRecorderPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description CMSensorRecorder()
protected
CMSensorRecorder(NSObject.Handle h, long handle)
protected
CMSensorRecorder(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CMAuthorizationStatus
authorizationStatus()
CMSensorDataList
getAccelerometerDataBetween(NSDate fromDate, NSDate toDate)
static boolean
isAccelerometerRecordingAvailable()
static boolean
isAuthorizedForRecording()
Deprecated.Deprecated in iOS 11.0.void
recordAccelerometerForDuration(double duration)
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
CMSensorRecorder
public CMSensorRecorder()
-
CMSensorRecorder
protected CMSensorRecorder(NSObject.Handle h, long handle)
-
CMSensorRecorder
protected CMSensorRecorder(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getAccelerometerDataBetween
public CMSensorDataList getAccelerometerDataBetween(NSDate fromDate, NSDate toDate)
-
recordAccelerometerForDuration
public void recordAccelerometerForDuration(double duration)
-
isAccelerometerRecordingAvailable
public static boolean isAccelerometerRecordingAvailable()
-
authorizationStatus
public static CMAuthorizationStatus authorizationStatus()
- Since:
- Available in iOS 11.0 and later.
-
isAuthorizedForRecording
@Deprecated public static boolean isAuthorizedForRecording()
Deprecated.Deprecated in iOS 11.0.- Since:
- Available in iOS 9.0 and later.
-
-