public class

PhoneState

extends Object
implements Parcelable
java.lang.Object
   ↳ com.htc.lockscreen.telephony.PhoneState

Summary

Constants
int CALL_STATE_IDLE
int CALL_STATE_OFFHOOK
int CALL_STATE_RING
int CALL_STYLE_NORMAL
int CALL_STYLE_VIDEO
int FLAG_SENDMSG
int FLAG_SILENT
[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<PhoneState> CREATOR
public Bitmap mCallIcon
public int mCallState
public int mCallStyle
public String mCallType
public String mDisplayNumber
public String mDueDate
public String mEventDesp
public Bitmap mEventIcon
public int mFlag
public String mHint
public int mId
public String mLocation
public String mName
public String mOpName
public String mPackageName
public Bitmap mPhoto
public Bitmap mSNIcon
public String mSNStatus
public ComponentName mService
public String mTaskName
Public Constructors
PhoneState(int callState, String opName, String callType, Bitmap phone, String name, String displayNumber, String location, String hint, String snStatus, Bitmap snIcon, String eventDesp, Bitmap eventIcon)
PhoneState(Context context)
PhoneState(Parcel parcel)
Public Methods
int describeContents()
String getBirthdayInfo()
int getCallState()
String getDisplayNumber()
String getDueDate()
Bundle getExtra()
int getFlag()
int getId()
String getLocation()
String getName()
String getPackageName()
ComponentName getPhoneComponent()
Bitmap getPhoto()
String getSocailState()
Bitmap getSocialIcon()
String getTaskName()
void setBirthdayInfo(String birthday)
void setCallState(int callState)
void setDisplayNumber(String number)
void setDueDate(String duedate)
void setFlag(int flag)
void setId(int id)
void setLocation(String location)
void setName(String name)
void setPhoneComponent(String packageName, String className)
void setPhoto(Bitmap photo)
void setSocailState(String social)
void setSocialIcon(Bitmap icon)
void setTaskName(String taskname)
void writeToParcel(Parcel parcel, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Constants

public static final int CALL_STATE_IDLE

Since: API Level 2.2

Constant Value: 0 (0x00000000)

public static final int CALL_STATE_OFFHOOK

Since: API Level 2.2

Constant Value: 2 (0x00000002)

public static final int CALL_STATE_RING

Since: API Level 2.2

Constant Value: 1 (0x00000001)

public static final int CALL_STYLE_NORMAL

Since: API Level 4.0

Constant Value: 0 (0x00000000)

public static final int CALL_STYLE_VIDEO

Since: API Level 4.0

Constant Value: 1 (0x00000001)

public static final int FLAG_SENDMSG

Since: API Level 2.2

Constant Value: 2 (0x00000002)

public static final int FLAG_SILENT

Since: API Level 2.2

Constant Value: 1 (0x00000001)

Fields

public static final Creator<PhoneState> CREATOR

Since: API Level 2.2

public Bitmap mCallIcon

Since: API Level 4.1

public int mCallState

Since: API Level 2.2

public int mCallStyle

Since: API Level 4.1

public String mCallType

Since: API Level 2.2

public String mDisplayNumber

Since: API Level 2.2

public String mDueDate

Since: API Level 4.2

public String mEventDesp

Since: API Level 2.2

public Bitmap mEventIcon

Since: API Level 2.2

public int mFlag

Since: API Level 2.2

public String mHint

Since: API Level 2.2

public int mId

Since: API Level 2.2

public String mLocation

Since: API Level 2.2

public String mName

Since: API Level 2.2

public String mOpName

Since: API Level 2.2

public String mPackageName

Since: API Level 2.2

public Bitmap mPhoto

Since: API Level 2.2

public Bitmap mSNIcon

Since: API Level 2.2

public String mSNStatus

Since: API Level 2.2

public ComponentName mService

Since: API Level 2.2

public String mTaskName

Since: API Level 4.2

Public Constructors

public PhoneState (int callState, String opName, String callType, Bitmap phone, String name, String displayNumber, String location, String hint, String snStatus, Bitmap snIcon, String eventDesp, Bitmap eventIcon)

Since: API Level 2.2

public PhoneState (Context context)

Since: API Level 2.2

public PhoneState (Parcel parcel)

Since: API Level 2.2

Public Methods

public int describeContents ()

Since: API Level 2.2

public String getBirthdayInfo ()

Since: API Level 2.2

public int getCallState ()

Since: API Level 2.2

public String getDisplayNumber ()

Since: API Level 2.2

public String getDueDate ()

Since: API Level 4.2

public Bundle getExtra ()

public int getFlag ()

Since: API Level 2.2

public int getId ()

Since: API Level 2.2

public String getLocation ()

Since: API Level 2.2

public String getName ()

Since: API Level 2.2

public String getPackageName ()

Since: API Level 2.2

public ComponentName getPhoneComponent ()

Since: API Level 2.2

public Bitmap getPhoto ()

Since: API Level 2.2

public String getSocailState ()

Since: API Level 2.2

public Bitmap getSocialIcon ()

Since: API Level 2.2

public String getTaskName ()

Since: API Level 4.2

public void setBirthdayInfo (String birthday)

Since: API Level 2.2

public void setCallState (int callState)

Since: API Level 2.2

public void setDisplayNumber (String number)

Since: API Level 2.2

public void setDueDate (String duedate)

Since: API Level 4.2

public void setFlag (int flag)

Since: API Level 2.2

public void setId (int id)

Since: API Level 2.2

public void setLocation (String location)

Since: API Level 2.2

public void setName (String name)

Since: API Level 2.2

public void setPhoneComponent (String packageName, String className)

Since: API Level 2.2

public void setPhoto (Bitmap photo)

Since: API Level 2.2

public void setSocailState (String social)

Since: API Level 2.2

public void setSocialIcon (Bitmap icon)

Since: API Level 2.2

public void setTaskName (String taskname)

Since: API Level 4.2

public void writeToParcel (Parcel parcel, int flags)

Since: API Level 2.2