|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rim.blackberry.api.phone.phonelogs.CallLog
net.rim.blackberry.api.phone.phonelogs.ConferencePhoneCallLog
public final class ConferencePhoneCallLog
A log object for a conference call (a call with two or more participants).
Unlike a simple PhoneCallLog
, you can add or remove participants
from a conference phone-call log as long as there are always at least two
other participants involved in the call.
You cannot set a type for a conference phone-call log can with a simple phone-call log, because a conference call should always appear as such in the message list.
Field Summary |
---|
Constructor Summary | ||
---|---|---|
|
ConferencePhoneCallLog(Date date,
int callDuration,
int callStatus,
PhoneCallLogID caller1,
PhoneCallLogID caller2,
String notes)
Creates a new ConferencePhoneCallLog instance. |
Method Summary | ||
---|---|---|
|
void |
addParticipant(PhoneCallLogID participant)
Adds a participant to this call. |
|
PhoneCallLogID |
getParticipantAt(int index)
Retrieves participant in call by index. |
|
int |
numberOfParticipants()
Retrieves the number of participants in this conference call. |
|
void |
removeParticipantAt(int index)
Removes participant by index. |
|
void |
setParticipantAt(int index,
PhoneCallLogID participant)
Sets participant in call at index. |
Methods inherited from class net.rim.blackberry.api.phone.phonelogs.CallLog |
---|
getDate, getDuration, getNotes, getStatus, setDate, setDuration, setNotes, setStatus |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConferencePhoneCallLog(Date date, int callDuration, int callStatus, PhoneCallLogID caller1, PhoneCallLogID caller2, String notes)
date
- Date for the call.callDuration
- Duration of the call in seconds.callStatus
- Status of the call; one of the STATUS_* values
inherited from CallLog
.caller1
- First participant of the conference call.caller2
- Second participant of the conference call.notes
- Notes associated with the call.Method Detail |
---|
public PhoneCallLogID getParticipantAt(int index)
index
- Index of the participant to retrieve, from 0 to
(ConferencePhoneCallLog.numberOfParticipants()
-1).
public void setParticipantAt(int index, PhoneCallLogID participant)
index
- Index of the participant to change.participant
- New participant for the call.public void addParticipant(PhoneCallLogID participant)
This method appends the new participant to the end of the existing list of participants.
participant
- New participant to add to this call.public void removeParticipantAt(int index)
This method only removes the participant if there are already more than two participants in the call log (otherwise the call would not be a conference call).
index
- Index for the participant to remove, from 0 to
(ConferencePhoneCallLog.numberOfParticipants()
- 1).public int numberOfParticipants()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.