PlaytimeEventConfig
public final class PlaytimeEventConfig : NSObject
Configuration for multi-event rewards.
The class provides detailed information about events and rewards.
-
Array of rewarded events that must be completed in the given order.
These will usually be progress events a user can reach in a game or app.
Declaration
Swift
public let sequentialActions: [PlaytimeRewardAction] -
Array of rewarded events that can be completed in any order.
These will be bonus rewards a user should get on top of the other rewards.
Declaration
Swift
public let bonusActions: [PlaytimeRewardAction] -
Array of events that are rewarded based on the time played.
Declaration
Swift
public let timeBasedActions: [PlaytimeRewardAction] -
Total coins collected by the user.
Declaration
Swift
public let totalCoinsCollected: Int -
Maximum possible coins for this config.
Declaration
Swift
public let totalCoinsPossible: Int?
PlaytimeEventConfig Class Reference