checkForUpdate

public Unit checkForUpdate(AppConsentUpdateCallback callback)

Check if update is needed. If called prior to user giving a consent returns false

Parameters

callback

AppConsentUpdateCallback to be triggered once check is finished


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