MMKSearchBusinessRating1xObjectMetadata

Warning

This feature is available in the Full MapKit SDK version

@interface MMKSearchBusinessRating1xObjectMetadata : NSObject <MMKBaseMetadata>

Snippet for company ratings. Score from 0 to 5.

Summary

Class methods

+ (nonnull MMKSearchBusinessRating1xObjectMetadata *)businessRating1xObjectMetadataWithRatings:( NSUInteger)ratings
                                                                                       reviews:( NSUInteger)reviews
                                                                                         score:(nullable NSNumber *)score;

Properties

@property (nonatomic, readonly) NSUInteger ratings;
Total number of ratings

@property (nonatomic, readonly) NSUInteger reviews;
Total number of reviews

@property (nonatomic, readonly, nullable) NSNumber *score;
Average rating score for the company (0 to 5)

Class methods

businessRating1xObjectMetadataWithRatings:reviews:score:

+ (nonnull MMKSearchBusinessRating1xObjectMetadata *)businessRating1xObjectMetadataWithRatings:( NSUInteger)ratings
                                                                                       reviews:( NSUInteger)reviews
                                                                                         score:(nullable NSNumber *)score;


Properties

ratings

@property (nonatomic, readonly) NSUInteger ratings;

Total number of ratings.


reviews

@property (nonatomic, readonly) NSUInteger reviews;

Total number of reviews.


score

@property (nonatomic, readonly, nullable) NSNumber *score;

Average rating score for the company (0 to 5).

Optional field, can be nil.