 | MmsClient.SendMmsMessageAsync Method |
Starts an asynchronous operation to send an MMS message.
Namespace: Eclo.NETMF.SIM800HAssembly: Eclo.NETMF.SIM800H (in Eclo.NETMF.SIM800H.dll) Version: 1.1.97.0 (1.1.97.0)
Syntaxpublic SendMmsMessageAsyncResult SendMmsMessageAsync(
string destination,
MmsMessage msg,
bool closeConnectionOnCompletion = true,
AsyncCallback asyncCallback = null,
Object asyncState = null
)
Parameters
- destination
- Type: System.String
Destination phone number or email. Numbers and normal chars only, no spaces, punctuation or other special chars accepted.
Phone number MUST ALWAYS include the country code preceded with international prefix '+' or '00'.
Email in valid format. - msg
- Type: Eclo.NETMF.SIM800H.MmsMessage
MMS message object - closeConnectionOnCompletion (Optional)
- Type: System.Boolean
Option to close the connection when the MMS message is sent, optional with true as default - asyncCallback (Optional)
- Type: System.AsyncCallback
The callback to be invoked upon completion, optional - asyncState (Optional)
- Type: System.Object
The state object to be stored against the SendMmsMessageAsyncResult, optional.
Return Value
Type:
SendMmsMessageAsyncResultThe SendMmsMessageAsyncResult with a
See Also