Build 1.0_r1(from source)

android.provider
Class SubscribedFeeds

java.lang.Object
  extended by android.provider.SubscribedFeeds

public class SubscribedFeeds
extends Object

The SubscribedFeeds provider stores all information about subscribed feeds.


Nested Class Summary
static interface SubscribedFeeds.AccountColumns
          Columns from the Accounts table.
static class SubscribedFeeds.Accounts
          Provides constants to access the Accounts table and some utility methods to ease using it.
static interface SubscribedFeeds.FeedColumns
          Columns from the Feed table that other tables join into themselves.
static class SubscribedFeeds.Feeds
          Provides constants to access the Feeds table and some utility methods to ease using the Feeds content provider.
 
Method Summary
static Uri addFeed(ContentResolver resolver, String feed, String account, String authority, String service)
          A convenience method to add a feed to the SubscribedFeeds content provider.
static int deleteFeed(ContentResolver resolver, String feed, String account, String authority)
           
static int deleteFeeds(ContentResolver resolver, String account, String authority)
           
static String gtalkServiceRoutingInfoFromAccountAndResource(String account, String res)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addFeed

public static Uri addFeed(ContentResolver resolver,
                          String feed,
                          String account,
                          String authority,
                          String service)
A convenience method to add a feed to the SubscribedFeeds content provider. The user specifies the values of the FEED, _SYNC_ACCOUNT, AUTHORITY. SERVICE, and ROUTING_INFO.

Parameters:
resolver - used to access the underlying content provider
feed - corresponds to the FEED column
account - corresponds to the _SYNC_ACCOUNT column
authority - corresponds to the AUTHORITY column
service - corresponds to the SERVICE column
Returns:
the Uri of the feed that was added

deleteFeed

public static int deleteFeed(ContentResolver resolver,
                             String feed,
                             String account,
                             String authority)

deleteFeeds

public static int deleteFeeds(ContentResolver resolver,
                              String account,
                              String authority)

gtalkServiceRoutingInfoFromAccountAndResource

public static String gtalkServiceRoutingInfoFromAccountAndResource(String account,
                                                                   String res)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature