Methods
build()
build():Promise<IContentRating>
Builds an IContentRating object.
Returns
Promise<IContentRating>
Throws
InvalidRatingsIdentifierError if the passed parameters do not correspond to a valid standardized rating-in-rating-system coordinate or if one or more content descriptors is invalid.Throws
InvalidArgumentError if a required builder property (such as ratingsSystem) is missing.contentDescriptors()
contentDescriptors(contentDescriptors): IContentRatingBuilder
Set optionally specified content descriptors for the rating to be built.
The default (if this method is not called) is an empty array.
Parameters
contentDescriptors
string[]
a unordered array of 0 or more content
descriptor identifiers. Duplicates are removed in the built
IContentRating
Returns
IContentRatingBuilder

