public final class CHHapticEngineStoppedReason
extends java.lang.Object
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.
| Modifier and Type | Field and Description |
|---|---|
static long |
ApplicationSuspended |
static long |
AudioSessionInterrupt |
static long |
EngineDestroyed |
static long |
GameControllerDisconnect |
static long |
IdleTimeout |
static long |
NotifyWhenFinished |
static long |
SystemError |
public static final long AudioSessionInterrupt
public static final long ApplicationSuspended
public static final long IdleTimeout
public static final long NotifyWhenFinished
public static final long SystemError
public static final long EngineDestroyed
public static final long GameControllerDisconnect