Class MessagesManager

    Definition

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

    This class is used for the message management. It allows applications to use the message service.

    public static class MessagesManager
    Inheritance
    object
    MessagesManager

    Methods

    View Source

    SearchMessageAsync(MessagesSearchFilter)

    Searches for messages.

    Declaration
    public static Task<IEnumerable<Message>> SearchMessageAsync(MessagesSearchFilter filter)
    Parameters
    Type Name Description
    MessagesSearchFilter filter

    The search filter for searching messages.

    Returns
    Type Description
    Task<><IEnumerable<><Message>>

    A task containing the messages, which match the search filter.

    View Source

    SendMessageAsync(Message, bool)

    Sends a message.

    Declaration
    public static Task<SentResult> SendMessageAsync(Message message, bool saveToSentbox)
    Parameters
    Type Name Description
    Message message

    The message to be sent.

    bool saveToSentbox

    The boolean variable used to indicate whether the sent message should be saved in the sentbox or not.

    Returns
    Type Description
    Task<><SentResult>

    A task containing the result of message sending.

    Events

    View Source

    MessageReceived

    The MessageReceived event that is raised when receiving a message.

    Declaration
    public static event EventHandler<MessageReceivedEventArgs> MessageReceived
    Event Type
    Type Description
    EventHandler<><MessageReceivedEventArgs>
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX