MMKSearchBusinessRating1xObjectMetadata

Warning

This feature is available in the Full MapKit SDK version

class MMKSearchBusinessRating1xObjectMetadata : NSObject, MMKBaseMetadata

Snippet for company ratings. Score from 0 to 5.

Summary

Class methods

 init(ratings: UInt, reviews: UInt, score: NSNumber?)

Properties

var ratings: UInt { get }
Total number of ratings

var reviews: UInt { get }
Total number of reviews

var score: NSNumber? { get }
Average rating score for the company (0 to 5)

Class methods

init(ratings:reviews:score:)

 init(ratings: UInt, reviews: UInt, score: NSNumber?)


Properties

ratings

var ratings: UInt { get }

Total number of ratings.


reviews

var reviews: UInt { get }

Total number of reviews.


score

var score: NSNumber? { get }

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

Optional field, can be nil.