Class MmsClient
Class with methods to perform MMS related actions.
Inheritance
System.Object
MmsClient
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Eclo.nF.SIM800H
Assembly: cs.temp.dll.dll
Syntax
public class MmsClient : IDisposable
Methods
Dispose()
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Finalize()
Declaration
protected void Finalize()
SendMmsMessageAsync(String, MmsMessage, Boolean, AsyncCallback, Object)
Starts an asynchronous operation to send an MMS message.
Declaration
public SendMmsMessageAsyncResult SendMmsMessageAsync(string destination, MmsMessage msg, bool closeConnectionOnCompletion = true, AsyncCallback asyncCallback = null, object asyncState = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | destination | 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. |
MmsMessage | msg | MMS message object |
System.Boolean | closeConnectionOnCompletion | Option to close the connection when the MMS message is sent, optional with true as default |
System.AsyncCallback | asyncCallback | The callback to be invoked upon completion, optional |
System.Object | asyncState | The state object to be stored against the SendMmsMessageAsyncResult, optional. |
Returns
Type | Description |
---|---|
SendMmsMessageAsyncResult | The SendMmsMessageAsyncResult with a |
Implements
System.IDisposable