showAgreement()
Last updated 17/09/2024
The
showAgreement()
is a function on the Five
object that is used to display an agreement. The userResult
object
returned from the callback will have a value called accepted, so you know if the user canceled or accepted the agreement.
Available
Client
Function Signature
showAgreement(terms: string, onUserResult: (userResult: any) => void) : void
Parameter | Type | Description |
---|---|---|
terms | string | Terms displayed to the user |
onUserResult | function | Result of user choice |