annotations.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <root>
  3. <item name="android.app.job.JobInfo int getBackoffPolicy()">
  4. <annotation name="androidx.annotation.IntDef">
  5. <val name="value" val="{android.app.job.JobInfo.BACKOFF_POLICY_LINEAR, android.app.job.JobInfo.BACKOFF_POLICY_EXPONENTIAL}" />
  6. </annotation>
  7. </item>
  8. <item name="android.app.job.JobInfo int getNetworkType()">
  9. <annotation name="androidx.annotation.IntDef">
  10. <val name="value" val="{android.app.job.JobInfo.NETWORK_TYPE_NONE, android.app.job.JobInfo.NETWORK_TYPE_ANY, android.app.job.JobInfo.NETWORK_TYPE_UNMETERED, android.app.job.JobInfo.NETWORK_TYPE_NOT_ROAMING, android.app.job.JobInfo.NETWORK_TYPE_CELLULAR}" />
  11. </annotation>
  12. </item>
  13. <item name="android.app.job.JobInfo.Builder android.app.job.JobInfo.Builder setBackoffCriteria(long, int) 1">
  14. <annotation name="androidx.annotation.IntDef">
  15. <val name="value" val="{android.app.job.JobInfo.BACKOFF_POLICY_LINEAR, android.app.job.JobInfo.BACKOFF_POLICY_EXPONENTIAL}" />
  16. </annotation>
  17. </item>
  18. <item name="android.app.job.JobInfo.Builder android.app.job.JobInfo.Builder setPersisted(boolean)">
  19. <annotation name="androidx.annotation.RequiresPermission">
  20. <val name="value" val="&quot;android.permission.RECEIVE_BOOT_COMPLETED&quot;" />
  21. </annotation>
  22. </item>
  23. <item name="android.app.job.JobInfo.Builder android.app.job.JobInfo.Builder setRequiredNetworkType(int) 0">
  24. <annotation name="androidx.annotation.IntDef">
  25. <val name="value" val="{android.app.job.JobInfo.NETWORK_TYPE_NONE, android.app.job.JobInfo.NETWORK_TYPE_ANY, android.app.job.JobInfo.NETWORK_TYPE_UNMETERED, android.app.job.JobInfo.NETWORK_TYPE_NOT_ROAMING, android.app.job.JobInfo.NETWORK_TYPE_CELLULAR}" />
  26. </annotation>
  27. </item>
  28. <item name="android.app.job.JobInfo.TriggerContentUri TriggerContentUri(android.net.Uri, int) 1">
  29. <annotation name="androidx.annotation.IntDef">
  30. <val name="flag" val="true" />
  31. <val name="value" val="{android.app.job.JobInfo.TriggerContentUri.FLAG_NOTIFY_FOR_DESCENDANTS}" />
  32. </annotation>
  33. </item>
  34. <item name="android.app.job.JobInfo.TriggerContentUri int getFlags()">
  35. <annotation name="androidx.annotation.IntDef">
  36. <val name="flag" val="true" />
  37. <val name="value" val="{android.app.job.JobInfo.TriggerContentUri.FLAG_NOTIFY_FOR_DESCENDANTS}" />
  38. </annotation>
  39. </item>
  40. <item name="android.app.job.JobScheduler int enqueue(android.app.job.JobInfo, android.app.job.JobWorkItem)">
  41. <annotation name="androidx.annotation.IntDef">
  42. <val name="value" val="{android.app.job.JobScheduler.RESULT_FAILURE, android.app.job.JobScheduler.RESULT_SUCCESS}" />
  43. </annotation>
  44. </item>
  45. <item name="android.app.job.JobScheduler int schedule(android.app.job.JobInfo)">
  46. <annotation name="androidx.annotation.IntDef">
  47. <val name="value" val="{android.app.job.JobScheduler.RESULT_FAILURE, android.app.job.JobScheduler.RESULT_SUCCESS}" />
  48. </annotation>
  49. </item>
  50. </root>