android.content
Class SyncAdapterType

java.lang.Object
  extended by android.content.SyncAdapterType
All Implemented Interfaces:
Parcelable

public class SyncAdapterType
extends Object
implements Parcelable


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
 String accountType
           
 String authority
           
static Parcelable.Creator<SyncAdapterType> CREATOR
           
 boolean isKey
           
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
SyncAdapterType(Parcel source)
           
SyncAdapterType(String authority, String accountType, boolean userVisible, boolean supportsUploading)
           
 
Method Summary
 boolean allowParallelSyncs()
           
 int describeContents()
           
 boolean equals(Object o)
           
 String getSettingsActivity()
           
 int hashCode()
           
 boolean isAlwaysSyncable()
           
 boolean isUserVisible()
           
static SyncAdapterType newKey(String authority, String accountType)
           
 boolean supportsUploading()
           
 String toString()
           
 void writeToParcel(Parcel dest, int flags)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

authority

public final String authority

accountType

public final String accountType

isKey

public final boolean isKey

CREATOR

public static final Parcelable.Creator<SyncAdapterType> CREATOR
Constructor Detail

SyncAdapterType

public SyncAdapterType(String authority,
                       String accountType,
                       boolean userVisible,
                       boolean supportsUploading)

SyncAdapterType

public SyncAdapterType(Parcel source)
Method Detail

supportsUploading

public boolean supportsUploading()

isUserVisible

public boolean isUserVisible()

allowParallelSyncs

public boolean allowParallelSyncs()

isAlwaysSyncable

public boolean isAlwaysSyncable()

getSettingsActivity

public String getSettingsActivity()

newKey

public static SyncAdapterType newKey(String authority,
                                     String accountType)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

describeContents

public int describeContents()
Specified by:
describeContents in interface Parcelable

writeToParcel

public void writeToParcel(Parcel dest,
                          int flags)
Specified by:
writeToParcel in interface Parcelable


Copyright © 2008-2012. All Rights Reserved.