C# Класс com.vzaar.api.Vzaar

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
apiUrl string
bufferSize long
enableFlashSupport bool
token string
username string

Открытые методы

Метод Описание
Vzaar ( ) : System.Globalization
Vzaar ( string username, string token ) : System.Globalization
deleteVideo ( System.Int64 videoId ) : bool
editVideo ( com.vzaar.api.VideoEditQuery query ) : bool
generateThumbnail ( System.Int64 videoId, int thumbTime ) : string
getAccountDetails ( int accountId ) : com.vzaar.api.AccountDetails

This API call returns the details and rights for each vzaar subscription account type along with it's relevant metadata. This will show the details of the packages available here: http://vzaar.com/pricing

getUploadSignature ( UploadSignatureQuery query ) : UploadSignature
getUserDetails ( string username ) : com.vzaar.api.UserDetails

This API call returns the user's public details along with it's relevant metadata.

getVideoDetails ( System.Int64 videoId ) : com.vzaar.api.VideoDetails

vzaar uses the oEmbed open standard for allowing 3rd parties to integrated with the vzaar.

getVideoList ( com.vzaar.api.VideoListQuery query ) : List

This API call returns a list of the user's active videos along with it's relevant metadata. 20 videos are returned by default but this is customisable.

processVideo ( VideoProcessQuery query ) : System.Int64
uploadLink ( com.vzaar.api.UploadLinkQuery query ) : System.Int64
uploadSubtitle ( com.vzaar.api.SubtitleQuery query ) : bool
uploadThumbnail ( System.Int64 videoId, string path ) : string
uploadVideo ( string path ) : string

Upload video from local drive to vzaar upload host

whoAmI ( ) : string

Приватные методы

Метод Описание
HttpUploadFile ( string url, NameValueCollection nvc, Stream stream, string file ) : string
chunkSyzeInBytes ( String str ) : long
executeRequest ( string url ) : string
executeRequest ( string url, string method, string data ) : string
multipartUpload ( string path, UploadSignature signature ) : string

Upload video from local drive in multiple chunks

simpleUpload ( string path, UploadSignature signature ) : string

Описание методов

Vzaar() публичный Метод

public Vzaar ( ) : System.Globalization
Результат System.Globalization

Vzaar() публичный Метод

public Vzaar ( string username, string token ) : System.Globalization
username string
token string
Результат System.Globalization

deleteVideo() публичный Метод

public deleteVideo ( System.Int64 videoId ) : bool
videoId System.Int64
Результат bool

editVideo() публичный Метод

public editVideo ( com.vzaar.api.VideoEditQuery query ) : bool
query com.vzaar.api.VideoEditQuery
Результат bool

generateThumbnail() публичный Метод

public generateThumbnail ( System.Int64 videoId, int thumbTime ) : string
videoId System.Int64
thumbTime int
Результат string

getAccountDetails() публичный Метод

This API call returns the details and rights for each vzaar subscription account type along with it's relevant metadata. This will show the details of the packages available here: http://vzaar.com/pricing
public getAccountDetails ( int accountId ) : com.vzaar.api.AccountDetails
accountId int is the vzaar account type. This is an integer.
Результат com.vzaar.api.AccountDetails

getUploadSignature() публичный Метод

public getUploadSignature ( UploadSignatureQuery query ) : UploadSignature
query UploadSignatureQuery
Результат UploadSignature

getUserDetails() публичный Метод

This API call returns the user's public details along with it's relevant metadata.
public getUserDetails ( string username ) : com.vzaar.api.UserDetails
username string is the vzaar login name for the user. Note: This must be the actual username and not the email address
Результат com.vzaar.api.UserDetails

getVideoDetails() публичный Метод

vzaar uses the oEmbed open standard for allowing 3rd parties to integrated with the vzaar.
public getVideoDetails ( System.Int64 videoId ) : com.vzaar.api.VideoDetails
videoId System.Int64
Результат com.vzaar.api.VideoDetails

getVideoList() публичный Метод

This API call returns a list of the user's active videos along with it's relevant metadata. 20 videos are returned by default but this is customisable.
public getVideoList ( com.vzaar.api.VideoListQuery query ) : List
query com.vzaar.api.VideoListQuery
Результат List

processVideo() публичный Метод

public processVideo ( VideoProcessQuery query ) : System.Int64
query VideoProcessQuery
Результат System.Int64

uploadLink() публичный Метод

public uploadLink ( com.vzaar.api.UploadLinkQuery query ) : System.Int64
query com.vzaar.api.UploadLinkQuery
Результат System.Int64

uploadSubtitle() публичный Метод

public uploadSubtitle ( com.vzaar.api.SubtitleQuery query ) : bool
query com.vzaar.api.SubtitleQuery
Результат bool

uploadThumbnail() публичный Метод

public uploadThumbnail ( System.Int64 videoId, string path ) : string
videoId System.Int64
path string
Результат string

uploadVideo() публичный Метод

Upload video from local drive to vzaar upload host
public uploadVideo ( string path ) : string
path string Path of the video file to be uploaded
Результат string

whoAmI() публичный Метод

public whoAmI ( ) : string
Результат string

Описание свойств

apiUrl публичное свойство

public string apiUrl
Результат string

bufferSize публичное свойство

public long bufferSize
Результат long

enableFlashSupport публичное свойство

public bool enableFlashSupport
Результат bool

token публичное свойство

public string token
Результат string

username публичное свойство

public string username
Результат string