CoreHaptics iOS 12.4 to 13.0 API Differences
CHHapticDeviceCapability.h
Added
CHHapticParameterAttributes
Added
CHHapticParameterAttributes.minValue
Added
CHHapticParameterAttributes.maxValue
Added
CHHapticParameterAttributes.defaultValue
Added
CHHapticDeviceCapability
Added
CHHapticDeviceCapability.supportsHaptics
Added
CHHapticDeviceCapability.supportsAudio
Added
-[CHHapticDeviceCapability attributesForEventParameter:eventType:error:]
Added
-[CHHapticDeviceCapability attributesForDynamicParameter:error:]
CHHapticEngine.h
Added
#def CHHapticTimeImmediate
Added
CHHapticCompletionHandler
Added
CHHapticEngineFinishedAction
Added
CHHapticEngineFinishedActionStopEngine
Added
CHHapticEngineFinishedActionLeaveEngineRunning
Added
CHHapticEngineFinishedHandler
Added
CHHapticEngineStoppedReason
Added
CHHapticEngineStoppedReasonAudioSessionInterrupt
Added
CHHapticEngineStoppedReasonApplicationSuspended
Added
CHHapticEngineStoppedReasonIdleTimeout
Added
CHHapticEngineStoppedReasonNotifyWhenFinished
Added
CHHapticEngineStoppedReasonSystemError
Added
CHHapticEngineStoppedHandler
Added
CHHapticEngineResetHandler
Added
CHHapticEngine
Added
+[CHHapticEngine capabilitiesForHardware]
Added
CHHapticEngine.currentTime
Added
CHHapticEngine.stoppedHandler
Added
CHHapticEngine.resetHandler
Added
CHHapticEngine.playsHapticsOnly
Added
CHHapticEngine.isMutedForAudio
Added
CHHapticEngine.isMutedForHaptics
Added
CHHapticEngine.autoShutdownEnabled
Added
-[CHHapticEngine initAndReturnError:]
Added
-[CHHapticEngine initWithAudioSession:error:]
Added
-[CHHapticEngine startWithCompletionHandler:]
Added
-[CHHapticEngine startAndReturnError:]
Added
-[CHHapticEngine stopWithCompletionHandler:]
Added
-[CHHapticEngine notifyWhenPlayersFinished:]
Added
-[CHHapticEngine createPlayerWithPattern:error:]
Added
-[CHHapticEngine createAdvancedPlayerWithPattern:error:]
Added
-[CHHapticEngine registerAudioResource:options:error:]
Added
-[CHHapticEngine unregisterAudioResource:error:]
Added
-[CHHapticEngine playPatternFromURL:error:]
Added
-[CHHapticEngine playPatternFromData:error:]
CHHapticErrors.h
Added
CoreHapticsErrorDomain
Added
CHHapticErrorCode
Added
CHHapticErrorCodeEngineNotRunning
Added
CHHapticErrorCodeOperationNotPermitted
Added
CHHapticErrorCodeEngineStartTimeout
Added
CHHapticErrorCodeNotSupported
Added
CHHapticErrorCodeServerInitFailed
Added
CHHapticErrorCodeServerInterrupted
Added
CHHapticErrorCodeInvalidPatternPlayer
Added
CHHapticErrorCodeInvalidPatternData
Added
CHHapticErrorCodeInvalidPatternDictionary
Added
CHHapticErrorCodeInvalidAudioSession
Added
CHHapticErrorCodeInvalidParameterType
Added
CHHapticErrorCodeInvalidEventType
Added
CHHapticErrorCodeInvalidEventTime
Added
CHHapticErrorCodeInvalidEventDuration
Added
CHHapticErrorCodeInvalidAudioResource
Added
CHHapticErrorCodeResourceNotAvailable
Added
CHHapticErrorCodeBadEventEntry
Added
CHHapticErrorCodeBadParameterEntry
Added
CHHapticErrorCodeInvalidTime
Added
CHHapticErrorCodeUnknownError
Added
CHHapticErrorCodeMemoryError
CHHapticEvent.h
Added
CHHapticEventType
Added
CHHapticEventTypeHapticTransient
Added
CHHapticEventTypeHapticContinuous
Added
CHHapticEventTypeAudioContinuous
Added
CHHapticEventTypeAudioCustom
Added
CHHapticAudioResourceID
Added
CHHapticEvent
Added
CHHapticEvent.type
Added
CHHapticEvent.eventParameters
Added
CHHapticEvent.relativeTime
Added
CHHapticEvent.duration
Added
-[CHHapticEvent initWithEventType:parameters:relativeTime:]
Added
-[CHHapticEvent initWithEventType:parameters:relativeTime:duration:]
Added
-[CHHapticEvent initWithAudioResourceID:parameters:relativeTime:]
Added
-[CHHapticEvent initWithAudioResourceID:parameters:relativeTime:duration:]
CHHapticParameter.h
Added
CHHapticEventParameterID
Added
CHHapticEventParameterIDHapticIntensity
Added
CHHapticEventParameterIDHapticSharpness
Added
CHHapticEventParameterIDAttackTime
Added
CHHapticEventParameterIDDecayTime
Added
CHHapticEventParameterIDReleaseTime
Added
CHHapticEventParameterIDSustained
Added
CHHapticEventParameterIDAudioVolume
Added
CHHapticEventParameterIDAudioPitch
Added
CHHapticEventParameterIDAudioPan
Added
CHHapticEventParameterIDAudioBrightness
Added
CHHapticDynamicParameterID
Added
CHHapticDynamicParameterIDHapticIntensityControl
Added
CHHapticDynamicParameterIDHapticSharpnessControl
Added
CHHapticDynamicParameterIDHapticAttackTimeControl
Added
CHHapticDynamicParameterIDHapticDecayTimeControl
Added
CHHapticDynamicParameterIDHapticReleaseTimeControl
Added
CHHapticDynamicParameterIDAudioVolumeControl
Added
CHHapticDynamicParameterIDAudioPanControl
Added
CHHapticDynamicParameterIDAudioBrightnessControl
Added
CHHapticDynamicParameterIDAudioPitchControl
Added
CHHapticDynamicParameterIDAudioAttackTimeControl
Added
CHHapticDynamicParameterIDAudioDecayTimeControl
Added
CHHapticDynamicParameterIDAudioReleaseTimeControl
Added
CHHapticEventParameter
Added
CHHapticEventParameter.parameterID
Added
CHHapticEventParameter.value
Added
-[CHHapticEventParameter initWithParameterID:value:]
Added
CHHapticDynamicParameter
Added
CHHapticDynamicParameter.parameterID
Added
CHHapticDynamicParameter.value
Added
CHHapticDynamicParameter.relativeTime
Added
-[CHHapticDynamicParameter initWithParameterID:value:relativeTime:]
Added
CHHapticParameterCurveControlPoint
Added
CHHapticParameterCurveControlPoint.relativeTime
Added
CHHapticParameterCurveControlPoint.value
Added
-[CHHapticParameterCurveControlPoint initWithRelativeTime:value:]
Added
CHHapticParameterCurve
Added
CHHapticParameterCurve.parameterID
Added
CHHapticParameterCurve.relativeTime
Added
CHHapticParameterCurve.controlPoints
Added
-[CHHapticParameterCurve initWithParameterID:controlPoints:relativeTime:]
CHHapticPattern.h
Added
#def CH_EXPORT
Added
CHHapticPatternKey
Added
CHHapticPatternKeyVersion
Added
CHHapticPatternKeyPattern
Added
CHHapticPatternKeyEvent
Added
CHHapticPatternKeyEventType
Added
CHHapticPatternKeyTime
Added
CHHapticPatternKeyEventDuration
Added
CHHapticPatternKeyEventWaveformPath
Added
CHHapticPatternKeyEventParameters
Added
CHHapticPatternKeyParameter
Added
CHHapticPatternKeyParameterID
Added
CHHapticPatternKeyParameterValue
Added
CHHapticPatternKeyParameterCurve
Added
CHHapticPatternKeyParameterCurveControlPoints
Added
CHHapticPattern
Added
CHHapticPattern.duration
Added
-[CHHapticPattern initWithEvents:parameters:error:]
Added
-[CHHapticPattern initWithEvents:parameterCurves:error:]
Added
-[CHHapticPattern initWithDictionary:error:]
Added
-[CHHapticPattern exportDictionaryAndReturnError:]
CHHapticPatternPlayer.h
Added
CHHapticPatternPlayer
Added
-[CHHapticPatternPlayer startAtTime:error:]
Added
-[CHHapticPatternPlayer stopAtTime:error:]
Added
-[CHHapticPatternPlayer sendParameters:atTime:error:]
Added
-[CHHapticPatternPlayer scheduleParameterCurve:atTime:error:]
Added
-[CHHapticPatternPlayer cancelAndReturnError:]
Added
CHHapticPatternPlayer.isMuted
Added
CHHapticAdvancedPatternPlayerCompletionHandler
Added
CHHapticAdvancedPatternPlayer
Added
-[CHHapticAdvancedPatternPlayer pauseAtTime:error:]
Added
-[CHHapticAdvancedPatternPlayer resumeAtTime:error:]
Added
-[CHHapticAdvancedPatternPlayer seekToOffset:error:]
Added
CHHapticAdvancedPatternPlayer.loopEnabled
Added
CHHapticAdvancedPatternPlayer.loopEnd
Added
CHHapticAdvancedPatternPlayer.playbackRate
Added
CHHapticAdvancedPatternPlayer.isMuted
Added
CHHapticAdvancedPatternPlayer.completionHandler