One Logo Pool Ball
CoreMotion · IOS API REFERENCE

CMBatchedSensorManager

class · SDK 27.1

class CMBatchedSensorManager

Members (16)

get

isAccelerometerSupported

TypeScript
static get isAccelerometerSupported(): boolean
Swift declaration
class var isAccelerometerSupported: Bool { get }
get

authorizationStatus

TypeScript
static get authorizationStatus(): CMAuthorizationStatus
Swift declaration
class var authorizationStatus: CMAuthorizationStatus { get }
get

isDeviceMotionSupported

TypeScript
static get isDeviceMotionSupported(): boolean
Swift declaration
class var isDeviceMotionSupported: Bool { get }
init

init

TypeScript
static init(): CMBatchedSensorManager
Swift declaration
init()
method

startAccelerometerUpdates

TypeScript
startAccelerometerUpdates(): void
Swift declaration
func startAccelerometerUpdates()
method

startAccelerometerUpdates

TypeScript
startAccelerometerUpdatesHandler(handler: ((arg0: (Array<CMAccelerometerData>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func startAccelerometerUpdates(handler: @escaping ([CMAccelerometerData]?, (any Error)?) -> Void)
method

startDeviceMotionUpdates

TypeScript
startDeviceMotionUpdates(): void
Swift declaration
func startDeviceMotionUpdates()
method

startDeviceMotionUpdates

TypeScript
startDeviceMotionUpdatesHandler(handler: ((arg0: (Array<CMDeviceMotion>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func startDeviceMotionUpdates(handler: @escaping ([CMDeviceMotion]?, (any Error)?) -> Void)
method

stopAccelerometerUpdates

TypeScript
stopAccelerometerUpdates(): void
Swift declaration
func stopAccelerometerUpdates()
method

stopDeviceMotionUpdates

TypeScript
stopDeviceMotionUpdates(): void
Swift declaration
func stopDeviceMotionUpdates()
get

isAccelerometerActive

TypeScript
get isAccelerometerActive(): boolean
Swift declaration
var isAccelerometerActive: Bool { get }
get

accelerometerBatch

TypeScript
get accelerometerBatch(): (Array<CMAccelerometerData>) | null
Swift declaration
var accelerometerBatch: [CMAccelerometerData]? { get }
get

accelerometerDataFrequency

TypeScript
get accelerometerDataFrequency(): number
Swift declaration
var accelerometerDataFrequency: Int { get }
get

isDeviceMotionActive

TypeScript
get isDeviceMotionActive(): boolean
Swift declaration
var isDeviceMotionActive: Bool { get }
get

deviceMotionBatch

TypeScript
get deviceMotionBatch(): (Array<CMDeviceMotion>) | null
Swift declaration
var deviceMotionBatch: [CMDeviceMotion]? { get }
get

deviceMotionDataFrequency

TypeScript
get deviceMotionDataFrequency(): number
Swift declaration
var deviceMotionDataFrequency: Int { get }

Skipped declarations

No declarations were skipped in this snapshot.

All CoreMotion types →