urbanairship-core/src/main/java/com/urbanairship/job/JobInfo.java
public Bundle toBundle() {
        Bundle bundle = new Bundle();
        bundle.putString(EXTRA_AIRSHIP_COMPONENT, airshipComponentName);
        bundle.putString(EXTRA_JOB_ACTION, action);
        bundle.putInt(EXTRA_JOB_ID, id);
        bundle.putString(EXTRA_JOB_EXTRAS, extras.toString());
        bundle.putBoolean(EXTRA_IS_NETWORK_ACCESS_REQUIRED, isNetworkAccessRequired);
        bundle.putLong(EXTRA_INITIAL_DELAY, initialDelay);
        bundle.putBoolean(EXTRA_PERSISTENT, persistent);
        return bundle;
    }
/**
     * Creates a bundle containing the job info.
     *
     * @return A bundle representing the job.
     */
Creates a bundle containing the job info.
@return A bundle representing the job.
Creates a bundle containing the job info . @return A bundle representing the job .
public Bundle toBundle() {
        Bundle bundle = new Bundle();
        bundle.putString(EXTRA_AIRSHIP_COMPONENT, airshipComponentName);
        bundle.putString(EXTRA_JOB_ACTION, action);
        bundle.putInt(EXTRA_JOB_ID, id);
        bundle.putString(EXTRA_JOB_EXTRAS, extras.toString());
        bundle.putBoolean(EXTRA_IS_NETWORK_ACCESS_REQUIRED, isNetworkAccessRequired);
        bundle.putLong(EXTRA_INITIAL_DELAY, initialDelay);
        bundle.putBoolean(EXTRA_PERSISTENT, persistent);
        return bundle;
    }
public Bundle toBundle ( ) { Bundle bundle = new Bundle ( ) ; bundle . putString ( EXTRA_AIRSHIP_COMPONENT , airshipComponentName ) ; bundle . putString ( EXTRA_JOB_ACTION , action ) ; bundle . putInt ( EXTRA_JOB_ID , id ) ; bundle . putString ( EXTRA_JOB_EXTRAS , extras . toString ( ) ) ; bundle . putBoolean ( EXTRA_IS_NETWORK_ACCESS_REQUIRED , isNetworkAccessRequired ) ; bundle . putLong ( EXTRA_INITIAL_DELAY , initialDelay ) ; bundle . putBoolean ( EXTRA_PERSISTENT , persistent ) ; return bundle ; }
Creates a bundle containing the job info.
Creates a bundle containing the job info .