@Immutable public final class UploadServersBasic extends Object implements UploadServers
| Constructor and Description |
|---|
UploadServersBasic(com.vk.api.sdk.client.VkApiClient client,
com.vk.api.sdk.client.actors.UserActor actor,
int group)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
audios()
Acquires an upload URL for audios files
(or used a cached one if it is available).
|
String |
docs()
Acquires an upload URL for wall docs
(or uses a cached one if it is available).
|
String |
wallPhoto()
Acquires an upload URL for wall files
(or used a cached one if it is available).
|
public UploadServersBasic(com.vk.api.sdk.client.VkApiClient client,
com.vk.api.sdk.client.actors.UserActor actor,
int group)
client - VKAPIClient that is used for all VK API requests.actor - UserActor on behalf of which all requests will be sent.group - Group ID.@Cacheable(lifetime=1,
unit=MINUTES)
public String audios()
throws com.vk.api.sdk.exceptions.ClientException,
com.vk.api.sdk.exceptions.ApiException
UploadServersaudios in interface UploadServerscom.vk.api.sdk.exceptions.ClientException - VK client error.com.vk.api.sdk.exceptions.ApiException - VK API error.@Cacheable(lifetime=1,
unit=MINUTES)
public String docs()
throws com.vk.api.sdk.exceptions.ClientException,
com.vk.api.sdk.exceptions.ApiException
UploadServersdocs in interface UploadServerscom.vk.api.sdk.exceptions.ClientException - VK client error.com.vk.api.sdk.exceptions.ApiException - VK API error.@Cacheable(lifetime=1,
unit=MINUTES)
public String wallPhoto()
throws com.vk.api.sdk.exceptions.ClientException,
com.vk.api.sdk.exceptions.ApiException
UploadServerswallPhoto in interface UploadServerscom.vk.api.sdk.exceptions.ClientException - VK client error.com.vk.api.sdk.exceptions.ApiException - VK API error.Copyright © 2017–2018 jcabi.com. All rights reserved.