Repo created
This commit is contained in:
parent
75dc487a7a
commit
39c29d175b
6317 changed files with 388324 additions and 2 deletions
4
feature/telemetry/api/build.gradle.kts
Normal file
4
feature/telemetry/api/build.gradle.kts
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
plugins {
|
||||
id(ThunderbirdPlugins.Library.jvm)
|
||||
alias(libs.plugins.android.lint)
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package app.k9mail.feature.telemetry.api
|
||||
|
||||
interface TelemetryManager {
|
||||
/**
|
||||
* Returns `true` if the app has a telemetry feature included.
|
||||
*/
|
||||
fun isTelemetryFeatureIncluded(): Boolean
|
||||
|
||||
/**
|
||||
* Enable or disable telemetry.
|
||||
*/
|
||||
fun setEnabled(enable: Boolean)
|
||||
|
||||
/**
|
||||
* Initialize the telemetry library.
|
||||
*/
|
||||
fun init(uploadEnabled: Boolean, releaseChannel: String?, versionCode: Int, versionName: String)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue