logEvent

fun logEvent(@Size(min = 1, max = 40) name: String, params: Bundle? = null)

Logs an event to Firebase Analytics, if the user has granted permission.

Parameters

name

The name of the event. Should be between 1 and 40 characters long.

params

Optional parameters to be sent with the event.