-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AND-9537, AND-9544 Fix bug with overlay and ToS
Signed-off-by: Mama1emon <andrew.khokhlove@gmail.com>
- Loading branch information
Showing
4 changed files
with
79 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...alytics/models/src/main/java/com/tangem/core/analytics/models/event/TechAnalyticsEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.tangem.core.analytics.models.event | ||
|
||
import com.tangem.core.analytics.models.AnalyticsEvent | ||
|
||
/** | ||
* Tech analytics event | ||
* | ||
* @param event event name | ||
* @param params params | ||
*/ | ||
sealed class TechAnalyticsEvent( | ||
event: String, | ||
params: Map<String, String> = mapOf(), | ||
) : AnalyticsEvent(category = "Tech", event = event, params = params) { | ||
|
||
class WindowObscured(state: ObscuredState) : TechAnalyticsEvent( | ||
event = "Window Obscured", | ||
params = mapOf("State" to state.name), | ||
) { | ||
|
||
enum class ObscuredState { | ||
PARTIALLY, | ||
FULLY, | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters