Android Question Usage Stats Manager Library Interval type

Marvel

Active Member
Licensed User
Hi everyone, I'm new here. I have been following B4a for a while and have done some small projects with the trial version and answers from the forum members (they are amazing!)

I recently started using the UsageStats library by DonManfred and I have been finding it difficult to understand some of its data.

I will like to know the interval UsageStats uses to aggregate its results. The developer reference states that you can specify if you want the aggregate data in days, weeks or months but there is no such possibility in the wrapped B4a library. Is the interval fixed in the B4a library? If it is, what interval is it fixed to?

Below is the code I use to query for the Usagestats:

B4X:
Dim usage1 As List = usm.queryUsageStats(starttime, endtime)

But according to the developer reference, the code should have an interval type like this:
B4X:
queryUsageStats(int intervalType, long beginTime, long endTime)


Please, can anybody help me clarify? Especially if you have used the library before.
 

DonManfred

Expert
Licensed User
Longtime User
Is the interval fixed in the B4a library? If it is, what interval is it fixed to?
i can´t answer this as i lost the source years ago. I don´t remember...
 
Last edited:
Upvote 0
Top