Progress
Progress object for challenges. Progress keeps track of the total challenges in a category and the amount of SpeechChallenges that are completed.
Constructor Summary
Public Constructor | ||
public |
Create a Progress object. |
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
percentage: string | null |
|
public |
|
Public Constructors
public constructor(user: Object, category: string, percentage: string, challenges: Array<Object>) source
Create a Progress object.
Params:
Name | Type | Attribute | Description |
user | Object | Some user information that belongs to the progress. |
|
category | string | The category identifier to which this progress object refers. |
|
percentage | string |
|
The percentage of completeness of all (underlying) challenges. |
challenges | Array<Object> |
|
Challenges belonging to the progress. |