public interface EventTracker
GiniVision.Builder#setEventTracker(EventTracker)
to get informed about various events
occuring during the usage of the Gini Vision Library.
Check each event enum to find out which events are triggered on the different screens.
If you use the Screen API all events will be triggered automatically.
If you use the Component API some events will not be triggered (for ex. events which rely on Activity#onBackPressed()
). You
need to check whether all the events you are interested in are triggered.
Modifier and Type | Method and Description |
---|---|
void |
onAnalysisScreenEvent(Event event)
Called when an event is triggered on the analysis screen.
|
void |
onCameraScreenEvent(Event event)
Called when an event is triggered on the camera screen.
|
void |
onOnboardingScreenEvent(Event event)
Called when an event is triggered on the onboarding screen.
|
void |
onReviewScreenEvent(Event event)
Called when an event is triggered on the review screen.
|
void onOnboardingScreenEvent(Event event)
See OnboardingScreenEvent
for possible events.
event
- the onboarding screen eventvoid onCameraScreenEvent(Event event)
See CameraScreenEvent
for possible events.
event
- the camera screen eventvoid onReviewScreenEvent(Event event)
See ReviewScreenEvent
for possible events.
event
- the review screen eventvoid onAnalysisScreenEvent(Event event)
See AnalysisScreenEvent
for possible events.
event
- the analysis screen event