Instance Method

sessionWasInterrupted:

Tells the delegate that the session has temporarily stopped processing frames and tracking device position.

Declaration

- (void)sessionWasInterrupted:(ARSession *)session;

Parameters

session

The session providing information.

Discussion

A session is interrupted when it fails to receive camera or motion sensing data. Session interruptions occur whenever camera capture is not available—for example, when your app is in the background or there are multiple foreground apps—or when the device is too busy to process motion sensor data.

See Also

Handling Interruptions

- sessionInterruptionEnded:

Tells the delegate that the session has resumed processing frames and tracking device position.

- sessionShouldAttemptRelocalization:

Asks the delegate whether to attempt recovery of world-tracking state after an interruption.