ToneSettingspublic class ToneSettings extends Object implements android.os.ParcelableContainer class for PlayTone commands parameters. |
Fields Summary |
---|
public Duration | duration | public Tone | tone | public boolean | vibrate | public static final Parcelable.Creator | CREATOR |
Constructors Summary |
---|
public ToneSettings(Duration duration, Tone tone, boolean vibrate)
this.duration = duration;
this.tone = tone;
this.vibrate = vibrate;
| private ToneSettings(android.os.Parcel in)
duration = in.readParcelable(null);
tone = in.readParcelable(null);
vibrate = in.readInt() == 1;
|
Methods Summary |
---|
public int | describeContents()
return 0;
| public void | writeToParcel(android.os.Parcel dest, int flags)
dest.writeParcelable(duration, 0);
dest.writeParcelable(tone, 0);
dest.writeInt(vibrate ? 1 : 0);
|
|