Interface TermsAndConditions
public interface TermsAndConditions
TermsAndConditions provides the agreement on the rules for using the SDK, and requires the end user to agree and accept it.
-
Method Summary
Modifier and TypeMethodDescriptionaccept()Accepts the terms and condition to allow card digitization.Obtains the text and display to the end user for acceptance.Gets the ContentType enum that represents the type of text returned bygetContent()method.Gets the height of the content if the content is of any media type such as SVG or PNG.getText()Deprecated.getWidth()Gets the width of the content if the content is of any media type such as SVG or PNG.
-
Method Details
-
getContent
String getContent()Obtains the text and display to the end user for acceptance. Gets the text to display to end users for acceptance.- Returns:
- A String value representing the text to display to end users.
-
getText
Deprecated.since 6.10.0, please usegetContent()instead.Gets the text to display to end users for acceptance.- Returns:
- The text to display to the end user.
-
getContentType
ContentType getContentType()Gets the ContentType enum that represents the type of text returned bygetContent()method.- Returns:
- The
ContentTypeenum value indicating the type of text. - See Also:
-
accept
TermsAndConditionSession accept()Accepts the terms and condition to allow card digitization.- Returns:
- The TermsAndConditionAcceptanceToken object.
-
getWidth
Gets the width of the content if the content is of any media type such as SVG or PNG.- Returns:
- A String representing the width of the content. If the content is a non-media type, such as text/plain, text/html, or PDF, a null value is returned.
-
getHeight
Gets the height of the content if the content is of any media type such as SVG or PNG.- Returns:
- A String representing the height of the content. If the content is a non-media type, such as text/plain, text/html, or PDF, a null value is returned.
-
getContent()instead.