RealityCheckMessage

data class RealityCheckMessage(val win: Int, val wager: Int, val loginAt: Date?, val loginHours: Int, val difference: Int, val createdAt: Date?, val loginMinutes: Int, val loginText: String, val notificationId: String, val showCancelButton: Boolean, val showContinueButton: Boolean, val designVariant: DesignVariant, val responsibleGamingLink: String, val showAccountHistoryButton: Boolean, val showResponsibleGamingLink: Boolean, val rcMessageFragments: List<RcMessageFragment>)

RealityCheckMessage is the object that is returned every hour of active login time. See each property for more information.

Constructors

Link copied to clipboard
constructor(win: Int, wager: Int, loginAt: Date?, loginHours: Int, difference: Int, createdAt: Date?, loginMinutes: Int, loginText: String, notificationId: String, showCancelButton: Boolean, showContinueButton: Boolean, designVariant: DesignVariant, responsibleGamingLink: String, showAccountHistoryButton: Boolean, showResponsibleGamingLink: Boolean, rcMessageFragments: List<RcMessageFragment>)

Properties

Link copied to clipboard

This is the creation time of this realityCheckMessage.

Link copied to clipboard

"normal" or "warning"

Link copied to clipboard

(amount in cents or 1/100 kr (øre)) This is the value between your 'Wager' and 'Win'. so if your 'Wager' is 5000 and win is 1480 then difference is -352000, or if you wager is 740, and your win is 1480, then your difference is 740.

Link copied to clipboard

This is the date you logged in. It is standard UTC + your timezone, so for DK, its UTC+2.

Link copied to clipboard

This is total hours you have been logged in.

Link copied to clipboard

This is how many minutes you are into the current hour.

Link copied to clipboard

This is the full text, so for example: "Siden login kl. 12:53 har du < b >brugt appen i 1 time og 8 min.< / b >, I denne periode har spil og gevinster ændret din saldo på BLÅ KONTO med -3520 kr. Spil aldrig for mere, end du har råd til at tabe. Og husk at tage pauser."

Link copied to clipboard

This is the id of the current notification, this is needed for when you want to call "AcceptRealityCheck"

Link copied to clipboard

The loginText, split up into sections and defined as either bold or text.

Link copied to clipboard

The link that needs to send the user to responsible gaming faq.

Link copied to clipboard

This is true if you need to give the user the option to view their account spending history.

Link copied to clipboard

This is true if you need to show the logout Button.

Link copied to clipboard

This is true if you need to allow the user to disable the notification

Link copied to clipboard

This is true if you need to show the 'ResponsibleGamingLink'

Link copied to clipboard
val wager: Int

(amount in cents or 1/100 kr (øre)) This is your total betting. So you would have bet total of 740.

Link copied to clipboard
val win: Int

(amount in cents or 1/100 kr (øre)) This is your total winnings, example: you have 740 on your account, you bet 740 on red, you win that 740 plus another 740 and your total winnings is now 1480, Win can be negative.