Class NSProviderInfo
Information about a provider plugin.
Syntax
Constructors
NSProviderInfo()
Initializes a new instance of the NSProviderInfo class.
Declaration
NSProviderInfo
Methods
GetName()
Information about a provider plugin.
Declaration
String GetName()
Returns
Type | Description |
---|---|
String | Unique name of the provider plugin. |
Examples
NSProviderInfo thing;
String name = thing.GetName();
GetSupportedMessagingFormats()
Information about a provider plugin.
Declaration
String[] GetSupportedMessagingFormats()
Returns
Type | Description |
---|---|
String[] | This value can typically be "sms/160", "sms/mms", "smtp/rfc822" |
Examples
NSProviderInfo thing;
String[] supportedMessagingFormats = thing.GetSupportedMessagingFormats();
GetSupportsConfig()
Information about a provider plugin.
Declaration
Bool GetSupportsConfig()
Returns
Type | Description |
---|---|
Bool | True if it supports the config parameters to the sending methods. |
Examples
NSProviderInfo thing;
Bool supportsConfig = thing.GetSupportsConfig();
SetName(String)
Information about a provider plugin.
Declaration
Void SetName(String name)
Parameters
Type | Name | Description |
---|---|---|
String | name | Unique name of the provider plugin. |
Returns
Type | Description |
---|---|
Void |
Examples
NSProviderInfo thing;
String name;
thing.SetName(name);
SetSupportedMessagingFormats(String[])
Information about a provider plugin.
Declaration
Void SetSupportedMessagingFormats(String[] supportedMessagingFormats)
Parameters
Type | Name | Description |
---|---|---|
String[] | supportedMessagingFormats | This value can typically be "sms/160", "sms/mms", "smtp/rfc822" |
Returns
Type | Description |
---|---|
Void |
Examples
NSProviderInfo thing;
String[] supportedMessagingFormats;
thing.SetSupportedMessagingFormats(supportedMessagingFormats);
SetSupportsConfig(Bool)
Information about a provider plugin.
Declaration
Void SetSupportsConfig(Bool supportsConfig)
Parameters
Type | Name | Description |
---|---|---|
Bool | supportsConfig | True if it supports the config parameters to the sending methods. |
Returns
Type | Description |
---|---|
Void |
Examples
NSProviderInfo thing;
Bool supportsConfig;
thing.SetSupportsConfig(supportsConfig);