C# 클래스 Zencoder.Zencoder

Provides API-wide Zencoder services.
파일 보기 프로젝트 열기: ChadBurggraf/zencoder-cs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ServiceUrl System.Uri

공개 메소드들

메소드 설명
AccountDetails ( ) : AccountDetailsResponse

A blocking account details request/response cycle.

AccountDetails ( Action callback ) : void

A non blocking account details request/response cycle.

AccountIntegrationMode ( bool enable ) : AccountIntegrationModeResponse

A blocking account integration mode request/response cycle.

AccountIntegrationMode ( bool enable, Action callback ) : void

A non blocking account integration mode request/response cycle.

CancelJob ( int jobId ) : CancelJobResponse

A blocking cancel job request/response cycle.

CancelJob ( int jobId, Action callback ) : void

A blocking cancel request/response cycle.

CreateAccount ( string email, string password, string affiliateCode, bool termsOfService, bool newsletter ) : CreateAccountResponse

A blocking create account request/response cycle.

CreateAccount ( string email, string password, string affiliateCode, bool termsOfService, bool newsletter, Uri baseUrl ) : CreateAccountResponse

A blocking create account request/response cycle.

CreateAccount ( string email, string password, string affiliateCode, bool termsOfService, bool newsletter, Action callback ) : void

A non blocking create account request/response cycle.

CreateAccount ( string email, string password, string affiliateCode, bool termsOfService, bool newsletter, Uri baseUrl, Action callback ) : void

A non blocking create account request/response cycle.

CreateJob ( string input, IEnumerable outputs ) : CreateJobResponse

A blocking create job request/response cycle.

CreateJob ( string input, IEnumerable outputs, int downloadConnections, string region, bool test, bool mock ) : CreateJobResponse

A blocking create job request/response cycle.

CreateJob ( string input, IEnumerable outputs, Action callback ) : void

A non blocking create job request/response cycle.

CreateJob ( string input, IEnumerable outputs, int downloadConnections, string region, bool test, bool mock, Action callback ) : void

A blocking create job request/response cycle.

DeleteJob ( int jobId ) : DeleteJobResponse

A blocking delete job request/response cycle.

DeleteJob ( int jobId, Action callback ) : void

A blocking delete request/response cycle.

JobDetails ( int jobId ) : JobDetailsResponse

A blocking job details request/response cycle.

JobDetails ( int jobId, Action callback ) : void

A blocking job details request/response cycle.

JobProgress ( int outputId ) : JobProgressResponse

A blocking job progress request/response cycle.

JobProgress ( int outputId, Action callback ) : void

A non blocking job progress request/response cycle.

ListJobs ( ) : ListJobsResponse

A blocking list jobs request/response cycle.

ListJobs ( int pageNumber, int pageSize ) : ListJobsResponse

A blocking list jobs request/response cycle.

ListJobs ( Action callback ) : void

A non blocking list jobs request/response cycle.

ListJobs ( int pageNumber, int pageSize, Action callback ) : void

A non blocking list jobs request/response cycle.

ResubmitJob ( int jobId ) : ResubmitJobResponse

A blocking resubmit job request/response cycle.

ResubmitJob ( int jobId, Action callback ) : void

A blocking resubmit job request/response cycle.

Zencoder ( ) : System

Initializes a new instance of the Zencoder class.

Zencoder ( string apiKey ) : System

Initializes a new instance of the Zencoder class.

Zencoder ( string apiKey, Uri baseUrl ) : System

Initializes a new instance of the Zencoder class.

메소드 상세

AccountDetails() 공개 메소드

A blocking account details request/response cycle.
public AccountDetails ( ) : AccountDetailsResponse
리턴 AccountDetailsResponse

AccountDetails() 공개 메소드

A non blocking account details request/response cycle.
public AccountDetails ( Action callback ) : void
callback Action The call response.
리턴 void

AccountIntegrationMode() 공개 메소드

A blocking account integration mode request/response cycle.
public AccountIntegrationMode ( bool enable ) : AccountIntegrationModeResponse
enable bool A value indicating whether to enable integration mode for the account.
리턴 AccountIntegrationModeResponse

AccountIntegrationMode() 공개 메소드

A non blocking account integration mode request/response cycle.
public AccountIntegrationMode ( bool enable, Action callback ) : void
enable bool A value indicating whether to enable integration mode for the account.
callback Action The call response.
리턴 void

CancelJob() 공개 메소드

A blocking cancel job request/response cycle.
public CancelJob ( int jobId ) : CancelJobResponse
jobId int The ID of the job to cancel.
리턴 CancelJobResponse

CancelJob() 공개 메소드

A blocking cancel request/response cycle.
public CancelJob ( int jobId, Action callback ) : void
jobId int The ID of the job to cancel.
callback Action The call response.
리턴 void

CreateAccount() 공개 정적인 메소드

A blocking create account request/response cycle.
public static CreateAccount ( string email, string password, string affiliateCode, bool termsOfService, bool newsletter ) : CreateAccountResponse
email string The email address to create the account with.
password string The password to create the account with.
affiliateCode string The affiliate code to create the account with, if applicable.
termsOfService bool A value indicating whether the terms of service are agreed to.
newsletter bool A value indicating whether to subscribe the email address to the newsletter.
리턴 CreateAccountResponse

CreateAccount() 공개 정적인 메소드

A blocking create account request/response cycle.
public static CreateAccount ( string email, string password, string affiliateCode, bool termsOfService, bool newsletter, Uri baseUrl ) : CreateAccountResponse
email string The email address to create the account with.
password string The password to create the account with.
affiliateCode string The affiliate code to create the account with, if applicable.
termsOfService bool A value indicating whether the terms of service are agreed to.
newsletter bool A value indicating whether to subscribe the email address to the newsletter.
baseUrl System.Uri The service base URL.
리턴 CreateAccountResponse

CreateAccount() 공개 정적인 메소드

A non blocking create account request/response cycle.
public static CreateAccount ( string email, string password, string affiliateCode, bool termsOfService, bool newsletter, Action callback ) : void
email string The email address to create the account with.
password string The password to create the account with.
affiliateCode string The affiliate code to create the account with, if applicable.
termsOfService bool A value indicating whether the terms of service are agreed to.
newsletter bool A value indicating whether to subscribe the email address to the newsletter.
callback Action The call response.
리턴 void

CreateAccount() 공개 정적인 메소드

A non blocking create account request/response cycle.
public static CreateAccount ( string email, string password, string affiliateCode, bool termsOfService, bool newsletter, Uri baseUrl, Action callback ) : void
email string The email address to create the account with.
password string The password to create the account with.
affiliateCode string The affiliate code to create the account with, if applicable.
termsOfService bool A value indicating whether the terms of service are agreed to.
newsletter bool A value indicating whether to subscribe the email address to the newsletter.
baseUrl System.Uri The service base URL.
callback Action The call response.
리턴 void

CreateJob() 공개 메소드

A blocking create job request/response cycle.
public CreateJob ( string input, IEnumerable outputs ) : CreateJobResponse
input string The URL of the input file.
outputs IEnumerable The output definition collection.
리턴 CreateJobResponse

CreateJob() 공개 메소드

A blocking create job request/response cycle.
public CreateJob ( string input, IEnumerable outputs, int downloadConnections, string region, bool test, bool mock ) : CreateJobResponse
input string The URL of the input file.
outputs IEnumerable The output definition collection.
downloadConnections int The number of download connections to use when fetching the input file.
region string The region to perform the job in.
test bool A value indicating whether to use test mode.
mock bool A value indicating whether to mock the response rather than actually creating a job.
리턴 CreateJobResponse

CreateJob() 공개 메소드

A non blocking create job request/response cycle.
public CreateJob ( string input, IEnumerable outputs, Action callback ) : void
input string The URL of the input file.
outputs IEnumerable The output definition collection.
callback Action The call response.
리턴 void

CreateJob() 공개 메소드

A blocking create job request/response cycle.
public CreateJob ( string input, IEnumerable outputs, int downloadConnections, string region, bool test, bool mock, Action callback ) : void
input string The URL of the input file.
outputs IEnumerable The output definition collection.
downloadConnections int The number of download connections to use when fetching the input file.
region string The region to perform the job in.
test bool A value indicating whether to use test mode.
mock bool A value indicating whether to mock the response rather than actually creating a job.
callback Action The call response.
리턴 void

DeleteJob() 공개 메소드

A blocking delete job request/response cycle.
public DeleteJob ( int jobId ) : DeleteJobResponse
jobId int The ID of the job to delete.
리턴 DeleteJobResponse

DeleteJob() 공개 메소드

A blocking delete request/response cycle.
public DeleteJob ( int jobId, Action callback ) : void
jobId int The ID of the job to delete.
callback Action The call response.
리턴 void

JobDetails() 공개 메소드

A blocking job details request/response cycle.
public JobDetails ( int jobId ) : JobDetailsResponse
jobId int The ID of the job to get details for.
리턴 JobDetailsResponse

JobDetails() 공개 메소드

A blocking job details request/response cycle.
public JobDetails ( int jobId, Action callback ) : void
jobId int The ID of the job to get details for.
callback Action The call response.
리턴 void

JobProgress() 공개 메소드

A blocking job progress request/response cycle.
public JobProgress ( int outputId ) : JobProgressResponse
outputId int The ID of the output (NOT the job ID) to get progress for.
리턴 JobProgressResponse

JobProgress() 공개 메소드

A non blocking job progress request/response cycle.
public JobProgress ( int outputId, Action callback ) : void
outputId int The ID of the output (NOT the job ID) to get progress for.
callback Action The call response.
리턴 void

ListJobs() 공개 메소드

A blocking list jobs request/response cycle.
public ListJobs ( ) : ListJobsResponse
리턴 ListJobsResponse

ListJobs() 공개 메소드

A blocking list jobs request/response cycle.
public ListJobs ( int pageNumber, int pageSize ) : ListJobsResponse
pageNumber int The page number of jobs to list, if applicable.
pageSize int The page size of jobs to list, if applicable.
리턴 ListJobsResponse

ListJobs() 공개 메소드

A non blocking list jobs request/response cycle.
public ListJobs ( Action callback ) : void
callback Action The call response.
리턴 void

ListJobs() 공개 메소드

A non blocking list jobs request/response cycle.
public ListJobs ( int pageNumber, int pageSize, Action callback ) : void
pageNumber int The page number of jobs to list, if applicable.
pageSize int The page size of jobs to list, if applicable.
callback Action The call response.
리턴 void

ResubmitJob() 공개 메소드

A blocking resubmit job request/response cycle.
public ResubmitJob ( int jobId ) : ResubmitJobResponse
jobId int The ID of the job to resubmit.
리턴 ResubmitJobResponse

ResubmitJob() 공개 메소드

A blocking resubmit job request/response cycle.
public ResubmitJob ( int jobId, Action callback ) : void
jobId int The ID of the job to resubmit.
callback Action The call response.
리턴 void

Zencoder() 공개 메소드

Initializes a new instance of the Zencoder class.
public Zencoder ( ) : System
리턴 System

Zencoder() 공개 메소드

Initializes a new instance of the Zencoder class.
public Zencoder ( string apiKey ) : System
apiKey string The API key to use when connecting to the service.
리턴 System

Zencoder() 공개 메소드

Initializes a new instance of the Zencoder class.
public Zencoder ( string apiKey, Uri baseUrl ) : System
apiKey string The API key to use when connecting to the service.
baseUrl System.Uri The service base URL.
리턴 System

프로퍼티 상세

ServiceUrl 공개적으로 정적으로 프로퍼티

Gets the default API base URL.
public static Uri,System ServiceUrl
리턴 System.Uri