TextModuleData

  • 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.

public final classTextModuleData extendsObject
implementsParcelable

Parcelable representing data for text module associated with wallet object.

Inherited Constant Summary

From interface android.os.Parcelable
intCONTENTS_FILE_DESCRIPTOR
intPARCELABLE_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

From class java.lang.Object
Object
clone()
boolean
equals(Object arg0)
void
finalize()
finalClass<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()
From interface android.os.Parcelable
abstract int
describeContents()
abstract void
writeToParcel(Parcel arg0, int arg1)

Fields

public static finalCreator<TextModuleData>CREATOR

Public Constructors

publicTextModuleData(String header,String body)

Creates an instance of TextModule with given header and body

Parameters
headerthe header of the text module
bodythe body of the text module

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.