TextModuleData Stay organized with collections Save and categorize content based on your preferences.
Page Summary
TextModuleData is a Parcelable class representing data for a text module associated with a wallet object.
It includes a CREATOR field for Parcelable implementation.
You can create an instance of TextModuleData using a constructor that takes a header and a body string.
The class provides methods to retrieve the header and body strings of the text module.
It includes inherited methods for object manipulation and Parcelable functionality.
Parcelable representing data for text module associated with wallet object.
Inherited Constant Summary
| int | CONTENTS_FILE_DESCRIPTOR | |
| int | PARCELABLE_WRITE_RETURN_VALUE |
Field Summary
| public static finalCreator<TextModuleData> | CREATOR |
Public Constructor Summary
TextModuleData(String header,String body) Creates an instance of TextModule with given header and body |
Public Method Summary
| String | getBody() Returns the text module body. |
| String | getHeader() Returns the text module header. |
| void | writeToParcel(Parcel dest, int flags) |
Inherited Method Summary
| abstract int | describeContents() |
| abstract void | writeToParcel(Parcel arg0, int arg1) |
Fields
public static finalCreator<TextModuleData>CREATOR
Public Constructors
Public Methods
publicStringgetBody()
Returns the text module body.
publicStringgetHeader()
Returns the text module header.
public voidwriteToParcel(Parcel dest, int flags)
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.