android.content
Class SyncAdapterType

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

public class SyncAdapterType
extends java.lang.Object
implements Parcelable


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.Creator<T>
 
Field Summary
 java.lang.String accountType
           
 java.lang.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(java.lang.String authority, java.lang.String accountType, boolean userVisible, boolean supportsUploading)
           
 
Method Summary
 int describeContents()
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 boolean isUserVisible()
           
static SyncAdapterType newKey(java.lang.String authority, java.lang.String accountType)
           
 boolean supportsUploading()
           
 java.lang.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 java.lang.String authority

accountType

public final java.lang.String accountType

isKey

public final boolean isKey

CREATOR

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

SyncAdapterType

public SyncAdapterType(java.lang.String authority,
                       java.lang.String accountType,
                       boolean userVisible,
                       boolean supportsUploading)

SyncAdapterType

public SyncAdapterType(Parcel source)
Method Detail

supportsUploading

public boolean supportsUploading()

isUserVisible

public boolean isUserVisible()

newKey

public static SyncAdapterType newKey(java.lang.String authority,
                                     java.lang.String accountType)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.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-2010. All Rights Reserved.