@Immutable @LevelUpApi(contract=PUBLIC) public final class WebLink extends Object implements Parcelable
Location
.Modifier and Type | Class and Description |
---|---|
static class |
WebLink.WebLinkBuilder |
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<WebLink> |
CREATOR
Implements the
Parcelable interface. |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
WebLink(String title,
long webLinkTypeId,
String webUrl) |
Modifier and Type | Method and Description |
---|---|
static WebLink.WebLinkBuilder |
builder() |
int |
describeContents() |
boolean |
equals(Object o) |
String |
getTitle()
The link's displayable text.
|
long |
getWebLinkTypeId()
The links's enumerated type ID to be used when retreiving the image associated with the link.
|
String |
getWebUrl()
The web URL associated with the link.
|
int |
hashCode() |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<WebLink> CREATOR
Parcelable
interface.public int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
public static WebLink.WebLinkBuilder builder()
public String getTitle()
public long getWebLinkTypeId()
public String getWebUrl()