Build 1.0_r1(from source)

android.content
Class SyncManager.SyncOperation

java.lang.Object
  extended by android.content.SyncManager.SyncOperation
All Implemented Interfaces:
Comparable
Enclosing class:
SyncManager

static class SyncManager.SyncOperation
extends Object
implements Comparable

Value type that represents a sync operation.


Field Summary
(package private)  String account
           
(package private)  String authority
           
(package private)  long delay
           
(package private)  long earliestRunTime
           
(package private)  Bundle extras
           
(package private)  String key
           
(package private)  Long rowId
           
(package private)  int syncSource
           
 
Constructor Summary
SyncManager.SyncOperation(String account, int source, String authority, Bundle extras, long delay)
           
SyncManager.SyncOperation(SyncManager.SyncOperation other)
           
 
Method Summary
 int compareTo(Object o)
          Returns an integer indicating the relative positions of the receiver and the argument in the natural order of elements of the receiver's class.
 void setDelay(long delay)
           
 String toString()
          Returns a string containing a concise, human-readable description of the receiver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

account

final String account

syncSource

int syncSource

authority

String authority

extras

Bundle extras

key

final String key

earliestRunTime

long earliestRunTime

delay

long delay

rowId

Long rowId
Constructor Detail

SyncManager.SyncOperation

SyncManager.SyncOperation(String account,
                          int source,
                          String authority,
                          Bundle extras,
                          long delay)

SyncManager.SyncOperation

SyncManager.SyncOperation(SyncManager.SyncOperation other)
Method Detail

setDelay

public void setDelay(long delay)

toString

public String toString()
Description copied from class: Object
Returns a string containing a concise, human-readable description of the receiver.

Overrides:
toString in class Object
Returns:
String a printable representation for the receiver.

compareTo

public int compareTo(Object o)
Description copied from interface: Comparable
Returns an integer indicating the relative positions of the receiver and the argument in the natural order of elements of the receiver's class.

Specified by:
compareTo in interface Comparable
Parameters:
o - Object an object to compare the receiver to
Returns:
int which should be <0 if="" the="" receiver="" should="" sort="" before="" the="" argument,="" 0="" if="" the="" receiver="" should="" sort="" in="" the="" same="" position="" as="" the="" argument,="" and="">0 if the receiver should sort after the argument.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature