@Immutable public final class AttachmentCachedAudio extends Object implements Attachment
| Constructor and Description |
|---|
AttachmentCachedAudio(com.vk.api.sdk.client.VkApiClient client,
com.vk.api.sdk.client.actors.UserActor actor,
String url,
PropsFile properties,
List<Path> audios,
int group)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
List<com.vk.api.sdk.client.AbstractQueryBuilder> |
upload()
Uploads the Attachment(s).
|
public AttachmentCachedAudio(com.vk.api.sdk.client.VkApiClient client,
com.vk.api.sdk.client.actors.UserActor actor,
String url,
PropsFile properties,
List<Path> audios,
int group)
client - The VkApiClient for all requests.actor - UserActor on behalf of which all requests will be sent.url - Audio upload URL for the audios files.properties - Properties that contain the
AudioStatus of audios files.audios - Audios files.group - Group ID.public List<com.vk.api.sdk.client.AbstractQueryBuilder> upload() throws Exception
Attachmentupload in interface AttachmentException - If query fails to be constructed.Copyright © 2017–2018 jcabi.com. All rights reserved.