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 |
Properties
@property (nonatomic, readonly) NSUInteger ratings; |
@property (nonatomic, readonly) NSUInteger reviews; |
@property (nonatomic, readonly, nullable) NSNumber *score; |
Class methods
businessRating1xObjectMetadataWithRatings:reviews:score:
+ (nonnull MMKSearchBusinessRating1xObjectMetadata *)businessRating1xObjectMetadataWithRatings:( NSUInteger)ratings |
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.