Skip to content

Instantly share code, notes, and snippets.

@Redth
Created October 11, 2017 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Redth/7a379f06489200c4dede10abb8c9c9fb to your computer and use it in GitHub Desktop.
Save Redth/7a379f06489200c4dede10abb8c9c9fb to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<root>
<item name="com.firebase.jobdispatcher.Constraint int compact(int[]) 0">
<annotation name="android.support.annotation.IntDef">
<val name="flag" val="true" />
<val name="value" val="{com.firebase.jobdispatcher.Constraint.ON_ANY_NETWORK, com.firebase.jobdispatcher.Constraint.ON_UNMETERED_NETWORK, com.firebase.jobdispatcher.Constraint.DEVICE_CHARGING, com.firebase.jobdispatcher.Constraint.DEVICE_IDLE}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.Constraint.JobConstraint">
<annotation name="android.support.annotation.IntDef">
<val name="flag" val="true" />
<val name="value" val="{com.firebase.jobdispatcher.Constraint.ON_ANY_NETWORK, com.firebase.jobdispatcher.Constraint.ON_UNMETERED_NETWORK, com.firebase.jobdispatcher.Constraint.DEVICE_CHARGING, com.firebase.jobdispatcher.Constraint.DEVICE_IDLE}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.Driver int cancel(java.lang.String)">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.FirebaseJobDispatcher.CANCEL_RESULT_SUCCESS, com.firebase.jobdispatcher.FirebaseJobDispatcher.CANCEL_RESULT_UNKNOWN_ERROR, com.firebase.jobdispatcher.FirebaseJobDispatcher.CANCEL_RESULT_NO_DRIVER_AVAILABLE}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.Driver int cancelAll()">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.FirebaseJobDispatcher.CANCEL_RESULT_SUCCESS, com.firebase.jobdispatcher.FirebaseJobDispatcher.CANCEL_RESULT_UNKNOWN_ERROR, com.firebase.jobdispatcher.FirebaseJobDispatcher.CANCEL_RESULT_NO_DRIVER_AVAILABLE}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.Driver int schedule(com.firebase.jobdispatcher.Job)">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.FirebaseJobDispatcher.SCHEDULE_RESULT_SUCCESS, com.firebase.jobdispatcher.FirebaseJobDispatcher.SCHEDULE_RESULT_UNKNOWN_ERROR, com.firebase.jobdispatcher.FirebaseJobDispatcher.SCHEDULE_RESULT_NO_DRIVER_AVAILABLE, com.firebase.jobdispatcher.FirebaseJobDispatcher.SCHEDULE_RESULT_UNSUPPORTED_TRIGGER, com.firebase.jobdispatcher.FirebaseJobDispatcher.SCHEDULE_RESULT_BAD_SERVICE}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.ExecutionDelegator.JobFinishedCallback void onJobFinished(com.firebase.jobdispatcher.JobInvocation, int) 1">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.JobService.RESULT_SUCCESS, com.firebase.jobdispatcher.JobService.RESULT_FAIL_RETRY, com.firebase.jobdispatcher.JobService.RESULT_FAIL_NORETRY}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.FirebaseJobDispatcher com.firebase.jobdispatcher.RetryStrategy newRetryStrategy(int, int, int) 0">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.RetryStrategy.RETRY_POLICY_LINEAR, com.firebase.jobdispatcher.RetryStrategy.RETRY_POLICY_EXPONENTIAL}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.FirebaseJobDispatcher int cancel(java.lang.String)">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.FirebaseJobDispatcher.CANCEL_RESULT_SUCCESS, com.firebase.jobdispatcher.FirebaseJobDispatcher.CANCEL_RESULT_UNKNOWN_ERROR, com.firebase.jobdispatcher.FirebaseJobDispatcher.CANCEL_RESULT_NO_DRIVER_AVAILABLE}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.FirebaseJobDispatcher int cancelAll()">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.FirebaseJobDispatcher.CANCEL_RESULT_SUCCESS, com.firebase.jobdispatcher.FirebaseJobDispatcher.CANCEL_RESULT_UNKNOWN_ERROR, com.firebase.jobdispatcher.FirebaseJobDispatcher.CANCEL_RESULT_NO_DRIVER_AVAILABLE}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.FirebaseJobDispatcher int schedule(com.firebase.jobdispatcher.Job)">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.FirebaseJobDispatcher.SCHEDULE_RESULT_SUCCESS, com.firebase.jobdispatcher.FirebaseJobDispatcher.SCHEDULE_RESULT_UNKNOWN_ERROR, com.firebase.jobdispatcher.FirebaseJobDispatcher.SCHEDULE_RESULT_NO_DRIVER_AVAILABLE, com.firebase.jobdispatcher.FirebaseJobDispatcher.SCHEDULE_RESULT_UNSUPPORTED_TRIGGER, com.firebase.jobdispatcher.FirebaseJobDispatcher.SCHEDULE_RESULT_BAD_SERVICE}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.FirebaseJobDispatcher.CancelResult">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.FirebaseJobDispatcher.CANCEL_RESULT_SUCCESS, com.firebase.jobdispatcher.FirebaseJobDispatcher.CANCEL_RESULT_UNKNOWN_ERROR, com.firebase.jobdispatcher.FirebaseJobDispatcher.CANCEL_RESULT_NO_DRIVER_AVAILABLE}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.FirebaseJobDispatcher.ScheduleResult">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.FirebaseJobDispatcher.SCHEDULE_RESULT_SUCCESS, com.firebase.jobdispatcher.FirebaseJobDispatcher.SCHEDULE_RESULT_UNKNOWN_ERROR, com.firebase.jobdispatcher.FirebaseJobDispatcher.SCHEDULE_RESULT_NO_DRIVER_AVAILABLE, com.firebase.jobdispatcher.FirebaseJobDispatcher.SCHEDULE_RESULT_UNSUPPORTED_TRIGGER, com.firebase.jobdispatcher.FirebaseJobDispatcher.SCHEDULE_RESULT_BAD_SERVICE}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.GooglePlayDriver int schedule(com.firebase.jobdispatcher.Job)">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.FirebaseJobDispatcher.SCHEDULE_RESULT_SUCCESS, com.firebase.jobdispatcher.FirebaseJobDispatcher.SCHEDULE_RESULT_UNKNOWN_ERROR, com.firebase.jobdispatcher.FirebaseJobDispatcher.SCHEDULE_RESULT_NO_DRIVER_AVAILABLE, com.firebase.jobdispatcher.FirebaseJobDispatcher.SCHEDULE_RESULT_UNSUPPORTED_TRIGGER, com.firebase.jobdispatcher.FirebaseJobDispatcher.SCHEDULE_RESULT_BAD_SERVICE}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.GooglePlayJobCallback void jobFinished(int) 0">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.JobService.RESULT_SUCCESS, com.firebase.jobdispatcher.JobService.RESULT_FAIL_RETRY, com.firebase.jobdispatcher.JobService.RESULT_FAIL_NORETRY}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.GooglePlayJobWriter int convertConstraintsToLegacyNetConstant(int)">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.GooglePlayJobWriter.LEGACY_NETWORK_ANY, com.firebase.jobdispatcher.GooglePlayJobWriter.LEGACY_NETWORK_CONNECTED, com.firebase.jobdispatcher.GooglePlayJobWriter.LEGACY_NETWORK_UNMETERED}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.GooglePlayJobWriter int convertRetryPolicyToLegacyVersion(int) 0">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.RetryStrategy.RETRY_POLICY_LINEAR, com.firebase.jobdispatcher.RetryStrategy.RETRY_POLICY_EXPONENTIAL}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.GooglePlayMessengerCallback void jobFinished(int) 0">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.JobService.RESULT_SUCCESS, com.firebase.jobdispatcher.JobService.RESULT_FAIL_RETRY, com.firebase.jobdispatcher.JobService.RESULT_FAIL_NORETRY}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.GooglePlayReceiver void onJobFinished(com.firebase.jobdispatcher.JobInvocation, int) 1">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.JobService.RESULT_SUCCESS, com.firebase.jobdispatcher.JobService.RESULT_FAIL_RETRY, com.firebase.jobdispatcher.JobService.RESULT_FAIL_NORETRY}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.Job.Builder com.firebase.jobdispatcher.Job.Builder addConstraint(int) 0">
<annotation name="android.support.annotation.IntDef">
<val name="flag" val="true" />
<val name="value" val="{com.firebase.jobdispatcher.Constraint.ON_ANY_NETWORK, com.firebase.jobdispatcher.Constraint.ON_UNMETERED_NETWORK, com.firebase.jobdispatcher.Constraint.DEVICE_CHARGING, com.firebase.jobdispatcher.Constraint.DEVICE_IDLE}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.Job.Builder com.firebase.jobdispatcher.Job.Builder setConstraints(int...) 0">
<annotation name="android.support.annotation.IntDef">
<val name="flag" val="true" />
<val name="value" val="{com.firebase.jobdispatcher.Constraint.ON_ANY_NETWORK, com.firebase.jobdispatcher.Constraint.ON_UNMETERED_NETWORK, com.firebase.jobdispatcher.Constraint.DEVICE_CHARGING, com.firebase.jobdispatcher.Constraint.DEVICE_IDLE}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.Job.Builder com.firebase.jobdispatcher.Job.Builder setLifetime(int) 0">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.Lifetime.FOREVER, com.firebase.jobdispatcher.Lifetime.UNTIL_NEXT_BOOT}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.Job.Builder int getLifetime()">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.Lifetime.FOREVER, com.firebase.jobdispatcher.Lifetime.UNTIL_NEXT_BOOT}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.Job.Builder int[] getConstraints()">
<annotation name="android.support.annotation.IntDef">
<val name="flag" val="true" />
<val name="value" val="{com.firebase.jobdispatcher.Constraint.ON_ANY_NETWORK, com.firebase.jobdispatcher.Constraint.ON_UNMETERED_NETWORK, com.firebase.jobdispatcher.Constraint.DEVICE_CHARGING, com.firebase.jobdispatcher.Constraint.DEVICE_IDLE}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.JobCallback void jobFinished(int) 0">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.JobService.RESULT_SUCCESS, com.firebase.jobdispatcher.JobService.RESULT_FAIL_RETRY, com.firebase.jobdispatcher.JobService.RESULT_FAIL_NORETRY}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.JobInvocation constraints">
<annotation name="android.support.annotation.IntDef">
<val name="flag" val="true" />
<val name="value" val="{com.firebase.jobdispatcher.Constraint.ON_ANY_NETWORK, com.firebase.jobdispatcher.Constraint.ON_UNMETERED_NETWORK, com.firebase.jobdispatcher.Constraint.DEVICE_CHARGING, com.firebase.jobdispatcher.Constraint.DEVICE_IDLE}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.JobInvocation.Builder com.firebase.jobdispatcher.JobInvocation.Builder setConstraints(int[]) 0">
<annotation name="android.support.annotation.IntDef">
<val name="flag" val="true" />
<val name="value" val="{com.firebase.jobdispatcher.Constraint.ON_ANY_NETWORK, com.firebase.jobdispatcher.Constraint.ON_UNMETERED_NETWORK, com.firebase.jobdispatcher.Constraint.DEVICE_CHARGING, com.firebase.jobdispatcher.Constraint.DEVICE_IDLE}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.JobInvocation.Builder com.firebase.jobdispatcher.JobInvocation.Builder setLifetime(int) 0">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.Lifetime.FOREVER, com.firebase.jobdispatcher.Lifetime.UNTIL_NEXT_BOOT}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.JobInvocation.Builder constraints">
<annotation name="android.support.annotation.IntDef">
<val name="flag" val="true" />
<val name="value" val="{com.firebase.jobdispatcher.Constraint.ON_ANY_NETWORK, com.firebase.jobdispatcher.Constraint.ON_UNMETERED_NETWORK, com.firebase.jobdispatcher.Constraint.DEVICE_CHARGING, com.firebase.jobdispatcher.Constraint.DEVICE_IDLE}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.JobParameters int getLifetime()">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.Lifetime.FOREVER, com.firebase.jobdispatcher.Lifetime.UNTIL_NEXT_BOOT}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.JobParameters int[] getConstraints()">
<annotation name="android.support.annotation.IntDef">
<val name="flag" val="true" />
<val name="value" val="{com.firebase.jobdispatcher.Constraint.ON_ANY_NETWORK, com.firebase.jobdispatcher.Constraint.ON_UNMETERED_NETWORK, com.firebase.jobdispatcher.Constraint.DEVICE_CHARGING, com.firebase.jobdispatcher.Constraint.DEVICE_IDLE}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.JobService.JobCallback void sendResult(int) 0">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.JobService.RESULT_SUCCESS, com.firebase.jobdispatcher.JobService.RESULT_FAIL_RETRY, com.firebase.jobdispatcher.JobService.RESULT_FAIL_NORETRY}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.JobService.JobResult">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.JobService.RESULT_SUCCESS, com.firebase.jobdispatcher.JobService.RESULT_FAIL_RETRY, com.firebase.jobdispatcher.JobService.RESULT_FAIL_NORETRY}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.ObservedUri ObservedUri(android.net.Uri, int) 1">
<annotation name="android.support.annotation.IntDef">
<val name="flag" val="true" />
<val name="value" val="com.firebase.jobdispatcher.ObservedUri.Flags.FLAG_NOTIFY_FOR_DESCENDANTS" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.ObservedUri.Flags">
<annotation name="android.support.annotation.IntDef">
<val name="flag" val="true" />
<val name="value" val="com.firebase.jobdispatcher.ObservedUri.Flags.FLAG_NOTIFY_FOR_DESCENDANTS" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.RetryStrategy RetryStrategy(int, int, int) 0">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.RetryStrategy.RETRY_POLICY_LINEAR, com.firebase.jobdispatcher.RetryStrategy.RETRY_POLICY_EXPONENTIAL}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.RetryStrategy int getPolicy()">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.RetryStrategy.RETRY_POLICY_LINEAR, com.firebase.jobdispatcher.RetryStrategy.RETRY_POLICY_EXPONENTIAL}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.RetryStrategy policy">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.RetryStrategy.RETRY_POLICY_LINEAR, com.firebase.jobdispatcher.RetryStrategy.RETRY_POLICY_EXPONENTIAL}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.RetryStrategy.Builder com.firebase.jobdispatcher.RetryStrategy build(int, int, int) 0">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.RetryStrategy.RETRY_POLICY_LINEAR, com.firebase.jobdispatcher.RetryStrategy.RETRY_POLICY_EXPONENTIAL}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.RetryStrategy.RetryPolicy">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.RetryStrategy.RETRY_POLICY_LINEAR, com.firebase.jobdispatcher.RetryStrategy.RETRY_POLICY_EXPONENTIAL}" />
</annotation>
</item>
<item name="com.firebase.jobdispatcher.SimpleJobService int onRunJob(com.firebase.jobdispatcher.JobParameters)">
<annotation name="android.support.annotation.IntDef">
<val name="value" val="{com.firebase.jobdispatcher.JobService.RESULT_SUCCESS, com.firebase.jobdispatcher.JobService.RESULT_FAIL_RETRY, com.firebase.jobdispatcher.JobService.RESULT_FAIL_NORETRY}" />
</annotation>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment