Subscription

public class Subscription extends Object
implements Parcelable

Subscription for persistent storage of data from a given data source or for a given data type.

Inherited Constant Summary

Public Method Summary

boolean
equals(Object other)
DataSource
getDataSource()
Returns the data source for this subscription, if specified.
DataType
getDataType()
Returns the data type for this subscription, if specified.
int
String
String
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Public Methods

public boolean equals (Object other)

public DataSource getDataSource ()

Returns the data source for this subscription, if specified.

Returns
  • The specified data source, or null if none specified.

public DataType getDataType ()

Returns the data type for this subscription, if specified.

Returns
  • The specified data type, or null if none specified.

public int hashCode ()

public String toDebugString ()

public String toString ()

public void writeToParcel (Parcel dest, int flags)