Contents

pause()

Stops sending distance and direction updates to the peer.

Declaration

func pause()

Discussion

To resume a paused session, the app calls run(_:), passing in the session’s configuration.

If an app pauses the session for too long, the peer receives session(_:didRemove:reason:) callback with the NINearbyObject.RemovalReason.timeout reason.

See Also

Managing life cycle