Events
struct Events
Group of the events methods.
-
Process images and/or raw descriptors using the specified handler and generate events. If the Events service support is disabled on the server, events will not be saved to the server’s database.
Declaration
Swift
public func generateEvents(handlerID: String, query: EventQuery, handler: @escaping (Result<EventsResponse, Error>) -> Void)Parameters
handlerIDhandler id. You can take it from LWConfig object e.g. webconfiguration.identifyHandlerID
queryevent query. Contains best shots data array and image type.
handlerresponse handler
-
Get document event for face by identifier
Declaration
Swift
public func getDocumentEvents(query: GetDocumentsQuery, handler: @escaping (Result<GetEventResponse, Error>) -> Void)Parameters
queryevent query. Contains face identifier
handlerresponse handler
Events Structure Reference