Amplitude
Amplitude
This is the SDK instance class that contains all of the SDK functionality.Many of the SDK functions return the SDK instance back, allowing you to chain multiple methods calls together.
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
fun groupIdentify(groupType: String, groupName: String, identify: Identify, options: EventOptions? = null): Amplitude
Content copied to clipboard
fun groupIdentify(groupType: String, groupName: String, groupProperties: Map<String, Any?>?, options: EventOptions? = null): Amplitude
Content copied to clipboard
Identify a group. You can modify group properties by calling this api.
Link copied to clipboard
fun identify(identify: Identify, options: EventOptions? = null): Amplitude
Content copied to clipboard
Identify lets you to send an Identify object containing user property operations to Amplitude server. You can modify user properties by calling this api.
fun identify(userProperties: Map<String, Any?>?, options: EventOptions? = null): Amplitude
Content copied to clipboard
Identify lets you set the user properties. You can modify user properties by calling this api.
Link copied to clipboard
Link copied to clipboard
Log a Revenue Event.
Create a Revenue object to hold your revenue data and properties, and log it as a revenue event using this method.
Link copied to clipboard
Sets a custom device id. Note: only do this if you know what you are doing!
Link copied to clipboard
Link copied to clipboard
fun track(event: BaseEvent, options: EventOptions? = null, callback: EventCallBack? = null): Amplitude
Content copied to clipboard
Track an event.
fun track(eventType: String, eventProperties: Map<String, Any?>? = null, options: EventOptions? = null): Amplitude
Content copied to clipboard
Log event with the specified event type, event properties, and optional event options.