java.lang.Object |
↳ |
com.google.android.gms.wallet.wobs.UriData |
Class Overview
Parcelable representing an uri.
Summary
[Expand]
Inherited Constants |
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
Public Constructors |
|
UriData(String uri, String description)
Constructs uri with given uri value and description
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
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
final
Creator<UriData>
CREATOR
Public Constructors
public
UriData
(String uri, String description)
Constructs uri with given uri value and description
Parameters |
uri |
String : A destination for a web page or image. |
description |
String : The URI's title appearing in the Google Wallet app as text. Recommended
maximum is 20 characters to ensure full string is displayed on smaller screens.
Note that in some contexts this text is not used, such as when description is part of an
image.
|
Public Methods
public
String
getDescription
()
Returns |
String |
the uri description |
public
void
writeToParcel
(Parcel dest, int flags)
Parameters |
dest |
Parcel |
flags |
int |