Interface IComposer
  An interface for message container objects.
Assembly: Zenoph.Notify.dll
  Syntax
  
    [ComVisible(true)]
[Guid("615901A6-E6F2-4b08-8D9A-908B943AC30A")]
public interface IComposer
   
  Methods
  
  addDestination(string)
  Adds a phone number to the message destinations list.
Declaration
  
    [ComVisible(false)]
NumberAddInfo addDestination(string phoneNumber)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | phoneNumber | The phone number to be added to the message destinations list | 
    
  
  Returns
  
  
  
  Exceptions
  
    
      
        | Type | Condition | 
    
    
      
        | Exception | Thrown if phoneNumber is invalid or not permitted | 
    
  
  
  addDestination(string, bool)
  Adds a phone number to the message destinations list.
Declaration
  
    [ComVisible(false)]
NumberAddInfo addDestination(string phoneNumber, bool throwEx)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | phoneNumber | The phone number to be added to the message destinations list | 
      
        | bool | throwEx | Exception Control Specifier (ECS) that indicates whether Exception should be
thrown or not when phoneNumberis invalid or not permitted | 
    
  
  Returns
  
  
  addDestination(string, bool, string)
  An interface for message container objects.
Declaration
  
    [ComVisible(false)]
NumberAddInfo addDestination(string phoneNumber, bool throwEx, string messageId)
   
  Parameters
  
  Returns
  
  
  addDestination(string, string)
  An interface for message container objects.
Declaration
  
    [ComVisible(false)]
NumberAddInfo addDestination(string phoneNumber, string messageId)
   
  Parameters
  
  Returns
  
  
  addDestinationEx(string, bool)
  Adds a phone number to the message destinations list.
Declaration
  
    [ComVisible(true)]
NumberAddInfo addDestinationEx(string phoneNumber, bool throwEx = true)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | phoneNumber | The phone number to be added to the message destinations list. | 
      
        | bool | throwEx | Exception Control Specifier (ECS) that indicates whether Exception should be
thrown or not when phoneNumberis invalid or not permitted | 
    
  
  Returns
  
  
  
  
  addDestinationWithId(string, string, bool)
  An interface for message container objects.
Declaration
  
    [ComVisible(true)]
NumberAddInfo addDestinationWithId(string phoneNumber, string messageId, bool throwEx = true)
   
  Parameters
  
  Returns
  
  
  addDestinationsFromCollection(List<string>)
  An interface for message container objects.
Declaration
  
    [ComVisible(false)]
int addDestinationsFromCollection(List<string> phoneNumbers)
   
  Parameters
  
  Returns
  
  
  addDestinationsFromCollection(List<string>, bool)
  An interface for message container objects.
Declaration
  
    [ComVisible(false)]
int addDestinationsFromCollection(List<string> phoneNumbers, bool throwEx)
   
  Parameters
  
  Returns
  
  
  addDestinationsFromCollection(string[])
  An interface for message container objects.
Declaration
  
    [ComVisible(false)]
int addDestinationsFromCollection(string[] phoneNumbers)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string[] | phoneNumbers |  | 
    
  
  Returns
  
  
  addDestinationsFromCollection(string[], bool)
  An interface for message container objects.
Declaration
  
    [ComVisible(false)]
int addDestinationsFromCollection(string[] phoneNumbers, bool throwEx)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string[] | phoneNumbers |  | 
      
        | bool | throwEx |  | 
    
  
  Returns
  
  
  addDestinationsFromCollectionEx(string[], bool)
  An interface for message container objects.
Declaration
  
    [ComVisible(true)]
int addDestinationsFromCollectionEx(string[] phoneNumbers, bool throwEx = false)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string[] | phoneNumbers |  | 
      
        | bool | throwEx |  | 
    
  
  Returns
  
  
  addDestinationsFromTextStream(string)
  Adds phone numbers to the message destinations list from a specified text stream
Declaration
  
    [ComVisible(true)]
int addDestinationsFromTextStream(string str)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | str | The text stream from which phone numbers will be extracted and added
to the message destinations list. | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | int | The count of phone numbers extracted and added to the message destinations list | 
    
  
  Exceptions
  
    
      
        | Type | Condition | 
    
    
      
        | Exception | Thrown if stris null or empty | 
    
  
  
  clearDestinations()
  An interface for message container objects.
Declaration
  
    [ComVisible(true)]
void clearDestinations()
   
  
  destinationExists(string)
  An interface for message container objects.
Declaration
  
    [ComVisible(true)]
bool destinationExists(string phoneNumber)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | phoneNumber |  | 
    
  
  Returns
  
  
  getCategory()
  An interface for message container objects.
Declaration
  
    [ComVisible(true)]
MessageCategory getCategory()
   
  Returns
  
  
  getDefaultDestinationCountry()
  An interface for message container objects.
Declaration
  
    [ComVisible(true)]
string[] getDefaultDestinationCountry()
   
  Returns
  
  
  getDefaultNumberPrefix()
  An interface for message container objects.
Declaration
  
    [ComVisible(true)]
string getDefaultNumberPrefix()
   
  Returns
  
  
  getDefaultTimeZone()
  An interface for message container objects.
Declaration
  
    [ComVisible(true)]
string[] getDefaultTimeZone()
   
  Returns
  
  
  getDestinationCountry(string)
  Gets the country for the specified phone number
Declaration
  
    [ComVisible(true)]
string getDestinationCountry(string phoneNumber)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | phoneNumber |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | string | The country for which phoneNumberapplies. | 
    
  
  
  getDestinationWriteMode(string)
  An interface for message container objects.
Declaration
  
    [ComVisible(true)]
DestinationMode getDestinationWriteMode(string phoneNumber)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | phoneNumber |  | 
    
  
  Returns
  
  
  getDestinationWriteModeById(string)
  An interface for message container objects.
Declaration
  
    [ComVisible(true)]
DestinationMode getDestinationWriteModeById(string messageId)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | messageId |  | 
    
  
  Returns
  
  
  getDestinations()
  An interface for message container objects.
Declaration
  
    [ComVisible(true)]
ComposerDestinationsList getDestinations()
   
  Returns
  
  
  getDestinationsCount()
  An interface for message container objects.
Declaration
  
    [ComVisible(true)]
int getDestinationsCount()
   
  Returns
  
  
  getRouteCountries()
  An interface for message container objects.
Declaration
  
    [ComVisible(false)]
List<string[]> getRouteCountries()
   
  Returns
  
  
  getRouteCountriesEx()
  An interface for message container objects.
Declaration
  
    [ComVisible(true)]
object getRouteCountriesEx()
   
  Returns
  
  
  removeDestination(string)
  An interface for message container objects.
Declaration
  
    [ComVisible(true)]
bool removeDestination(string phoneNumber)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | phoneNumber |  | 
    
  
  Returns
  
  
  removeDestinationById(string)
  An interface for message container objects.
Declaration
  
    [ComVisible(true)]
bool removeDestinationById(string messageId)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | messageId |  | 
    
  
  Returns
  
  
  setDefaultNumberPrefix(string)
  An interface for message container objects.
Declaration
  
    [ComVisible(true)]
void setDefaultNumberPrefix(string dialCode)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | dialCode |  | 
    
  
  
  updateDestination(string, string)
  An interface for message container objects.
Declaration
  
    [ComVisible(true)]
bool updateDestination(string prePhoneNumber, string newPhoneNumber)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | prePhoneNumber |  | 
      
        | string | newPhoneNumber |  | 
    
  
  Returns
  
  
  updateDestinationById(string, string)
  An interface for message container objects.
Declaration
  
    [ComVisible(true)]
bool updateDestinationById(string messageId, string newPhoneNumber)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | messageId |  | 
      
        | string | newPhoneNumber |  | 
    
  
  Returns