StarRating

@objc(ZDStarRating)
public enum StarRating : Int32

Zendrive follows the star rating system, under which five star defined as the best rating with one being the worst.

  • one

    Indicates worst rating.

    Declaration

    Swift

    case one = 1
  • two

    Indicates bad rating.

    Declaration

    Swift

    case two = 2
  • Indicates an average rating.

    Declaration

    Swift

    case three = 3
  • Indicates good rating.

    Declaration

    Swift

    case four = 4
  • Indicates best rating.

    Declaration

    Swift

    case five = 5
  • NA

    Reported when rating is absent.

    Declaration

    Swift

    case NA = -1