public final class Feature
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<Feature> |
CREATOR |
java.lang.String |
description
User-friendly description for the feature.
|
java.lang.String |
iconUrl
URL string for the feature icon asset.
|
java.lang.String |
id
Unique identifier for the feature.
|
java.lang.String |
title
User-friendly title for the feature.
|
java.util.List<UserFeature> |
userFeatures
A list of
UserFeature representing the set of feature instances that a given user has enabled. |
| Modifier | Constructor and Description |
|---|---|
protected |
Feature(android.os.Parcel in) |
|
Feature(java.lang.String id,
java.lang.String title,
java.lang.String description,
java.lang.String iconUrl,
java.util.List<UserFeature> userFeatures) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public final java.lang.String id
public final java.lang.String title
public final java.lang.String description
@Json(name="icon_url") public final java.lang.String iconUrl
@Nullable public final java.util.List<UserFeature> userFeatures
UserFeature representing the set of feature instances that a given user has enabled. Null if
the user has not enabled this feature, or the API authentication is anonymous.public static final android.os.Parcelable.Creator<Feature> CREATOR
public Feature(java.lang.String id,
java.lang.String title,
java.lang.String description,
java.lang.String iconUrl,
@Nullable
java.util.List<UserFeature> userFeatures)
protected Feature(android.os.Parcel in)