C# Class AcoustID.Web.LookupService

Calls the AcoustID webservice to lookup audio data for a given fingerprint.
Show file Open project: wo80/AcoustID.NET Class Usage Examples

Public Methods

Method Description
GetAsync ( string fingerprint, int duration ) : Task

Lookup a fingerprint using the AcoustID webservice.

GetAsync ( string fingerprint, int duration, string meta ) : Task

Lookup a fingerprint using the AcoustID webservice.

LookupService ( ) : System

Initializes a new instance of the LookupService class.

LookupService ( IResponseParser parser ) : System

Initializes a new instance of the LookupService class.

Private Methods

Method Description
BuildRequestBody ( string fingerprint, int duration, string meta ) : Stream
CreateErrorResponse ( HttpWebResponse response ) : LookupResponse

Method Details

GetAsync() public method

Lookup a fingerprint using the AcoustID webservice.
public GetAsync ( string fingerprint, int duration ) : Task
fingerprint string The audio fingerprint.
duration int The total duration of the audio.
return Task

GetAsync() public method

Lookup a fingerprint using the AcoustID webservice.
public GetAsync ( string fingerprint, int duration, string meta ) : Task
fingerprint string The audio fingerprint.
duration int The total duration of the audio.
meta string Request meta information.
return Task

LookupService() public method

Initializes a new instance of the LookupService class.
public LookupService ( ) : System
return System

LookupService() public method

Initializes a new instance of the LookupService class.
public LookupService ( IResponseParser parser ) : System
parser IResponseParser The instance.
return System