Class Message

Definition

Namespace:
Tizen.Messaging.Messages
Assembly:
Tizen.Messaging.dll

This class represents all the messages.

C#
Copy
public abstract class Message : IDisposable
Inheritance
object
Message
Derived
Implements
System.IDisposable

Properties

View Source

BoxType

The message box type.

Declaration
C#
Copy
public MessageBoxType BoxType { get; set; }
Property Value
Type Description
MessageBoxType
View Source

From

Indicates the sender of the message.

Declaration
C#
Copy
public IReadOnlyCollection<MessagesAddress> From { get; }
Property Value
Type Description
System.Collections.Generic.IReadOnlyCollection<T><MessagesAddress>
View Source

Id

The message ID.

Declaration
C#
Copy
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.

View Source

Port

The destination port of the message.

Declaration
C#
Copy
public int Port { get; }
Property Value
Type Description
int
View Source

SimId

The SIM slot index of the message.

Declaration
C#
Copy
public SimSlotId SimId { get; set; }
Property Value
Type Description
SimSlotId
View Source

Text

The text of the message.

Declaration
C#
Copy
public string Text { get; set; }
Property Value
Type Description
string
View Source

Time

The time of the message.

Declaration
C#
Copy
public DateTime Time { get; set; }
Property Value
Type Description
System.DateTime

Methods

View Source

Dispose()

Releases all resources used by the Message.

Declaration
C#
Copy
public void Dispose()
View Source

~Message()

Destructor

Declaration
C#
Copy
protected ~Message()

Implements

System.IDisposable