Package velox.api.layer1.agreement
Class AgreementHelper
java.lang.Object
velox.api.layer1.agreement.AgreementHelper
Helper class used to request showing agreement dialog and saving user's choice.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidrequestAgreement(AgreementInfo agreementInfo, AgreementAcceptanceCallback callback) Request to show an agreement dialog with the provided information.
-
Constructor Details
-
AgreementHelper
public AgreementHelper()
-
-
Method Details
-
requestAgreement
public static void requestAgreement(AgreementInfo agreementInfo, AgreementAcceptanceCallback callback) Request to show an agreement dialog with the provided information. The callback will be called with the result of user's choice.- Parameters:
agreementInfo- Information about the agreement to show to the user.callback- Callback to be called with the result of user's choice. It will be called from the Swing EDT thread.- See Also:
-