Class NSProviderInfo

Information about a provider plugin.

Constructors

NSProviderInfo()

Initializes a new instance of the NSProviderInfo class.

Declaration

NSProviderInfo

Methods

GetName()

Declaration

String GetName()

Examples

NSProviderInfo thing;
String name = thing.GetName();

Returns

Type Description
String Unique name of the provider plugin.

GetSupportedMessagingFormats()

Declaration

String[] GetSupportedMessagingFormats()

Examples

NSProviderInfo thing;
String[] supportedMessagingFormats = thing.GetSupportedMessagingFormats();

Returns

Type Description
String[] This value can typically be "sms/160", "sms/mms", "smtp/rfc822"

GetSupportsConfig()

Declaration

Bool GetSupportsConfig()

Examples

NSProviderInfo thing;
Bool supportsConfig = thing.GetSupportsConfig();

Returns

Type Description
Bool True if it supports the config parameters to the sending methods.

SetName(String)

Declaration

Void SetName(String name)

Examples

NSProviderInfo thing;
String name;
thing.SetName(name);

Parameters

Type Name Description
String name Unique name of the provider plugin.

Returns

Type Description
Void

SetSupportedMessagingFormats(String[])

Declaration

Void SetSupportedMessagingFormats(String[] supportedMessagingFormats)

Examples

NSProviderInfo thing;
String[] supportedMessagingFormats;
thing.SetSupportedMessagingFormats(supportedMessagingFormats);

Parameters

Type Name Description
String[] supportedMessagingFormats This value can typically be "sms/160", "sms/mms", "smtp/rfc822"

Returns

Type Description
Void

SetSupportsConfig(Bool)

Declaration

Void SetSupportsConfig(Bool supportsConfig)

Examples

NSProviderInfo thing;
Bool supportsConfig;
thing.SetSupportsConfig(supportsConfig);

Parameters

Type Name Description
Bool supportsConfig True if it supports the config parameters to the sending methods.

Returns

Type Description
Void