C# 클래스 CloudExamples.Services.EncodingService

A service that integrates with encoding.com API
파일 보기 프로젝트 열기: jasonseney/cloudfiles-encoding-demo

공개 메소드들

메소드 설명
AddMedia ( string pullFile, string pushFile, string format, string extension ) : string

Adds a new media file to be encoded

EncodingService ( string userId, string userKey, string apiUrl ) : System

An instance of the encoding service

GetMediaList ( ) : string

Retrives a list of the all the media for this encoding account

GetStatus ( string id ) : string

Gets the status of a media object being encoded

비공개 메소드들

메소드 설명
SendApiRequest ( System.Xml.Linq.XDocument doc ) : string

Generic helper function to send an xml document as an HTTP Post request

메소드 상세

AddMedia() 공개 메소드

Adds a new media file to be encoded
public AddMedia ( string pullFile, string pushFile, string format, string extension ) : string
pullFile string The location of the file to get to encode
pushFile string The location to store the encoded file
format string Name of the format to encode in
extension string File extension to use when naming the encoded file
리턴 string

EncodingService() 공개 메소드

An instance of the encoding service
public EncodingService ( string userId, string userKey, string apiUrl ) : System
userId string User ID for this encoding account
userKey string User API key for this encoding account
apiUrl string The location of the encoding api
리턴 System

GetMediaList() 공개 메소드

Retrives a list of the all the media for this encoding account
public GetMediaList ( ) : string
리턴 string

GetStatus() 공개 메소드

Gets the status of a media object being encoded
public GetStatus ( string id ) : string
id string The id of the media to check
리턴 string