The getObjectService Method gets the current instance of the object service. The getObjectService method is invoked on the sdk instance; init must already have been successfully run before invoking this method.
getObjectService(serviceName,{serviceType});
            | Parameter | Type | Description | 
|---|---|---|
| serviceName | string | Name of the object service | 
| serviceType | JSON object | 
                             One of the following: 
  | 
                    
Returns the object service instance based on the value specified in serviceType. The default value is "online", which returns an OnlineObjectService Class instance. A value of "offline" returns an OfflineObjectService Class instance.
| Copyright © 2020 Kony, Inc. All rights reserved. |