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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceInternal interface used to implement the agreement helper. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidrequestAgreement(AgreementInfo agreementInfo, AgreementAcceptanceCallback callback) Request to show an agreement dialog with the provided information.static void
-
Constructor Details
-
AgreementHelper
public AgreementHelper()
-
-
Method Details
-
staticInitTrigger
public static void staticInitTrigger() -
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:
-