Type Definitions
The following type definitions are available globally.
-
The event fired when the face analyzer is analyzing a face.
Declaration
Swift
typealias FaceAnalyzingEventHandler = (FaceAnalyzer, FaceAnalyzingResult) -> Void
Parameters
faceAnalyzer
event sender.
result
face analyzing result.
-
The event fired when the face analyzer has completed analyzing a face.
Declaration
Swift
typealias FaceAnalyzedEventHandler = (FaceAnalyzer, FaceAnalyzedResult) -> Void
Parameters
faceAnalyzer
event sender.
result
face analyzed result.
-
The event fired when the face analyzer has started.
Declaration
Swift
typealias FaceSessionStartedEventHandler = (FaceAnalyzer, String) -> Void
Parameters
faceAnalyzer
event sender.
sessionId
session ID.
-
The event fired when the face analyzer has stopped.
Declaration
Swift
typealias FaceSessionStoppedEventHandler = (FaceAnalyzer, String, FaceSessionStoppedReason) -> Void
Parameters
faceAnalyzer
event sender.
sessionId
session ID.
reason
why the session stopped.