Fields Summary |
---|
public static final int | OPERATION_DELETE_CATEGORYDelete the specified service category from the list of enabled categories. |
public static final int | OPERATION_ADD_CATEGORYAdd the specified service category to the list of enabled categories. |
public static final int | OPERATION_CLEAR_CATEGORIESClear all service categories from the list of enabled categories. |
public static final int | ALERT_OPTION_NO_ALERTAlert option: no alert. |
public static final int | ALERT_OPTION_DEFAULT_ALERTAlert option: default alert. |
public static final int | ALERT_OPTION_VIBRATE_ONCEAlert option: vibrate alert once. |
public static final int | ALERT_OPTION_VIBRATE_REPEATAlert option: vibrate alert - repeat. |
public static final int | ALERT_OPTION_VISUAL_ONCEAlert option: visual alert once. |
public static final int | ALERT_OPTION_VISUAL_REPEATAlert option: visual alert - repeat. |
public static final int | ALERT_OPTION_LOW_PRIORITY_ONCEAlert option: low-priority alert once. |
public static final int | ALERT_OPTION_LOW_PRIORITY_REPEATAlert option: low-priority alert - repeat. |
public static final int | ALERT_OPTION_MED_PRIORITY_ONCEAlert option: medium-priority alert once. |
public static final int | ALERT_OPTION_MED_PRIORITY_REPEATAlert option: medium-priority alert - repeat. |
public static final int | ALERT_OPTION_HIGH_PRIORITY_ONCEAlert option: high-priority alert once. |
public static final int | ALERT_OPTION_HIGH_PRIORITY_REPEATAlert option: high-priority alert - repeat. |
private final int | mOperationService category operation (add/delete/clear). |
private final int | mCategoryService category to modify. |
private final int | mLanguageLanguage used for service category name (defined in BearerData.LANGUAGE_*). |
private final int | mMaxMessagesMaximum number of messages to store for this service category. |
private final int | mAlertOptionService category alert option. |
private final String | mCategoryNameName of service category. |
public static final Parcelable.Creator | CREATORCreator for unparcelling objects. |
Methods Summary |
---|
public int | describeContents()Describe the kinds of special objects contained in the marshalled representation.
return 0;
|
public int | getAlertOption()Returns the service category alert option, e.g. {@link #ALERT_OPTION_DEFAULT_ALERT}.
return mAlertOption;
|
public int | getCategory()Returns the CDMA service category to modify.
return mCategory;
|
public java.lang.String | getCategoryName()Returns the service category name, in the language specified by {@link #getLanguage()}.
return mCategoryName;
|
public int | getLanguage()Returns the CDMA language code for this service category.
return mLanguage;
|
public int | getMaxMessages()Returns the maximum number of messages to store for this service category.
return mMaxMessages;
|
public int | getOperation()Returns the service category operation, e.g. {@link #OPERATION_ADD_CATEGORY}.
return mOperation;
|
public java.lang.String | toString()
return "CdmaSmsCbProgramData{operation=" + mOperation + ", category=" + mCategory
+ ", language=" + mLanguage + ", max messages=" + mMaxMessages
+ ", alert option=" + mAlertOption + ", category name=" + mCategoryName + '}";
|
public void | writeToParcel(android.os.Parcel dest, int flags)Flatten this object into a Parcel.
dest.writeInt(mOperation);
dest.writeInt(mCategory);
dest.writeInt(mLanguage);
dest.writeInt(mMaxMessages);
dest.writeInt(mAlertOption);
dest.writeString(mCategoryName);
|