public static final class ImportExport.VideoUploadService extends Object
Modifier and Type | Method and Description |
---|---|
static String |
doVideoUpload(AbstractClient client,
InputStream input,
String fileName,
long fileSize)
A helper method, that obtains an upload ticket and sends the video file
to the specified upload service.
|
static VideoUploadTicket |
get(AbstractClient client)
Calls the GET method as documented in the
description for video uploads.
|
public static String doVideoUpload(AbstractClient client, InputStream input, String fileName, long fileSize) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- input
- fileName
- fileSize
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static VideoUploadTicket get(AbstractClient client) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
Copyright © 2014 OpenEstate. All rights reserved.