Class Veery

userAgreement()

Requires Veery for iOS version 1.3.0

Get the last purpose version agreed by the user

Parameters

none

Returns

-1 if the user has never been asked for agreement

0 if the user has rejected agreement

version the Last purpose version agreed by the user (version > 0)

Usage / Example

let version = veery.userAgreement();

User interaction

none

See also

userAgreedPurpose

Let Veery know if the user has agreed on a specific application purpose to collect geolocations This is historized on the Veery Backend for GDPR compliance

userAgreementAge

The number of seconds since the last purpose version agreed by the user