com.konylabs.sky.lua
Class KonySkySyncAdaptor
java.lang.Object
com.konylabs.sky.lua.KonySkySyncAdaptor
- All Implemented Interfaces:
- SkySyncObserver
public class KonySkySyncAdaptor
- extends java.lang.Object
- implements SkySyncObserver
This class adapts the Lua Types to native SDK types before calling the SkySync API and vice-versa.
- Author:
- Prajakt
Method Summary |
com.konylabs.vm.Function |
getLuaObserver()
|
void |
notifyEvent(java.lang.String eventCode,
java.util.Hashtable arguments)
This method provides a general-purpose interface for transmission of
callback notifications. |
void |
setLuaObserver(com.konylabs.vm.Function luaObserver)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KonySkySyncAdaptor
public KonySkySyncAdaptor()
getLuaObserver
public com.konylabs.vm.Function getLuaObserver()
setLuaObserver
public void setLuaObserver(com.konylabs.vm.Function luaObserver)
notifyEvent
public void notifyEvent(java.lang.String eventCode,
java.util.Hashtable arguments)
- Description copied from interface:
SkySyncObserver
- This method provides a general-purpose interface for transmission of
callback notifications.
iOS Method Signature:
+ (void)notifyEvent$JavaLangString:(NSString *)eventCode
$JavaUtilHashtable:(NSMutableDictionary *)arguments
- Specified by:
notifyEvent
in interface SkySyncObserver
- Parameters:
eventCode
- A string code that indicates the nature of the event
notification.arguments
- A list of arguments associated with the event
notification; may be null, which indicates that no further information
is available for the given event.