C.kt 1.96 KB
Newer Older
Andres Käver's avatar
Andres Käver committed
1
2
3
4
5
6
7
8
9
10
11
12
13
package com.akaver.sportmap

class C {
    companion object {
        private const val PREFIX = "com.akaver.sportmap."

        const val NOTIFICATION_CHANNEL = "default_channel"
        const val NOTIFICATION_ACTION_WP = PREFIX + "wp"
        const val NOTIFICATION_ACTION_CP = PREFIX + "cp"
        const val NOTIFICATION_ACTION_START_STOP = PREFIX +  "start-stop"

        const val LOCATION_UPDATE_ACTION = PREFIX + "location_update"

Andres Käver's avatar
Andres Käver committed
14
15
16
17
18
        const val LOCATION_UPDATE_STOP = PREFIX + "location_stop"

        const val LOCATION_UPDATE_ACTION_LAT = PREFIX + "location_update.lat"
        const val LOCATION_UPDATE_ACTION_LON = PREFIX + "location_update.lon"

Andres Käver's avatar
Andres Käver committed
19
20
        const val LOCATION_UPDATE_ACTION_OVERALL_DIRECT = PREFIX + "location_update.overall_direct"
        const val LOCATION_UPDATE_ACTION_OVERALL_TOTAL = PREFIX + "location_update.overall_total"
Andres Käver's avatar
Andres Käver committed
21
22
        const val LOCATION_UPDATE_ACTION_OVERALL_TIME = PREFIX + "location_update.overall_time"

Andres Käver's avatar
Andres Käver committed
23
24
        const val LOCATION_UPDATE_ACTION_CP_DIRECT = PREFIX + "location_update.cp_direct"
        const val LOCATION_UPDATE_ACTION_CP_TOTAL = PREFIX + "location_update.cp_total"
Andres Käver's avatar
Andres Käver committed
25
26
        const val LOCATION_UPDATE_ACTION_CP_TIME = PREFIX + "location_update.cp_time"

Andres Käver's avatar
Andres Käver committed
27
28
        const val LOCATION_UPDATE_ACTION_WP_DIRECT = PREFIX + "location_update.wp_direct"
        const val LOCATION_UPDATE_ACTION_WP_TOTAL = PREFIX + "location_update.wp_total"
Andres Käver's avatar
Andres Käver committed
29
        const val LOCATION_UPDATE_ACTION_WP_TIME = PREFIX + "location_update.wp_time"
Andres Käver's avatar
Andres Käver committed
30
31

        const val NOTIFICATION_ID = 4321
Andres Käver's avatar
Andres Käver committed
32
33
34
35
36
37
38
39
40
        const val REQUEST_PERMISSIONS_REQUEST_CODE = 34

        const val REST_BASE_URL = "https://sportmap.akaver.com/api/v1.0/"
        const val REST_USERNAME = "akaver@akaver.com"
        const val REST_PASSWORD = "Kala.maja2020"

        const val REST_LOCATIONID_LOC = "00000000-0000-0000-0000-000000000001"
        const val REST_LOCATIONID_WP = "00000000-0000-0000-0000-000000000002"
        const val REST_LOCATIONID_CP = "00000000-0000-0000-0000-000000000003"
Andres Käver's avatar
Andres Käver committed
41
42
43
    }

}