|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objecteg.com.espace.wenear.client.WeNearClient.BroadcasterService
public static class WeNearClient.BroadcasterService
Service interface for broadcaster operations.
| Nested Class Summary | |
|---|---|
static class |
WeNearClient.BroadcasterService.TPost
|
| Constructor Summary | |
|---|---|
WeNearClient.BroadcasterService(WeNearClient client)
|
|
| Method Summary | |
|---|---|
void |
createPost(java.lang.String title,
java.lang.String body,
long lifetime,
int[] interestIds)
Creates a new post with the given title, body, lifetime (in seconds), and interest IDs. |
void |
expirePost(int postId)
Forces the post having the specified ID to expire immediately regardless of its designated lifetime. |
WeNearClient.BroadcasterService.TPost |
getPost(int postId)
Retrieves the post having the specified ID. |
WeNearClient.BroadcasterService.TPost[] |
getPosts()
Retrieves all posts created by the logged-in broadcaster. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WeNearClient.BroadcasterService(WeNearClient client)
| Method Detail |
|---|
public void createPost(java.lang.String title,
java.lang.String body,
long lifetime,
int[] interestIds)
throws WeNearClient.UnknownErrorException,
WeNearClient.BadResponseException,
WeNearClient.BadRequestException,
WeNearClient.NoSuchClientException
WeNearClient.UnknownErrorException
WeNearClient.BadResponseException
WeNearClient.BadRequestException
WeNearClient.NoSuchClientException
public WeNearClient.BroadcasterService.TPost getPost(int postId)
throws WeNearClient.UnknownErrorException,
WeNearClient.BadResponseException,
WeNearClient.BadRequestException,
WeNearClient.NoSuchClientException,
WeNearClient.NoSuchPostException
WeNearClient.UnknownErrorException
WeNearClient.BadResponseException
WeNearClient.BadRequestException
WeNearClient.NoSuchClientException
WeNearClient.NoSuchPostException
public WeNearClient.BroadcasterService.TPost[] getPosts()
throws WeNearClient.UnknownErrorException,
WeNearClient.BadResponseException,
WeNearClient.BadRequestException,
WeNearClient.NoSuchClientException
WeNearClient.UnknownErrorException
WeNearClient.BadResponseException
WeNearClient.BadRequestException
WeNearClient.NoSuchClientException
public void expirePost(int postId)
throws WeNearClient.UnknownErrorException,
WeNearClient.BadResponseException,
WeNearClient.BadRequestException,
WeNearClient.NoSuchClientException,
WeNearClient.NoSuchPostException
WeNearClient.UnknownErrorException
WeNearClient.BadResponseException
WeNearClient.BadRequestException
WeNearClient.NoSuchClientException
WeNearClient.NoSuchPostException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||