Google is committed to advancing racial equity for Black communities. See how.

LabelValue

public final class LabelValue extends Object
implements Parcelable

Parcelable representing label value.

Inherited Constant Summary

Field Summary

public static final Creator<LabelValue> CREATOR

Public Constructor Summary

LabelValue(String label, String value)
Constructs a label to describe wallet object's custom properties.

Public Method Summary

String
String
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Fields

public static final Creator<LabelValue> CREATOR

Public Constructors

public LabelValue (String label, String value)

Constructs a label to describe wallet object's custom properties.

Parameters
label the name of the label
value the value of the label

Public Methods

public String getLabel ()

Returns
  • the name of the label

public String getValue ()

Returns
  • the value of the label

public void writeToParcel (Parcel dest, int flags)