Package org.linphone.core
Interface MessageWaitingIndication
public interface MessageWaitingIndication
Object representing a Message Waiting Indication.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionclone()
Instantiate a new message waiting indication with values from source.Get the address of the message account concerned by this message waiting
indication.long
Gets the native pointer used by this class to make native method calls.Get the message waiting indication summaries.getSummary
(MessageWaitingIndication.ContextClass contextClass) Get the message waiting indication summary for a given context class.Gets the object stored in this object user's databoolean
Tells whether there are messages waiting or not.void
setAccountAddress
(Address address) Set the address of the message account concerned by this message waiting
indication.void
setUserData
(Object data) Sets the object to store in this object user's datatoString()
-
Method Details
-
getAccountAddress
Get the address of the message account concerned by this message waiting
indication.
- Returns:
- The address of the message account concerned by this message waiting
indication.
-
setAccountAddress
Set the address of the message account concerned by this message waiting
indication.
- Parameters:
address
- The address of the message account concerned by this message
waiting indication.
-
getSummaries
Get the message waiting indication summaries.
- Returns:
- The message waiting indication summaries.
-
clone
Instantiate a new message waiting indication with values from source.
- Returns:
- The newly created
MessageWaitingIndication
object.
-
getSummary
@Nullable MessageWaitingIndicationSummary getSummary(MessageWaitingIndication.ContextClass contextClass) Get the message waiting indication summary for a given context class.
- Parameters:
contextClass
- theMessageWaitingIndication.ContextClass
for which we want to get the
summary.- Returns:
- The
MessageWaitingIndicationSummary
for the given context
class.
-
hasMessageWaiting
boolean hasMessageWaiting()Tells whether there are messages waiting or not.
- Returns:
- true if there are waiting messages, false otherwise.
-
toContent
- Returns:
- The
Content
to put in a NOTIFY message.
-
setUserData
Sets the object to store in this object user's data- Parameters:
data
- the object to store
-
getUserData
Object getUserData()Gets the object stored in this object user's data- Returns:
- the object store if any, null otherwise
-
getNativePointer
long getNativePointer()Gets the native pointer used by this class to make native method calls.- Returns:
- the nativer pointer, as long
-
toString
String toString()
-