Marvel Active Member Licensed User Dec 8, 2019 #1 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: Code: Copy Dim usage1 As List = usm.queryUsageStats(starttime, endtime) But according to the developer reference, the code should have an interval type like this: Code: Copy queryUsageStats(int intervalType, long beginTime, long endTime) Please, can anybody help me clarify? Especially if you have used the library before.
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: Code: Copy Dim usage1 As List = usm.queryUsageStats(starttime, endtime) But according to the developer reference, the code should have an interval type like this: Code: Copy 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 Dec 9, 2019 #2 Marvel said: Is the interval fixed in the B4a library? If it is, what interval is it fixed to? Click to expand... i can´t answer this as i lost the source years ago. I don´t remember... Last edited: Dec 9, 2019 Upvote 0
Marvel said: Is the interval fixed in the B4a library? If it is, what interval is it fixed to? Click to expand... i can´t answer this as i lost the source years ago. I don´t remember...
Erel B4X founder Staff member Licensed User Longtime User Dec 9, 2019 #3 The interval used is the daily interval. Upvote 0
Marvel Active Member Licensed User Dec 9, 2019 #4 Erel said: The interval used is the daily interval. Click to expand... Thanks for the response Erel. Upvote 0
Marvel Active Member Licensed User Dec 9, 2019 #5 DonManfred said: i can´t answer this as i lost the source years ago. I don´t remember... Click to expand... I have gotten an answer. Thanks. Upvote 0
DonManfred said: i can´t answer this as i lost the source years ago. I don´t remember... Click to expand... I have gotten an answer. Thanks.