AI-generated Key Takeaways
-
Subscriptionis used for persistent storage of data from a data source or for a data type. -
The
Subscriptionclass extendsObjectand implementsParcelable. -
You can retrieve the associated data source or data type using
getDataSource()andgetDataType().
Subscription for persistent storage of data from a given data
source or for a given data
type.
Inherited Constant Summary
Public Method Summary
| boolean | |
| DataSource |
getDataSource()
Returns the data source for this subscription, if specified.
|
| DataType |
getDataType()
Returns the data type for this subscription, if specified.
|
| int |
hashCode()
|
| String | |
| String |
toString()
|
| 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
nullif none specified.
public DataType getDataType ()
Returns the data type for this subscription, if specified.
Returns
- The specified data type, or
nullif none specified.