Class Message
Definition
- Assembly:
- Tizen.Messaging.dll
This class represents all the messages.
public abstract class Message : IDisposable
- Inheritance
-
objectMessage
- Derived
- Implements
-
System.IDisposable
Properties
View SourceBoxType
The message box type.
Declaration
public MessageBoxType BoxType { get; set; }
Property Value
Type | Description |
---|---|
MessageBoxType |
From
Indicates the sender of the message.
Declaration
public IReadOnlyCollection<MessagesAddress> From { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyCollection<T><MessagesAddress> |
Id
The message ID.
Declaration
public int Id { get; }
Property Value
Type | Description |
---|---|
int |
Remarks
After creating the Message object, the default value of this property is 0. After sending, this value is changed.
Port
The destination port of the message.
Declaration
public int Port { get; }
Property Value
Type | Description |
---|---|
int |
SimId
The SIM slot index of the message.
Declaration
public SimSlotId SimId { get; set; }
Property Value
Type | Description |
---|---|
SimSlotId |
Text
The text of the message.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
string |
Time
The time of the message.
Declaration
public DateTime Time { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Methods
View SourceDispose()
Releases all resources used by the Message.
Declaration
public void Dispose()
~Message()
Destructor
Declaration
protected ~Message()
Implements
System.IDisposable