HERE iOS SDK Developer's Guide

NMAMediaReview

Class Summary

class NMAMediaReview

Derived from: NMAMedia

Represents review content that provides access to user reviews and ratings about a NMAPlace.

Include: NMAKit.framework/headers/NMAMediaReview.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAMediaReview

[For complete information, see the section Class Details]

See also:

NMAMediaEditorial

NMAMediaImage

NMAMediaRatings

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NSDate *  contributionDate

The NSDate specifying the date when the user contributed the review

[readable, assign] NMALink contributor

Details of the user who contributed the review

[readable, assign] NSString *  description

The review content for the NMAPlace

[readable, assign] NSString *  languageCode

The BCP-47 language code in which the review is available

[readable, assign] double  rating

The rating that the review contributor gave for the place

[readable, assign] NSString *  title

The title of the review that the user contributed

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(nonnull instancetype) init

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull instancetype) new

Class Details

Represents review content that provides access to user reviews and ratings about a NMAPlace.

See also:

NMAMediaEditorial

NMAMediaImage

NMAMediaRatings

Public Property Details

[readable, assign] NSDate * contributionDate

The NSDate specifying the date when the user contributed the review.

[readable, assign] NMALinkcontributor

Details of the user who contributed the review.

Note:

The contributor may be unkown. Attempts to read this property could return nil.

[readable, assign] NSString * description

The review content for the NMAPlace.

Note:

Depending on the NMASupplier, the full content might not be displayed and the full review might be available only within the resource to which the optional via attribute links.

[readable, assign] NSString * languageCode

The BCP-47 language code in which the review is available.

Note:

Attempts to read this property could return empty string as the language code for a review is optional. If nil the description language is unkown but is likely to be English.

[readable, assign] double rating

The rating that the review contributor gave for the place.

Note:

The rating may come from various systems with different rating schemes. The value of this attribute may not reflect the rating scheme of the supplier's service, but is adjusted to the value range of the Places API [1..5].

[readable, assign] NSString * title

The title of the review that the user contributed.

Note:

A title for a review is optional. Attempts to read this property could return nil.

Instance Method Details

-(nonnull instancetype) init

Instances of this class should not be initialized directly

Class Method Details

+(nonnull instancetype) new

Instances of this class should not be initialized directly