Class NSIncomingMessage

Details about a message to be sent.

Constructors

NSIncomingMessage()

Initializes a new instance of the NSIncomingMessage class.

Declaration

NSIncomingMessage

Methods

GetContent()

Declaration

String GetContent()

Examples

NSIncomingMessage thing;
String content = thing.GetContent();

Returns

Type Description
String Content, or body, of the message.

GetFormat()

Declaration

String GetFormat()

Examples

NSIncomingMessage thing;
String format = thing.GetFormat();

Returns

Type Description
String Format of the content.

GetFrom()

Declaration

String GetFrom()

Examples

NSIncomingMessage thing;
String from = thing.GetFrom();

Returns

Type Description
String Who the message is from. This can vary from provider to provider and can for SMS typically be a phone number or a string. This is mail address on the form of an e-mail.

GetPlugin()

Declaration

String GetPlugin()

Examples

NSIncomingMessage thing;
String plugin = thing.GetPlugin();

Returns

Type Description
String Name of plugin.

GetSessionKey()

Declaration

String GetSessionKey()

Examples

NSIncomingMessage thing;
String sessionKey = thing.GetSessionKey();

Returns

Type Description
String Session key used for threading.

GetTo()

Declaration

String GetTo()

Examples

NSIncomingMessage thing;
String to = thing.GetTo();

Returns

Type Description
String Address of the recipient. This can be in the form of phone number or email.

SetContent(String)

Declaration

Void SetContent(String content)

Examples

NSIncomingMessage thing;
String content;
thing.SetContent(content);

Parameters

Type Name Description
String content Content, or body, of the message.

Returns

Type Description
Void

SetFormat(String)

Declaration

Void SetFormat(String format)

Examples

NSIncomingMessage thing;
String format;
thing.SetFormat(format);

Parameters

Type Name Description
String format Format of the content.

Returns

Type Description
Void

SetFrom(String)

Declaration

Void SetFrom(String from)

Examples

NSIncomingMessage thing;
String from;
thing.SetFrom(from);

Parameters

Type Name Description
String from Who the message is from. This can vary from provider to provider and can for SMS typically be a phone number or a string. This is mail address on the form of an e-mail.

Returns

Type Description
Void

SetPlugin(String)

Declaration

Void SetPlugin(String plugin)

Examples

NSIncomingMessage thing;
String plugin;
thing.SetPlugin(plugin);

Parameters

Type Name Description
String plugin Name of plugin.

Returns

Type Description
Void

SetSessionKey(String)

Declaration

Void SetSessionKey(String sessionKey)

Examples

NSIncomingMessage thing;
String sessionKey;
thing.SetSessionKey(sessionKey);

Parameters

Type Name Description
String sessionKey Session key used for threading.

Returns

Type Description
Void

SetTo(String)

Declaration

Void SetTo(String to)

Examples

NSIncomingMessage thing;
String to;
thing.SetTo(to);

Parameters

Type Name Description
String to Address of the recipient. This can be in the form of phone number or email.

Returns

Type Description
Void