/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
android/src/com/mapswithme/util/UTM.java
40 строк
2 KB
Arsentiy Milchakov
[android][ios][core] fixes for outdoor promo
13 янв 2020, 12:04
13 янв 2020, 12:04
a70ea5a
Код
Авторство
О чём код?
package com.mapswithme.util; import androidx.annotation.IntDef; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; public class UTM { @Retention(RetentionPolicy.SOURCE) @IntDef({ UTM_NONE, UTM_BOOKMARKS_PAGE_CATALOG_BUTTON, UTM_TOOLBAR_BUTTON, UTM_DOWNLOAD_MWM_BANNER, UTM_LARGE_TOPONYMS_PLACEPAGE_GALLERY, UTM_SIGHTSEEINGS_PLACEPAGE_GALLERY, UTM_DISCOVERY_PAGE_GALLERY, UTM_TIPS_AND_TRICKS, UTM_BOOKING_PROMO, UTM_DISCOVER_CATALOG_ONBOARDING, UTM_FREE_SAMPLES_ONBOADING, UTM_OUTDOOR_PLACEPAGE_GALLERY}) public @interface UTMType {} // The order of these constants must correspond to C++ enumeration in partners_api/utm.hpp. public static final int UTM_NONE = 0; public static final int UTM_BOOKMARKS_PAGE_CATALOG_BUTTON = 1; public static final int UTM_TOOLBAR_BUTTON = 2; public static final int UTM_DOWNLOAD_MWM_BANNER = 3; public static final int UTM_LARGE_TOPONYMS_PLACEPAGE_GALLERY = 4; public static final int UTM_SIGHTSEEINGS_PLACEPAGE_GALLERY = 5; public static final int UTM_DISCOVERY_PAGE_GALLERY = 6; public static final int UTM_TIPS_AND_TRICKS = 7; public static final int UTM_BOOKING_PROMO = 8; public static final int UTM_DISCOVER_CATALOG_ONBOARDING = 9; public static final int UTM_FREE_SAMPLES_ONBOADING = 10; public static final int UTM_OUTDOOR_PLACEPAGE_GALLERY = 11; @Retention(RetentionPolicy.SOURCE) @IntDef({ UTM_CONTENT_DESCRIPTION, UTM_CONTENT_VIEW, UTM_CONTENT_DETAILS, UTM_CONTENT_MORE }) public @interface UTMContentType {} // The order of these constants must correspond to C++ enumeration in partners_api/utm.hpp. public static final int UTM_CONTENT_DESCRIPTION = 0; public static final int UTM_CONTENT_VIEW = 1; public static final int UTM_CONTENT_DETAILS = 2; public static final int UTM_CONTENT_MORE = 3; }