Ametista Analytic

@MappedSuperclass
abstract class AmetistaAnalytic : AmetistaItem

The AmetistaAnalytic class is useful to represent an Ametista's analytic

Author

N7ghtm4r3 - Tecknobit

See also

EquinoxItem

Inheritors

Constructors

Link copied to clipboard
constructor()
Constructor to init the AmetistaAnalytic class
constructor(id: String, name: String, creationDate: Long, appVersion: String, type: AmetistaAnalytic.AnalyticType, platform: Platform)
Constructor to init the AmetistaAnalytic class
constructor(jAnalytic: JSONObject, analyticType: AmetistaAnalytic.AnalyticType)
Constructor to init the AmetistaAnalytic class

Types

Link copied to clipboard
List of available analytic types

Properties

Link copied to clipboard
val ANALYTIC_IDENTIFIER_KEY: String = "analytic_id"
ANALYTIC_IDENTIFIER_KEY the key for the "analytic_id" field
Link copied to clipboard
val ANALYTIC_KEY: String = "analytic"
ANALYTIC_KEY the key for the "analytic" field
Link copied to clipboard
ANALYTIC_TYPE_KEY the key for the "type" field
Link copied to clipboard
val APP_VERSION_KEY: String = "app_version"
APP_VERSION_KEY the key for the "app_version" field
Link copied to clipboard
application the application where the analytic is attached
Link copied to clipboard
protected val appVersion: String
appVersion the application version where the analytic is attached
Link copied to clipboard
val CREATION_DATE_KEY: String = "creation_date"
CREATION_DATE_KEY the key for the "creation_date" field
Link copied to clipboard
protected val creationDate: Long
creationDate the timestamp when the item has been created
Link copied to clipboard
Link copied to clipboard
val FILTERS_KEY: String = "filters"
FILTERS_KEY the key for the "filters" field
Link copied to clipboard
protected val hItem: JsonHelper
Link copied to clipboard
protected val id: String
Link copied to clipboard
Link copied to clipboard
protected open var name: String
name the name of the item
Link copied to clipboard
protected val platform: Platform
icon the platform target of the application where the analytic is attached
Link copied to clipboard
val PLATFORM_KEY: String = "platform"
PLATFORM_KEY the key for the "platform" field
Link copied to clipboard
protected val timeFormatter: TimeFormatter
Link copied to clipboard
type the type of the analytic

Functions

Link copied to clipboard
open fun getAppVersion(): String
Method to get appVersion instance
Link copied to clipboard
open fun getCreationDate(): String
Method to get creationDate instance
Link copied to clipboard
Method to get creationDate instance
Link copied to clipboard
open fun getId(): String
Link copied to clipboard
open fun getName(): String
Method to get name instance
Link copied to clipboard
open fun getPlatform(): Platform
Method to get platform instance
Link copied to clipboard
open fun toString(): String