Class Veery

userAgreementAge()

Requires Veery for iOS version 1.3.0

Get the number of seconds since the last call to Veery.userAgreedPurpose

Parameters

none

Returns

-1 if Veery.userAgreedPurpose was never called

Int The number of seconds since the Last purpose version agreed by the user

Usage / Example

let age = veery.userAgreementAge();

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

userAgreement

Get the last purpose version agreed by the user