C# Class AcoustID.Web.SubmitService

Calls the AcoustId webservice to submit a new fingerprint.
Datei anzeigen Open project: wo80/AcoustID.NET

Public Methods

Method Description
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.

Private Methods

Method Description
BuildQueryString ( IEnumerable submits ) : string
BuildRequestBody ( IEnumerable requests ) : Stream
CreateErrorResponse ( HttpWebResponse response ) : SubmitResponse

Method Details

GetSubmitStatusAsync() public method

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

GetSubmitStatusAsync() public method

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

SubmitAsync() public method

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

SubmitAsync() public method

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

SubmitService() public method

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.
return System

SubmitService() public method

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.
return System