repo created
This commit is contained in:
commit
1ef725ef20
2483 changed files with 278273 additions and 0 deletions
22
app/src/main/java/com/nextcloud/client/appinfo/AppInfo.kt
Normal file
22
app/src/main/java/com/nextcloud/client/appinfo/AppInfo.kt
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* Nextcloud - Android Client
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2019 Chris Narkiewicz <hello@ezaquarii.com>
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
package com.nextcloud.client.appinfo
|
||||
|
||||
import android.content.Context
|
||||
|
||||
/**
|
||||
* This class provides general, static information about application
|
||||
* build.
|
||||
*
|
||||
* All methods should be thread-safe.
|
||||
*/
|
||||
interface AppInfo {
|
||||
val versionName: String
|
||||
val versionCode: Int
|
||||
val isDebugBuild: Boolean
|
||||
fun getAppVersion(context: Context): String
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue