Answered

Missing API method for Android SDK

Greetings,

Our team started working with the Countly SDK.

For iOS and Web platforms is available the overloaded API method posted below, but it is missing for the Android platform.

Countly.sharedInstance().recordEvent("eventName", duration:1000)

We would like to keep consistency between all platforms. Could you add this overloaded API method for the Android platform too?

Thanks in advance.

 

0

Comments

2 comments
  • Hello. There is actually an overload for what you want:

    void recordEvent(final String key, final Map<String, Object> segmentation, final int count, final double sum, final double dur)

     

    By passing 1 as count, 0 as sum, and null as segmentation, this will work as what you need.

     

    0
    Comment actions Permalink
  • Thanks for the clarification.

    0
    Comment actions Permalink

Please sign in to leave a comment.