SensorKit iOS 13.6 to 14.0 API Differences
NSDate+SensorKit.h
Added
NSDate (SensorKit)
Added
+[NSDate dateWithSRAbsoluteTime:]
Added
-[NSDate initWithSRAbsoluteTime:]
Added
NSDate.srAbsoluteTime
SRAbsoluteTime.h
Added
SRAbsoluteTime
Added
SRAbsoluteTimeGetCurrent()
Added
SRAbsoluteTimeFromContinuousTime()
Added
SRAbsoluteTimeToCFAbsoluteTime()
Added
SRAbsoluteTimeFromCFAbsoluteTime()
SRAmbientLightSample.h
Added
SRAmbientLightSensorPlacement
Added
SRAmbientLightSensorPlacementUnknown
Added
SRAmbientLightSensorPlacementFrontTop
Added
SRAmbientLightSensorPlacementFrontBottom
Added
SRAmbientLightSensorPlacementFrontRight
Added
SRAmbientLightSensorPlacementFrontLeft
Added
SRAmbientLightSensorPlacementFrontTopRight
Added
SRAmbientLightSensorPlacementFrontTopLeft
Added
SRAmbientLightSensorPlacementFrontBottomRight
Added
SRAmbientLightSensorPlacementFrontBottomLeft
Added
SRAmbientLightChromaticity
Added
SRAmbientLightSample
Added
SRAmbientLightSample.placement
Added
SRAmbientLightSample.chromaticity
Added
SRAmbientLightSample.lux
SRAuthorization.h
Added
SRAuthorizationStatus
Added
SRAuthorizationStatusNotDetermined
Added
SRAuthorizationStatusAuthorized
Added
SRAuthorizationStatusDenied
SRDefines.h
Added
#def SR_EXTERN
Added
#def SR_EXTERN_HIDDEN
SRDeletionRecord.h
Added
SRDeletionReason
Added
SRDeletionReasonUserInitiated
Added
SRDeletionReasonLowDiskSpace
Added
SRDeletionReasonAgeLimit
Added
SRDeletionReasonNoInterestedClients
Added
SRDeletionReasonSystemInitiated
Added
SRDeletionRecord
Added
SRDeletionRecord.startTime
Added
SRDeletionRecord.endTime
Added
SRDeletionRecord.reason
SRDevice.h
Added
SRDevice
Added
SRDevice.currentDevice
Added
SRDevice.name
Added
SRDevice.model
Added
SRDevice.systemName
Added
SRDevice.systemVersion
SRDeviceUsageCategories.h
Added
SRDeviceUsageCategoryKey
Added
SRDeviceUsageCategoryGames
Added
SRDeviceUsageCategoryBusiness
Added
SRDeviceUsageCategoryWeather
Added
SRDeviceUsageCategoryUtilities
Added
SRDeviceUsageCategoryTravel
Added
SRDeviceUsageCategorySports
Added
SRDeviceUsageCategorySocialNetworking
Added
SRDeviceUsageCategoryReference
Added
SRDeviceUsageCategoryProductivity
Added
SRDeviceUsageCategoryPhotoAndVideo
Added
SRDeviceUsageCategoryNews
Added
SRDeviceUsageCategoryNavigation
Added
SRDeviceUsageCategoryMusic
Added
SRDeviceUsageCategoryLifestyle
Added
SRDeviceUsageCategoryHealthAndFitness
Added
SRDeviceUsageCategoryFinance
Added
SRDeviceUsageCategoryEntertainment
Added
SRDeviceUsageCategoryEducation
Added
SRDeviceUsageCategoryBooks
Added
SRDeviceUsageCategoryMedical
Added
SRDeviceUsageCategoryNewsstand
Added
SRDeviceUsageCategoryCatalogs
Added
SRDeviceUsageCategoryKids
Added
SRDeviceUsageCategoryMiscellaneous
Added
SRDeviceUsageCategoryFoodAndDrink
Added
SRDeviceUsageCategoryDeveloperTools
Added
SRDeviceUsageCategoryGraphicsAndDesign
Added
SRDeviceUsageCategoryShopping
Added
SRDeviceUsageCategoryStickers
SRError.h
Added
SRErrorDomain
Added
SRErrorCode
Added
SRErrorInvalidEntitlement
Added
SRErrorNoAuthorization
Added
SRErrorDataInaccessible
Added
SRErrorFetchRequestInvalid
Added
SRErrorPromptDeclined
SRFetchRequest.h
Added
SRFetchRequest
Added
SRFetchRequest.from
Added
SRFetchRequest.to
Added
SRFetchRequest.device
SRFetchResult.h
Added
SRFetchResult
Added
SRFetchResult.sample
Added
SRFetchResult.timestamp
SRKeyboardMetrics.h
Added
SRKeyboardMetrics
Added
SRKeyboardMetrics.duration
Added
SRKeyboardMetrics.keyboardIdentifier
Added
SRKeyboardMetrics.version
Added
SRKeyboardMetrics.width
Added
SRKeyboardMetrics.height
Added
SRKeyboardMetrics.totalWords
Added
SRKeyboardMetrics.totalAlteredWords
Added
SRKeyboardMetrics.totalTaps
Added
SRKeyboardMetrics.totalDrags
Added
SRKeyboardMetrics.totalDeletes
Added
SRKeyboardMetrics.totalEmojis
Added
SRKeyboardMetrics.totalPaths
Added
SRKeyboardMetrics.totalPathTime
Added
SRKeyboardMetrics.totalPathLength
Added
SRKeyboardMetrics.totalAutoCorrections
Added
SRKeyboardMetrics.totalSpaceCorrections
Added
SRKeyboardMetrics.totalRetroCorrections
Added
SRKeyboardMetrics.totalTranspositionCorrections
Added
SRKeyboardMetrics.totalInsertKeyCorrections
Added
SRKeyboardMetrics.totalSkipTouchCorrections
Added
SRKeyboardMetrics.totalNearKeyCorrections
Added
SRKeyboardMetrics.totalSubstitutionCorrections
Added
SRKeyboardMetrics.totalHitTestCorrections
Added
SRKeyboardMetrics.totalTypingDuration
Added
SRKeyboardProbabilityMetric
Added
SRKeyboardProbabilityMetric.distributionSampleValues
Added
SRKeyboardMetrics.upErrorDistance
Added
SRKeyboardMetrics.downErrorDistance
Added
SRKeyboardMetrics.spaceUpErrorDistance
Added
SRKeyboardMetrics.spaceDownErrorDistance
Added
SRKeyboardMetrics.deleteUpErrorDistance
Added
SRKeyboardMetrics.deleteDownErrorDistance
Added
SRKeyboardMetrics.shortWordCharKeyUpErrorDistance
Added
SRKeyboardMetrics.shortWordCharKeyDownErrorDistance
Added
SRKeyboardMetrics.touchDownUp
Added
SRKeyboardMetrics.spaceTouchDownUp
Added
SRKeyboardMetrics.deleteTouchDownUp
Added
SRKeyboardMetrics.shortWordCharKeyTouchDownUp
Added
SRKeyboardMetrics.touchDownDown
Added
SRKeyboardMetrics.charKeyToPrediction
Added
SRKeyboardMetrics.shortWordCharKeyToCharKey
Added
SRKeyboardMetrics.charKeyToAnyTapKey
Added
SRKeyboardMetrics.anyTapToCharKey
Added
SRKeyboardMetrics.spaceToCharKey
Added
SRKeyboardMetrics.charKeyToSpaceKey
Added
SRKeyboardMetrics.spaceToDeleteKey
Added
SRKeyboardMetrics.deleteToSpaceKey
Added
SRKeyboardMetrics.spaceToSpaceKey
Added
SRKeyboardMetrics.spaceToShiftKey
Added
SRKeyboardMetrics.spaceToPlaneChangeKey
Added
SRKeyboardMetrics.spaceToPredictionKey
Added
SRKeyboardMetrics.deleteToCharKey
Added
SRKeyboardMetrics.charKeyToDelete
Added
SRKeyboardMetrics.deleteToDelete
Added
SRKeyboardMetrics.deleteToShiftKey
Added
SRKeyboardMetrics.deleteToPlaneChangeKey
Added
SRKeyboardMetrics.anyTapToPlaneChangeKey
Added
SRKeyboardMetrics.planeChangeToAnyTap
Added
SRKeyboardMetrics.charKeyToPlaneChangeKey
Added
SRKeyboardMetrics.planeChangeKeyToCharKey
Added
SRKeyboardMetrics.pathErrorDistanceRatio
Added
SRKeyboardMetrics.deleteToPath
Added
SRKeyboardMetrics.pathToDelete
Added
SRKeyboardMetrics.spaceToPath
Added
SRKeyboardMetrics.pathToSpace
Added
SRKeyboardMetrics.pathToPath
Added
SRKeyboardMetrics.longWordUpErrorDistance
Added
SRKeyboardMetrics.longWordDownErrorDistance
Added
SRKeyboardMetrics.longWordTouchDownUp
Added
SRKeyboardMetrics.longWordTouchDownDown
Added
SRKeyboardMetrics.deleteToDeletes
SRSensorReader.h
Added
SRSensorReaderDelegate
Added
-[SRSensorReaderDelegate sensorReader:fetchingRequest:didFetchResult:]
Added
-[SRSensorReaderDelegate sensorReader:didCompleteFetch:]
Added
-[SRSensorReaderDelegate sensorReader:fetchingRequest:failedWithError:]
Added
-[SRSensorReaderDelegate sensorReader:didChangeAuthorizationStatus:]
Added
-[SRSensorReaderDelegate sensorReaderWillStartRecording:]
Added
-[SRSensorReaderDelegate sensorReader:startRecordingFailedWithError:]
Added
-[SRSensorReaderDelegate sensorReaderDidStopRecording:]
Added
-[SRSensorReaderDelegate sensorReader:stopRecordingFailedWithError:]
Added
-[SRSensorReaderDelegate sensorReader:didFetchDevices:]
Added
-[SRSensorReaderDelegate sensorReader:fetchDevicesDidFailWithError:]
Added
SRSensorReader
Added
-[SRSensorReader initWithSensor:]
Added
-[SRSensorReader startRecording]
Added
-[SRSensorReader stopRecording]
Added
-[SRSensorReader fetchDevices]
Added
-[SRSensorReader fetch:]
Added
SRSensorReader.authorizationStatus
Added
SRSensorReader.sensor
Added
SRSensorReader.delegate
Added
+[SRSensorReader requestAuthorizationForSensors:completion:]
SRSensors.h
Added
SRSensor
Added
SRSensorAmbientLightSensor
Added
SRSensorAccelerometer
Added
SRSensorRotationRate
Added
SRSensorVisits
Added
SRSensorPedometerData
Added
SRSensorDeviceUsageReport
Added
SRSensorMessagesUsageReport
Added
SRSensorPhoneUsageReport
Added
SRSensorOnWristState
Added
SRSensorKeyboardMetrics
SRSensors+SRDeletionRecord.h
Added
NSString (SRDeletionRecord)
Added
-[NSString sr_sensorForDeletionRecordsFromSensor]
SRUsageReports.h
Added
SRDeviceUsageReport
Added
SRDeviceUsageReport.duration
Added
SRDeviceUsageReport.applicationUsageByCategory
Added
SRDeviceUsageReport.notificationUsageByCategory
Added
SRDeviceUsageReport.webUsageByCategory
Added
SRDeviceUsageReport.totalScreenWakes
Added
SRDeviceUsageReport.totalUnlocks
Added
SRDeviceUsageReport.totalUnlockDuration
Added
SRApplicationUsage
Added
SRApplicationUsage.bundleIdentifier
Added
SRApplicationUsage.usageTime
Added
SRNotificationEvent
Added
SRNotificationEventUnknown
Added
SRNotificationEventReceived
Added
SRNotificationEventDefaultAction
Added
SRNotificationEventSupplementaryAction
Added
SRNotificationEventClear
Added
SRNotificationEventNotificationCenterClearAll
Added
SRNotificationEventRemoved
Added
SRNotificationEventHide
Added
SRNotificationEventLongLook
Added
SRNotificationEventSilence
Added
SRNotificationEventAppLaunch
Added
SRNotificationEventExpired
Added
SRNotificationEventBannerPulldown
Added
SRNotificationEventTapCoalesce
Added
SRNotificationEventDeduped
Added
SRNotificationEventDeviceActivated
Added
SRNotificationEventDeviceUnlocked
Added
SRNotificationUsage
Added
SRNotificationUsage.bundleIdentifier
Added
SRNotificationUsage.event
Added
SRWebUsage
Added
SRWebUsage.totalUsageTime
Added
SRMessagesUsageReport
Added
SRMessagesUsageReport.duration
Added
SRMessagesUsageReport.totalOutgoingMessages
Added
SRMessagesUsageReport.totalIncomingMessages
Added
SRMessagesUsageReport.totalUniqueContacts
Added
SRPhoneUsageReport
Added
SRPhoneUsageReport.duration
Added
SRPhoneUsageReport.totalOutgoingCalls
Added
SRPhoneUsageReport.totalIncomingCalls
Added
SRPhoneUsageReport.totalUniqueContacts
Added
SRPhoneUsageReport.totalPhoneCallDuration
SRVisit.h
Added
SRLocationCategory
Added
SRLocationCategoryUnknown
Added
SRLocationCategoryHome
Added
SRLocationCategoryWork
Added
SRLocationCategorySchool
Added
SRLocationCategoryGym
Added
SRVisit
Added
SRVisit.distanceFromHome
Added
SRVisit.arrivalDateInterval
Added
SRVisit.departureDateInterval
Added
SRVisit.locationCategory
Added
SRVisit.identifier
SRWristDetection.h
Added
SRWristLocation
Added
SRWristLocationLeft
Added
SRWristLocationRight
Added
SRCrownOrientation
Added
SRCrownOrientationLeft
Added
SRCrownOrientationRight
Added
SRWristDetection
Added
SRWristDetection.onWrist
Added
SRWristDetection.wristLocation
Added
SRWristDetection.crownOrientation