com.motorola.iden.recentcalls
Class RecentCallsEntry

java.lang.Object
  |
  +--com.motorola.iden.recentcalls.RecentCallsEntry

public class RecentCallsEntry
extends java.lang.Object


Field Summary
static int CALL_TYPE_INCOMING
           
static int CALL_TYPE_MISSED
           
static int CALL_TYPE_NO_STATUS
           
static int CALL_TYPE_OUTGOING
           
static int SERVICE_CALL_TYPE_CALLALERT
           
static int SERVICE_CALL_TYPE_INVALID
           
static int SERVICE_CALL_TYPE_PHONE
           
static int SERVICE_CALL_TYPE_PRIVATE
           
static int SERVICE_CALL_TYPE_TALKGROUP
           
 
Constructor Summary
RecentCallsEntry()
          The default constructor for RecentCallsEntry class
RecentCallsEntry(java.lang.String myNumber, int myServiceCallType, int myCallType, int myMinute, int myHour, int myDay, int myMonth, int myDuration)
          The constructor for RecentCallsEntry class
 
Method Summary
 int getCallType()
          To Retrive the call Type of entry in RCL
 int getDay()
          This is a java API to retrive the day in which the call was made
 int getDuration()
          To retrive the duration of call from RCL.
 int getHour()
          To Retrive the Hour of call from RCL.
 int getMinute()
          To Retrive the minute of call from RCL
 int getMonth()
          This is a java API to retrive the month in which the call was made
 java.lang.String getPhoneNumber()
          To retrive the phone number of the entry from RCL
 int getServiceCallType()
          To Retrive the service call type of an entry in RCL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CALL_TYPE_INCOMING

public static final int CALL_TYPE_INCOMING

CALL_TYPE_OUTGOING

public static final int CALL_TYPE_OUTGOING

CALL_TYPE_MISSED

public static final int CALL_TYPE_MISSED

CALL_TYPE_NO_STATUS

public static final int CALL_TYPE_NO_STATUS

SERVICE_CALL_TYPE_PHONE

public static final int SERVICE_CALL_TYPE_PHONE

SERVICE_CALL_TYPE_PRIVATE

public static final int SERVICE_CALL_TYPE_PRIVATE

SERVICE_CALL_TYPE_TALKGROUP

public static final int SERVICE_CALL_TYPE_TALKGROUP

SERVICE_CALL_TYPE_CALLALERT

public static final int SERVICE_CALL_TYPE_CALLALERT

SERVICE_CALL_TYPE_INVALID

public static final int SERVICE_CALL_TYPE_INVALID
Constructor Detail

RecentCallsEntry

public RecentCallsEntry()
The default constructor for RecentCallsEntry class


RecentCallsEntry

public RecentCallsEntry(java.lang.String myNumber,
                        int myServiceCallType,
                        int myCallType,
                        int myMinute,
                        int myHour,
                        int myDay,
                        int myMonth,
                        int myDuration)
The constructor for RecentCallsEntry class

Method Detail

getServiceCallType

public int getServiceCallType()
To Retrive the service call type of an entry in RCL

Returns:
ServiceCallType SERVICE_CALL_TYPE_PHONE, SERVICE_CALL_TYPE_PRIVATE, SERVICE_CALL_TYPE_TALKGROUP, SERVICE_CALL_TYPE_CALLALERT

getCallType

public int getCallType()
To Retrive the call Type of entry in RCL

Returns:
CallType CALL_TYPE_INCOMING , CALL_TYPE_OUTGOING, CALL_TYPE_MISSED

getPhoneNumber

public java.lang.String getPhoneNumber()
To retrive the phone number of the entry from RCL

Returns:
Phone number of the Entry

getDuration

public int getDuration()
To retrive the duration of call from RCL.

Returns:
duration of call in seconds

getMinute

public int getMinute()
To Retrive the minute of call from RCL

Method/constructor extra info

Returns:
The minute in which the call was made

getHour

public int getHour()
To Retrive the Hour of call from RCL.

Returns:
The hour in which the call was made. The hour returned will be in 24hr format

getDay

public int getDay()
This is a java API to retrive the day in which the call was made

Returns:
The day in which the call was made. The format of the return value will be 1, 2, 3, ..., 31. The maximum value will depend on the month in which the call was made

getMonth

public int getMonth()
This is a java API to retrive the month in which the call was made

Returns:
the month in which the call was made. The format of the return value will be 1, 2, 3, ..., 12