Class Message

Definition

Namespace:
Tizen.Messaging.Messages
Assembly:
Tizen.Messaging.dll
API Level:
3

This class represents all the messages.

C#
Copy
public abstract class Message : IDisposable
Inheritance
System.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
API Level: 3
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<MessagesAddress>
API Level: 3
View Source

Id

The message ID.

Declaration
C#
Copy
public int Id { get; }
Property Value
Type Description
Int32
Remarks

After creating the Message object, the default value of this property is 0. After sending, this value is changed.

API Level: 3
View Source

Port

The destination port of the message.

Declaration
C#
Copy
public int Port { get; }
Property Value
Type Description
Int32
API Level: 3
View Source

SimId

The SIM slot index of the message.

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

Text

The text of the message.

Declaration
C#
Copy
public string Text { get; set; }
Property Value
Type Description
System.String
API Level: 3
View Source

Time

The time of the message.

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

Methods

View Source

Dispose()

Releases all resources used by the Message.

Declaration
C#
Copy
public void Dispose()
API Level: 3
View Source

Finalize()

Destructor

Declaration
C#
Copy
protected void Finalize()

Implements

System.IDisposable