FileDocCategorySizeDatePackage
ToneSettings.javaAPI DocAndroid 5.1 API1896Thu Mar 12 22:22:54 GMT 2015com.android.internal.telephony.cat

ToneSettings

public class ToneSettings extends Object implements android.os.Parcelable
Container 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 intdescribeContents()

        return 0;
    
public voidwriteToParcel(android.os.Parcel dest, int flags)

        dest.writeParcelable(duration, 0);
        dest.writeParcelable(tone, 0);
        dest.writeInt(vibrate ? 1 : 0);