assessmentSessionDidBegin(_:)
Tells the delegate that the session started.
Declaration
optional func assessmentSessionDidBegin(_ session: AEAssessmentSession)Parameters
- session:
The session that started.
Discussion
After your app calls a session’s begin() method, the session asynchronously disables the appropriate system services and then calls its delegate’s assessmentSessionDidBegin(_:) method. Only after receiving this callback can you be sure that it’s safe to start an assessment. If the session fails to start for any reason, you receive a call to the assessmentSession(_:failedToBeginWithError:) method instead.