public class MessagingBridge extends BasePIMBridge implements IMessaging, APIBridge
apiGroup| Constructor and Description |
|---|
MessagingBridge(IMessaging delegate)
Constructor with delegate.
|
| Modifier and Type | Method and Description |
|---|---|
IMessaging |
getDelegate()
Get the delegate implementation.
|
APIResponse |
invoke(APIRequest request)
Invokes the given method specified in the API request object.
|
void |
sendSMS(java.lang.String number,
java.lang.String text,
IMessagingCallback callback)
Send text SMS
|
void |
setDelegate(IMessaging delegate)
Set the delegate implementation.
|
getAPIGroup, getAPIVersion, getJSONParserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAPIGroup, getAPIVersionpublic MessagingBridge(IMessaging delegate)
delegate - The delegate implementing platform specific functions.public final IMessaging getDelegate()
public final void setDelegate(IMessaging delegate)
delegate - The delegate implementing platform specific functions.public void sendSMS(java.lang.String number,
java.lang.String text,
IMessagingCallback callback)
sendSMS in interface IMessagingnumber - to sendtext - to sendcallback - with the resultpublic APIResponse invoke(APIRequest request)
invoke in interface APIBridgeinvoke in class BasePIMBridgerequest - APIRequest object containing method name and parameters.