public interface SavedSearchesResources
Modifier and Type | Method and Description |
---|---|
SavedSearch |
createSavedSearch(String query)
Creates a saved search for the authenticated user.
|
SavedSearch |
destroySavedSearch(long id)
Destroys a saved search for the authenticated user.
|
ResponseList<SavedSearch> |
getSavedSearches()
Returns the authenticated user's saved search queries.
|
SavedSearch |
showSavedSearch(long id)
Retrieve the data for a saved search owned by the authenticating user specified by the given id.
|
ResponseList<SavedSearch> getSavedSearches() throws TwitterException
TwitterException
- when Twitter service or network is unavailableSavedSearch showSavedSearch(long id) throws TwitterException
id
- The id of the saved search to be retrieved.TwitterException
- when Twitter service or network is unavailableSavedSearch createSavedSearch(String query) throws TwitterException
query
- the query stringTwitterException
- when Twitter service or network is unavailableSavedSearch destroySavedSearch(long id) throws TwitterException
id
- The id of the saved search to be deleted.TwitterException
- when Twitter service or network is unavailableCopyright © 2018. All rights reserved.