end()
Ends an assessment session.
Declaration
func end()Discussion
Before calling the end() method, be sure to stop the assessment and hide any sensitive information. After calling the method, wait until the session’s delegate receives the assessmentSessionDidEnd(_:) method before you report the assessment as complete to the user.