Class: sdk

kony. sdk

kony Class

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
providerName string 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
serviceName string 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
appKey string Appkey of the kony application
appSecret string App Secret of the kony application
serviceUrl string URL of the kony Server
successCallback initSuccessCallback Callback method on success
failureCallback initFailureCallback Callback method on failure
Source: