Retrieves an entry in a call log or a dialing directory.
To |
Use |
---|---|
Retrieve an entry in a call log |
|
Retrieve an entry in a dialing directory |
Retrieves a call log entry based on an index value.
CallLog objects
objectname.GetEntry ( index )
Argument |
Description |
---|---|
objectname |
The name of the call log from which you want to retrieve an entry. |
index |
An integer that specifies the entry you want to retrieve. Index values are typically in reverse chronological order, such that a value of “1” corresponds to the latest entry. |
A CallLogEntry structure. GetEntry returns a null object when the argument does not correspond to an actual index value.
These statements get the latest entry in the l_myCallLog call log:
Integer l_idx = 1
CallLogEntry l_mylogentry
l_mylogentry = l_mycalllog.getEntry (l_idx)
Retrieves a dialing directory entry based on an index value and location.
DialingDirectory objects
objectname.GetEntry ( index )
Argument |
Description |
---|---|
objectname |
The name of the dialing directory from which you want to retrieve an entry. |
index |
An integer that specifies the entry you want to retrieve. |
A DialingDirectoryEntry structure. GetEntry returns a null object when the argument does not correspond to an actual index value.
The following statements call the getEntry function on the l_myphonebook DialingDirectory object to return a DialingDirectoryEntry object:
Integer l_idx = 1
DialingDirectoryEntry l_mydirectoryentry
l_mydirectoryentry = l_myphonebook.getEntry (l_idx)