checkForUpdate

public abstract Unit checkForUpdate(Function1<Boolean, Unit> onResult, Function1<Throwable, Unit> error)

Check if update is needed. For example, if your Notice has been updated If called prior to user giving a consent returns false

Parameters

onResult

The callback that lets you know whether an update is due or not

error

callback to indicate whether an error has occurred during verification