-
Notifications
You must be signed in to change notification settings - Fork 4
Interfaces
Michael edited this page Aug 5, 2017
·
4 revisions
Currently, Ganalytics works with two types of interface.
- Category Interfaces that produce output events. Example:
interface SampleInterface {
fun method1()
fun method1(String label)
}
will produce next events:
- invocation
sampleInterface.method1()
-> category="sampleinterface", action="method1" - invocation
sampleInterface.method2("test")
-> category="sampleinterface", action="method2", label="test"
- Group Interfaces that produce Category Interfaces. They have next structure:
interface SampleGroupInterface {
fun method1(): SampleInterface1
fun method2(): SampleInterface2
}
Those types of interfaces are used for producing output events.
л