Fields Summary |
---|
private static final String | TAG |
private final android.accounts.Account | mAccountToSyncAccount to pass to the sync adapter. Can be null. |
private final String | mAuthorityAuthority string that corresponds to a ContentProvider. |
private final android.os.Bundle | mExtrasBundle containing user info as well as sync settings. |
private final boolean | mDisallowMeteredDon't allow this sync request on metered networks. |
private final long | mSyncFlexTimeSecsAmount of time before {@link #mSyncRunTimeSecs} from which the sync may optionally be
started. |
private final long | mSyncRunTimeSecsSpecifies a point in the future at which the sync must have been scheduled to run. |
private final boolean | mIsPeriodicPeriodic versus one-off. |
private final boolean | mIsAuthorityService versus provider. |
private final boolean | mIsExpeditedSync should be run in lieu of other syncs. |
public static final Creator | CREATOR |
Methods Summary |
---|
public int | describeContents()
return 0;
|
public android.accounts.Account | getAccount(){@hide}
return mAccountToSync;
|
public android.os.Bundle | getBundle(){@hide}
Retrieve bundle for this SyncRequest. Will not be null.
return mExtras;
|
public java.lang.String | getProvider(){@hide}
return mAuthority;
|
public long | getSyncFlexTime(){@hide}
return mSyncFlexTimeSecs;
|
public long | getSyncRunTime(){@hide}
return mSyncRunTimeSecs;
|
public boolean | isExpedited(){@hide}
return mIsExpedited;
|
public boolean | isPeriodic(){@hide}
return mIsPeriodic;
|
public void | writeToParcel(android.os.Parcel parcel, int flags)
parcel.writeBundle(mExtras);
parcel.writeLong(mSyncFlexTimeSecs);
parcel.writeLong(mSyncRunTimeSecs);
parcel.writeInt((mIsPeriodic ? 1 : 0));
parcel.writeInt((mDisallowMetered ? 1 : 0));
parcel.writeInt((mIsAuthority ? 1 : 0));
parcel.writeInt((mIsExpedited? 1 : 0));
parcel.writeParcelable(mAccountToSync, flags);
parcel.writeString(mAuthority);
|