API reference
Core Classes
Amply
class Amply(config: AmplyConfig, application: Application)class Amply(config: AmplyConfig)Methods
track
Signature
fun track(event: String, properties: Map<String, Any> = emptyMap())func track(event: String, properties: [String: Any] = [:])Parameters
Parameter
Type
Description
Example
registerDeepLinkListener
Signature
Parameters
Parameter
Type
Description
DeepLinkListener Interface
setSystemEventsListener
Signature
SystemEventsListener Interface
System Events
Event Name
Description
getRecentEvents
Signature
Parameters
Parameter
Type
Default
Description
Returns
getDataSetSnapshot
Signature
Parameters
Parameter
Type
Description
Configuration
AmplyConfig
Android (DSL)
iOS
Properties
Property
Type
Required
Description
Data Types
DataSetType
Creating DataSetType (iOS)
EventInterface
Properties
Property
Type
Description
EventType
Dataset Schemas
@device
Property
Type
Description
@session
Property
Type
Description
@triggeredEvent
Property
Type
Description
@events
Property
Type
Description
Constants
SDK Version
Error Handling
Android
iOS
Thread Safety
Last updated