Link to the eyezon SDK test app project:
To connect to the SDK:
1.1. Get the SDK archive by clicking the link: https://storage.googleapis.com/contentforweb/Android SDK/eyezonRepository:$sdkVersionName.zip
1.2. Insert the current version of the SDK instead of a $sdkVersionName
appendix (contact eyezon support or your manager in eyezon for the current version).
1.3. Extract the contents of the archive to the project folder.
1.4. Project-level gradle file. Add Maven URL:
allprojects {
repositories {
… Other repositories
maven { url "../eyezonRepository" }
}
}
1.5. ****Integration of dependency
Module-level gradle file. Add dependency:
implementation ‘witheyezon:androidSdk:$sdkVersionName’
The$sdkVersionName
appendix should be replaced with the current version of the SDK as in paragraph 1.2 (to do this, contact eyezon support or your manager in eyezon for the latest version).
You must create an SDK event listener by implementing an interface ISDKListener
There are 2 types of events that the SDK returns:
onConsoleEvent(eventName: String, event: String)
where
eventName
is an event (e.g. BUTTON_CLICKED
)event
is a string in JSON formatA full list of returned events is available in System of events