Leaderboard

public struct Leaderboard : Codable, Equatable

Struct representing Leaderboard related values.

  • id

    Represent the unique ID of a leaderboard.

    Declaration

    Swift

    public var id: Int
  • Represent the label of a leaderboard.

    Declaration

    Swift

    public var label: String
  • Represent the name of a leaderboard.

    Declaration

    Swift

    public var name: String
  • Represent the image url of a leaderboard.

    Declaration

    Swift

    public var imageUrl: String
  • Represent the details of a leaderboard.

    Declaration

    Swift

    public var description: String
  • Represent the metric of a leaderboard.

    Declaration

    Swift

    public var metric: String
  • Represent the metric display name of a leaderboard.

    Declaration

    Swift

    public var metricDisplayName: String
  • Undocumented

    Declaration

    Swift

    public init(id: Int, label: String, name: String, imageUrl: String,
                description: String, metric: String, metricDisplayName: String)
  • Struct representing Leaderboard Feed related values.

    See more

    Declaration

    Swift

    public struct Feed : Codable, Equatable
  • Declaration

    Swift

    public init(from decoder: Decoder) throws