We are moving to Discord!

Join us on the Countly Community Discord Server! Engage in discussions, share your feature ideas, and learn from fellow Countly users to build exceptional apps and experiences.

Manual view recording questions

Platform: Android

Countly SDK release: 22.06.2

Android SDK provides possibility to record view manually via method recordView, link: https://support.count.ly/hc/en-us/articles/360037754031-Android#manual-view-recording

Q1: Is it possible to record past view manually?

Like it is for events https://support.count.ly/hc/en-us/articles/360037754031-Android#past-events

Q2: Is it possible to record multiple views (which are present at the screen at the same time) with actual duration (field"AVG.TIME" on the Countly web)?

Looks like recordView allows track only one view at the same time (please correct me, if I am wrong), let me clarify why - here is example, time line:

|-------- t1 < View 1 is displayed on the screen> t2------------------------------------------------------------------->

|-------------------------t3< View 2 is displayed on the screen> t4---------------------------------------------------->

When view is appearing on the screen (t1 and t3) method recordView is called

"View 1" duration will be t3-t1 instead of desired t2-t1

Background: Internally SDK keeps last recorded view and calculated duration of this last call when new view recording happens, ref to code : https://github.com/Countly/countly-sdk-android/blob/master/sdk/src/main/java/ly/count/android/sdk/ModuleViews.java#L89

In another words, is it possible somehow to have duration equals t2-t1 for "View 1" for above scenario?

0

Comments

2 comments
  • Official comment

    Hello Oleksii,

    For Q2, we do not have that feature currently. However, we have plans to add that in the future.

    And for Q1, unfortunately, it is not possible either. As we have plans for Q2, Q1 is not in our plans.

    Best,

    Comment actions Permalink
  • Hello Olcay,

    Thank you very much for clarification.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.