Show / Hide Table of Contents

    Class TextMessage

    Class with text message (SMS) properties and content.

    Inheritance
    System.Object
    TextMessage
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Eclo.nF.SIM800H
    Assembly: cs.temp.dll.dll
    Syntax
    public class TextMessage

    Constructors

    TextMessage()

    Instantiates a new SMS with empty number, and content, marks it as unsent and with the current time as the timestamp.

    Declaration
    public TextMessage()

    TextMessage(String, String, MessageState, DateTime)

    Instantiates a new SMS message with the given parameters.

    Declaration
    public TextMessage(string number, string text, MessageState state, DateTime timestamp)
    Parameters
    Type Name Description
    System.String number

    Number

    System.String text

    Message content

    MessageState state

    MessageState

    System.DateTime timestamp

    Time stamp of message

    Fields

    Status

    Status of the message

    Declaration
    public MessageState Status
    Field Value
    Type Description
    MessageState

    TelephoneNumber

    Number

    Declaration
    public string TelephoneNumber
    Field Value
    Type Description
    System.String

    Text

    Message content

    Declaration
    public string Text
    Field Value
    Type Description
    System.String

    Timestamp

    Date and time when the message was sent or received

    Declaration
    public DateTime Timestamp
    Field Value
    Type Description
    System.DateTime

    Properties

    Index

    Index of the message in the SIM card's memory

    Declaration
    public int Index { get; }
    Property Value
    Type Description
    System.Int32
    Back to top Copyright © 2018 Eclo Solutions
    Generated by DocFX