usage_stats_manager 0.0.3

SDKflutter
Platformandroid

This plugins grands you access to general usage Stats of your Android device (for people familiar with android this plugin gives you access to all the data one could retrieve by using UsageStatsManager.queryUsageStats).

usage_stats_manager

This plugins grands you access to general usage Stats of your Android device (for people familiar with android this plugin gives you access to all the data one could retrieve by using UsageStatsManager.queryUsageStats).

Features

Get all data associated with UsageStatsManager.queryUsageStats: (this accounts for all non System-Level-Apps)

** QueryUsageStats **

  • retrieve totalTimeInForeground
  • retrieve packageNames
  • retrieve firstTimeStamp
  • retrieve lastTimeStamp
  • retrieve lastTimeUsed All feature below this require a minSDK of 29
  • retrieve lastTimeForegroundServiceUsed
  • retrieve lastTimeVisible
  • retrieve totalTimeForegroundServiceUsed
  • retrieve totalTimeVisible