Parassharmaa / usage_stats

Flutter Plugin to query Android Usage Statistics (Configurations, Events, Usage, Network)
MIT License
15 stars 21 forks source link

Add option to pass Interval Type in queryUsageStats, queryEventStats method #3

Open Parassharmaa opened 4 years ago

pedro-cze commented 4 years ago

Hi @Parassharmaa just to be sure, by Interval it is meant the android.icu.util.DateInterval, right?

Parassharmaa commented 4 years ago

For your reference: https://developer.android.com/reference/android/app/usage/UsageStatsManager#queryUsageStats(int,%20long,%20long)

Interval Type takes an int value to aggregate events and stats data.