public interface ListMethodsAsync
Modifier and Type | Method and Description |
---|---|
void |
createUserList(java.lang.String listName,
boolean isPublicList,
java.lang.String description)
Creates a new list for the authenticated user.
|
void |
destroyUserList(int listId)
Deletes the specified list.
|
void |
getAllSubscribingUserLists(long userId)
Returns all lists the authenticating or specified user subscribes to, including their own.
|
void |
getAllSubscribingUserLists(java.lang.String screenName)
Returns all lists the authenticating or specified user subscribes to, including their own.
|
void |
getUserListMemberships(long cursor)
List the lists the authenticating user has been added to.
|
void |
getUserListMemberships(long listMemberId,
long cursor)
List the lists the specified user has been added to.
|
void |
getUserListMemberships(long listMemberId,
long cursor,
boolean filterToOwnedLists)
List the lists the specified user has been added to.
|
void |
getUserListMemberships(java.lang.String listMemberScreenName,
long cursor)
List the lists the specified user has been added to.
|
void |
getUserListMemberships(java.lang.String listMemberScreenName,
long cursor,
boolean filterToOwnedLists)
List the lists the specified user has been added to.
|
void |
getUserLists(long listOwnerUserId,
long cursor)
List the lists of the specified user.
|
void |
getUserLists(java.lang.String listOwnerScreenName,
long cursor)
List the lists of the specified user.
|
void |
getUserListStatuses(int listId,
Paging paging)
Show tweet timeline for members of the specified list.
|
void |
getUserListStatuses(long listOwnerId,
int id,
Paging paging)
Deprecated.
use
getUserListStatuses(int, twitter4j.Paging) instead |
void |
getUserListStatuses(java.lang.String listOwnerScreenName,
int id,
Paging paging)
Deprecated.
use
getUserListStatuses(int, twitter4j.Paging) instead |
void |
getUserListSubscriptions(java.lang.String listOwnerScreenName,
long cursor)
List the lists the specified user follows.
|
void |
showUserList(int listId)
Show the specified list.
|
void |
showUserList(java.lang.String listOwnerScreenName,
int id)
Deprecated.
use
showUserList(int) instead |
void |
updateUserList(int listId,
java.lang.String newListName,
boolean isPublicList,
java.lang.String newDescription)
Updates the specified list.
|
void createUserList(java.lang.String listName, boolean isPublicList, java.lang.String description)
listName
- The name of the list you are creating. Required.isPublicList
- set true if you wish to make a public listdescription
- The description of the list you are creating. Optional.void updateUserList(int listId, java.lang.String newListName, boolean isPublicList, java.lang.String newDescription)
listId
- The id of the list to update.newListName
- What you'd like to change the list's name to.isPublicList
- Whether your list is public or private. Optional. Values can be public or private. Lists are public by default if no mode is specified.newDescription
- What you'd like to change the list description to.void getUserLists(java.lang.String listOwnerScreenName, long cursor)
listOwnerScreenName
- The screen name of the list ownercursor
- Breaks the results into pages. A single page contains 20 lists. Provide a value of -1 to begin paging. Provide values as returned to in the response body's next_cursor and previous_cursor attributes to page back and forth in the list.void getUserLists(long listOwnerUserId, long cursor)
listOwnerUserId
- The id of the list ownercursor
- Breaks the results into pages. A single page contains 20 lists. Provide a value of -1 to begin paging. Provide values as returned to in the response body's next_cursor and previous_cursor attributes to page back and forth in the list.void showUserList(java.lang.String listOwnerScreenName, int id)
showUserList(int)
insteadlistOwnerScreenName
- The screen name of the list ownerid
- The id of the list to showvoid showUserList(int listId)
listId
- The id of the list to showvoid destroyUserList(int listId)
listId
- The id of the list to deletevoid getUserListStatuses(java.lang.String listOwnerScreenName, int id, Paging paging)
getUserListStatuses(int, twitter4j.Paging)
insteadlistOwnerScreenName
- The screen name of the list ownerid
- The id of the list to deletepaging
- controls pagination. Supports since_id, max_id, count and page parameters.void getUserListStatuses(long listOwnerId, int id, Paging paging)
getUserListStatuses(int, twitter4j.Paging)
insteadlistOwnerId
- The screen name of the list ownerid
- The id of the list to deletepaging
- controls pagination. Supports since_id, max_id, count and page parameters.void getUserListStatuses(int listId, Paging paging)
listId
- The id of the listpaging
- controls pagination. Supports since_id, max_id, count and page parameters.void getUserListMemberships(long cursor)
cursor
- Breaks the results into pages. A single page contains 20 lists. Provide a value of -1 to begin paging. Provide values as returned to in the response body's next_cursor and previous_cursor attributes to page back and forth in the list.void getUserListMemberships(long listMemberId, long cursor)
listMemberId
- The id of the list membercursor
- Breaks the results into pages. A single page contains 20 lists. Provide a value of -1 to begin paging. Provide values as returned to in the response body's next_cursor and previous_cursor attributes to page back and forth in the list.void getUserListMemberships(java.lang.String listMemberScreenName, long cursor)
listMemberScreenName
- The screen name of the list membercursor
- Breaks the results into pages. A single page contains 20 lists. Provide a value of -1 to begin paging. Provide values as returned to in the response body's next_cursor and previous_cursor attributes to page back and forth in the list.void getUserListMemberships(long listMemberId, long cursor, boolean filterToOwnedLists)
listMemberId
- The id of the list membercursor
- Breaks the results into pages. A single page contains 20 lists. Provide a value of -1 to begin paging. Provide values as returned to in the response body's next_cursor and previous_cursor attributes to page back and forth in the list.filterToOwnedLists
- Whether to return just lists the authenticating user owns, and the user represented by listMemberScreenName is a member of.void getUserListMemberships(java.lang.String listMemberScreenName, long cursor, boolean filterToOwnedLists)
listMemberScreenName
- The screen name of the list membercursor
- Breaks the results into pages. A single page contains 20 lists. Provide a value of -1 to begin paging. Provide values as returned to in the response body's next_cursor and previous_cursor attributes to page back and forth in the list.filterToOwnedLists
- Whether to return just lists the authenticating user owns, and the user represented by listMemberScreenName is a member of.void getUserListSubscriptions(java.lang.String listOwnerScreenName, long cursor)
listOwnerScreenName
- The screen name of the list ownercursor
- Breaks the results into pages. A single page contains 20 lists. Provide a value of -1 to begin paging. Provide values as returned to in the response body's next_cursor and previous_cursor attributes to page back and forth in the list.void getAllSubscribingUserLists(java.lang.String screenName)
screenName
- screen name to look upvoid getAllSubscribingUserLists(long userId)
userId
- user id to look up