Class NSProviderInfo
Information about a provider plugin.
Syntax
Constructors
NSProviderInfo()
Initializes a new instance of the NSProviderInfo class.
Introduced or updated in version: 7.1.1
Declaration
NSProviderInfo
Methods
GetName()
Introduced or updated in version: 7.1.1
Declaration
String GetName()
Returns
Type | Description |
---|---|
String | Unique name of the provider plugin. |
Examples
NSProviderInfo thing;
String name = thing.GetName();
GetSupportedMessagingFormats()
Introduced or updated in version: 7.1.1
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()
Introduced or updated in version: 8.0sr3
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)
Introduced or updated in version: 7.1.1
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[])
Introduced or updated in version: 7.1.1
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)
Introduced or updated in version: 8.0sr3
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);