Package apple.corehaptics.enums
Class CHHapticEngineStoppedReason
- java.lang.Object
-
- apple.corehaptics.enums.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.
-
-
Field Summary
Fields Modifier and Type Field Description static longApplicationSuspendedstatic longAudioSessionInterruptstatic longEngineDestroyedstatic longGameControllerDisconnectstatic longIdleTimeoutstatic longNotifyWhenFinishedstatic longSystemError
-
-
-
Field Detail
-
AudioSessionInterrupt
public static final long AudioSessionInterrupt
- See Also:
- Constant Field Values
-
ApplicationSuspended
public static final long ApplicationSuspended
- See Also:
- Constant Field Values
-
IdleTimeout
public static final long IdleTimeout
- See Also:
- Constant Field Values
-
NotifyWhenFinished
public static final long NotifyWhenFinished
- See Also:
- Constant Field Values
-
SystemError
public static final long SystemError
- See Also:
- Constant Field Values
-
EngineDestroyed
public static final long EngineDestroyed
- See Also:
- Constant Field Values
-
GameControllerDisconnect
public static final long GameControllerDisconnect
- See Also:
- Constant Field Values
-
-