Package com.vk.api.sdk.actions
Class LongPoll
- java.lang.Object
-
- com.vk.api.sdk.client.AbstractAction
-
- com.vk.api.sdk.actions.LongPoll
-
public class LongPoll extends AbstractAction
-
-
Constructor Summary
Constructors Constructor Description LongPoll(VkApiClient client)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetLongPollEventsQuerygetEvents(java.lang.String url, java.lang.String key, java.lang.String ts)Retrieves events from long poll server starting from the specified timestamp.-
Methods inherited from class com.vk.api.sdk.client.AbstractAction
getClient
-
-
-
-
Constructor Detail
-
LongPoll
public LongPoll(VkApiClient client)
Constructor- Parameters:
client- vk api client
-
-
Method Detail
-
getEvents
public GetLongPollEventsQuery getEvents(java.lang.String url, java.lang.String key, java.lang.String ts)
Retrieves events from long poll server starting from the specified timestamp.
-
-