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.

    [Obsolete("Deprecated since API11. Might be removed in API13.")]
    public static class MessagesManager
    Inheritance
    object
    MessagesManager

    Methods

    View Source

    SearchMessageAsync(MessagesSearchFilter)

    Searches for messages.

    Declaration
    [Obsolete("Deprecated since API11. Might be removed in API13.")]
    public static Task<IEnumerable<Message>> SearchMessageAsync(MessagesSearchFilter filter)
    Parameters
    Type Name Description
    MessagesSearchFilter filter

    The search filter for searching messages.

    Returns
    Type Description
    System.Threading.Tasks.Task<TResult><System.Collections.Generic.IEnumerable<T><Message>>

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

    Exceptions
    Type Condition
    System.InvalidOperationException

    Thrown when the method failed due to an invalid operation.

    System.NotSupportedException

    Thrown when the message service is not supported.

    System.ArgumentException

    Thrown when input coordinates are invalid.

    System.OutOfMemoryException

    Thrown when failed due to out of memory.

    System.UnauthorizedAccessException

    Thrown when an application does not have proper privileges.

    View Source

    SendMessageAsync(Message, bool)

    Sends a message.

    Declaration
    [Obsolete("Deprecated since API11. Might be removed in API13.")]
    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
    System.Threading.Tasks.Task<TResult><SentResult>

    A task containing the result of message sending.

    Exceptions
    Type Condition
    System.InvalidOperationException

    Thrown when the method failed due to an invalid operation.

    System.NotSupportedException

    Thrown when the message service is not supported.

    System.ArgumentException

    Thrown when input coordinates are invalid.

    System.UnauthorizedAccessException

    Thrown when an application does not have proper privileges.

    Events

    View Source

    MessageReceived

    The MessageReceived event that is raised when receiving a message.

    Declaration
    [Obsolete("Deprecated since API11. Might be removed in API13.")]
    public static event EventHandler<MessageReceivedEventArgs> MessageReceived
    Event Type
    Type Description
    System.EventHandler<TEventArgs><MessageReceivedEventArgs>
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX