new sdk()
Constructor for creating the kony client instance.
- Source:
Methods
-
getIdentityService(providerName) → {IdentityService}
-
Method to create the Identity service instance with the provided provider name.
Parameters:
Name Type Description providerNamestring Name of the provider - Source:
Returns:
Identity service instance- Type
- IdentityService
-
getIntegrationService(serviceName) → {IntegrationService}
-
Method to create the integration service instance with the provided service name.
Parameters:
Name Type Description serviceNamestring Name of the service - Source:
Returns:
Integration service instance- Type
- IntegrationService
-
getMessagingService() → {MessagingService}
-
Method to create the messaging service instance.
- Source:
Returns:
Messaging service instance- Type
- MessagingService
-
getMetricsService() → {MetricsService}
-
Method to create the Metrics service instance with the provided service name.
- Source:
Returns:
Metrics service instance- Type
- MetricsService
-
getReportingService() → {ReportingService}
-
Method to create the Reporting service instance with the provided service name.
- Source:
Returns:
Reporting service instance- Type
- ReportingService
-
getSyncService() → {SyncService}
-
Method to create the sync service instance.
- Source:
Returns:
sync service instance- Type
- SyncService
-
init(appKey, appSecret, serviceUrl, successCallback, failureCallback)
-
Initialization method for the kony SDK. This method will fetch the app configuration from the kony server and stores in memory. This method has to be invoked before invoking any other SDK methods.
Parameters:
Name Type Description appKeystring Appkey of the kony application appSecretstring App Secret of the kony application serviceUrlstring URL of the kony Server successCallbackinitSuccessCallback Callback method on success failureCallbackinitFailureCallback Callback method on failure - Source: