Class CHHapticEngineStoppedReason


  • public final class CHHapticEngineStoppedReason
    extends java.lang.Object
    [@enum] CHHapticEngineStoppedReason Constants indicating the reason why the CHHapticEngine has stopped. [@constant] CHHapticEngineStoppedReasonAudioSessionInterrupt The AVAudioSession bound to this engine has been interrupted. [@constant] CHHapticEngineStoppedReasonApplicationSuspended The application owning this engine has been suspended (i.e., put into the background). [@constant] CHHapticEngineStoppedReasonIdleTimeout The engine has stopped due to an idle timeout when the engine's `autoShutdownEnabled` property was set to YES. [@constant] CHHapticEngineStoppedReasonNotifyWhenFinished The engine has stopped due to a call to a `CHHapticEngineFinishedHandler` returning `CHHapticEngineFinishedActionStopEngine`. [@constant] CHHapticEngineStoppedReasonEngineDestroyed The engine has stopped because the CHHapticEngine instance was destroyed. [@constant] CHHapticEngineStoppedReasonGameControllerDisconnect The engine has stopped because the Game Controller associated with this engine disconnected. [@constant] CHHapticEngineStoppedReasonSystemError An error has occurred.