AT&T API Platform SDK for Microsoft®  2.3.2
Wrapper classes that allow developers to build robust applications using .NET
 All Classes Namespaces Functions Enumerations Properties
MMS Methods

Classes

class  ATT_MSSDK.RequestFactory
 The RequestFactory manages the connections and calls to the AT&T API Platform. More...

Functions

MmsResponse ATT_MSSDK.RequestFactory.SendMms (string address, string message, MmsPriority priority=MmsPriority.Normal, bool?notifyDeliveryStatus=null)
 Send an MMS message to the specified address, without attachment.
MmsResponse ATT_MSSDK.RequestFactory.SendMms (string address, string message, List< string > attachments, MmsPriority priority=MmsPriority.Normal, long size=600, bool?notifyDeliveryStatus=null)
 Send an MMS message to the specified address.
MmsResponse ATT_MSSDK.RequestFactory.SendMms (List< string > addresses, string message, MmsPriority priority=MmsPriority.Normal, bool?notifyDeliveryStatus=null)
 Send an MMS message to the specified addresses.
MmsResponse ATT_MSSDK.RequestFactory.SendMms (List< string > addresses, string message, List< string > attachments, MmsPriority priority=MmsPriority.Normal, long size=600, bool?notifyDeliveryStatus=null)
 Send an MMS message to the specified addresses.
MmsDeliveryResponse ATT_MSSDK.RequestFactory.GetMmsDeliveryResponse (string deliveryId)
 Gets the MmsDeliveryResponse for the specified deliveryId.
static InboundMmsMessage ATT_MSSDK.RequestFactory.GetMms (System.IO.Stream stream, string directoryToSaveImage)
 Get MMS message from the specified input stream. This method can be used in the listener(Url listening to the MMS MO from AT&T Platform) to retrieve MMS Content from the input stream.
static MmsDeliveryStatus ATT_MSSDK.RequestFactory.GetMMSDeliveryStatus (System.IO.Stream inputStream)
 Parses given stream and returns ATT_MSSDK.MMSv3.MmsDeliveryStatus object.

Function Documentation

static InboundMmsMessage ATT_MSSDK.RequestFactory.GetMms ( System.IO.Stream  stream,
string  directoryToSaveImage 
) [static]

Get MMS message from the specified input stream. This method can be used in the listener(Url listening to the MMS MO from AT&T Platform) to retrieve MMS Content from the input stream.

Parameters:
streaminput stream
directoryToSaveImagedirectory path where received image is stored
Returns:
ATT_MSSDK.MMSv3.InboundMmsMessage object containing the results.
MmsDeliveryResponse ATT_MSSDK.RequestFactory.GetMmsDeliveryResponse ( string  deliveryId)

Gets the MmsDeliveryResponse for the specified deliveryId.

Parameters:
deliveryIdA value returned from a previous SendMms call.
Returns:
The MmsDeliveryResponse returned by the server.
Exceptions:
ArgumentExceptionThrown if an argument is invalid.
InvalidScopeExceptionThrown if the Request Factory scope does not include MMS.
InvalidResponseExceptionThrown if the server returns an error or there is a connection failure.
static MmsDeliveryStatus ATT_MSSDK.RequestFactory.GetMMSDeliveryStatus ( System.IO.Stream  inputStream) [static]

Parses given stream and returns ATT_MSSDK.MMSv3.MmsDeliveryStatus object.

Parameters:
inputStreaminput stream
Returns:
The ATT_MSSDK.MMSv3.MmsDeliveryStatus object.
Exceptions:
System.ArgumentNullExceptionThrown when inputStream is null
InvalidResponseExceptionThrown when unable to parse given stream
MmsResponse ATT_MSSDK.RequestFactory.SendMms ( string  address,
string  message,
MmsPriority  priority = MmsPriority.Normal,
bool?  notifyDeliveryStatus = null 
)

Send an MMS message to the specified address, without attachment.

Parameters:
addressMobile destination number.
messageThe message to send.
priorityThe priority of the messsage, default is Normal
notifyDeliveryStatusIt is a Boolean flag that could contain either “True” or “False” (case insensitive) to denote the gateway whether delivery status notification is expected by the application or not.
Returns:
ATT_MSSDK.MMSv3.MmsResponse object containing the results.
MmsResponse ATT_MSSDK.RequestFactory.SendMms ( string  address,
string  message,
List< string >  attachments,
MmsPriority  priority = MmsPriority.Normal,
long  size = 600,
bool?  notifyDeliveryStatus = null 
)

Send an MMS message to the specified address.

Parameters:
addressMobile destination number.
messageThe message to send.
attachmentsList of attachments (path)
priorityPriority of the message
sizemaximum size of attachment
notifyDeliveryStatusIt is a boolean flag that could contain either “True” or “False” (case insensitive) to denote the gateway whether delivery status notification is expected by the application or not.
Returns:
ATT_MSSDK.MMSv3.MmsResponse object containing the results.
MmsResponse ATT_MSSDK.RequestFactory.SendMms ( List< string >  addresses,
string  message,
MmsPriority  priority = MmsPriority.Normal,
bool?  notifyDeliveryStatus = null 
)

Send an MMS message to the specified addresses.

Parameters:
addressesList of mobile destination numbers.
messageThe message to send.
priorityThe priority of the messsage, default is Normal
notifyDeliveryStatusIt is a boolean flag that could contain either “True” or “False” (case insensitive) to denote the gateway whether delivery status notification is expected by the application or not.
Returns:
ATT_MSSDK.MMSv3.MmsResponse object containing the results.
MmsResponse ATT_MSSDK.RequestFactory.SendMms ( List< string >  addresses,
string  message,
List< string >  attachments,
MmsPriority  priority = MmsPriority.Normal,
long  size = 600,
bool?  notifyDeliveryStatus = null 
)

Send an MMS message to the specified addresses.

Parameters:
addressesList of mobile destination numbers.
messageThe message to send.
attachmentsList of attachments
prioritypriority of the message
sizemaximum size of the message
notifyDeliveryStatusIt is a boolean flag that could contain either “True” or “False” (case insensitive) to denote the gateway whether delivery status notification is expected by the application or not.
Returns:
ATT_MSSDK.MMSv3.MmsResponse object containing the results.
Exceptions:
ArgumentExceptionThrown if an argument is invalid.