C# 클래스 AcoustID.Web.SubmitService

Calls the AcoustId webservice to submit a new fingerprint.
파일 보기 프로젝트 열기: wo80/AcoustID.NET

공개 메소드들

메소드 설명
GetSubmitStatusAsync ( IEnumerable submits ) : Task

Get the status of a number of pending submissions.

GetSubmitStatusAsync ( SubmitResult submit ) : Task

Get the status of a pending submission.

SubmitAsync ( IEnumerable requests ) : Task

Submit audio data to the AcoustID webservice.

SubmitAsync ( SubmitRequest request ) : Task

Submit audio data to the AcoustID webservice.

SubmitService ( string userKey ) : System

Initializes a new instance of the SubmitService class.

Visit https://acoustid.org/api-key to get a user key.

SubmitService ( string userKey, IResponseParser parser ) : System

Initializes a new instance of the SubmitService class.

Visit https://acoustid.org/api-key to get a user key.

비공개 메소드들

메소드 설명
BuildQueryString ( IEnumerable submits ) : string
BuildRequestBody ( IEnumerable requests ) : Stream
CreateErrorResponse ( HttpWebResponse response ) : SubmitResponse

메소드 상세

GetSubmitStatusAsync() 공개 메소드

Get the status of a number of pending submissions.
public GetSubmitStatusAsync ( IEnumerable submits ) : Task
submits IEnumerable The pending submissions.
리턴 Task

GetSubmitStatusAsync() 공개 메소드

Get the status of a pending submission.
public GetSubmitStatusAsync ( SubmitResult submit ) : Task
submit SubmitResult The pending submission.
리턴 Task

SubmitAsync() 공개 메소드

Submit audio data to the AcoustID webservice.
public SubmitAsync ( IEnumerable requests ) : Task
requests IEnumerable The submit request data.
리턴 Task

SubmitAsync() 공개 메소드

Submit audio data to the AcoustID webservice.
public SubmitAsync ( SubmitRequest request ) : Task
request SubmitRequest The submit request data.
리턴 Task

SubmitService() 공개 메소드

Initializes a new instance of the SubmitService class.
Visit https://acoustid.org/api-key to get a user key.
public SubmitService ( string userKey ) : System
userKey string The user API key.
리턴 System

SubmitService() 공개 메소드

Initializes a new instance of the SubmitService class.
Visit https://acoustid.org/api-key to get a user key.
public SubmitService ( string userKey, IResponseParser parser ) : System
userKey string The user API key.
parser IResponseParser The instance.
리턴 System