freesound-juce
A JUCE client for accessing the Freesound API
Public Member Functions | List of all members
SoundList Class Reference

A class which implements the sound list returned from certain queries to Freesound API, which inherits FSList, containing a method to convert itself to an array of FSSounds. More...

#include <FreesoundAPI.h>

Inheritance diagram for SoundList:
FSList

Public Member Functions

Array< FSSoundtoArrayOfSounds ()
 Creates a copy of this object as an array of FSSound. More...
 
- Public Member Functions inherited from FSList
 FSList ()
 Default constructor, creates an empty object. More...
 
 FSList (var response)
 Constructor from the var object which contains the response from FS API, automatically obtaining the next and previous page; the total of results and the results of the page. More...
 
String getNextPage ()
 Returns the URL for the next page. More...
 
String getPreviousPage ()
 Returns the URL for the previous page. More...
 
var getResults ()
 Returns the results from the current page. More...
 
int getCount ()
 Gets the number of entries in the complete list. More...
 

Additional Inherited Members

- Protected Attributes inherited from FSList
int count
 Total number of results returned from the FS response.
 
String nextPage
 URL for accessing the next page of results.
 
String previousPage
 URL for accessing the previous page of results.
 
var results
 var variable containing the results of the page
 

Detailed Description

A class which implements the sound list returned from certain queries to Freesound API, which inherits FSList, containing a method to convert itself to an array of FSSounds.

Author
Antonio
Date
09/07/2019

Member Function Documentation

◆ toArrayOfSounds()

Array< FSSound > SoundList::toArrayOfSounds ( )

Creates a copy of this object as an array of FSSound.

Author
Antonio
Date
09/07/2019
Returns
A copy of this object as an array of FSSound;

The documentation for this class was generated from the following files: