Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

Everlive [class]

Description

The constructor of the Backend Services (Everlive) JavaScript SDK. This is the entry point for the SDK.

Members

Instance members

Name Return type Description
Files An instance of the Files class for working with files.
Users An instance of the Users class for working with users.
addListener(eventName, eventListener) Adds an event listener to the SDK.
authInfo() Promise Gets the current authentication status of the Telerik Backend Services JavaScript SDK instance.
authInfo([success], [error]) Gets the current authentication status of the Telerik Backend Services JavaScript SDK instance.
authentication An instance of the Authentication class for working with the authentication of the SDK.
authentication An instance of the Authentication class for working with the authentication of the SDK.
buildAuthHeader() Object Generates the Authorization headers that are used by the Telerik Backend Services (Everlive) JavaScript SDK to make requests to the Backend Services servers.
buildUrl() string Returns the URL to the Backend Services application endpoint that the SDK uses.
businessLogic An instance of the BusinessLogic class for invoking cloud functions and stored procedures through the SDK
cache Represents the CacheModule class.
files An instance of the Files class for working with files.
getHierarchicalDataSource(typeName, dataSourceOptions) HierarchicalDataSource Get a Kendo UI HierarchicalDataSource that is attached to the current instance of the SDK with default options.
getKendoDataSource(typeName, [options]) DataSource Get a Kendo UI DataSource that is attached to the current instance of the SDK with default options.
isOffline() boolean Check if the SDK is in offline mode.
isOnline() boolean Check if the SDK is in online mode.
off(eventListener) Removes an SDK event listener.
offline([isOffline]) Sets the SDK to work in offline mode.
offlineStorage Represents the OfflineModule class.
on(eventName, eventListener) Adds an event listener to the SDK.
once(eventName, eventListener) Adds an event listener to the SDK which will be called only the first time the event is emitted.
online([isOnline]) Sets the SDK to work in online mode.
push An instance of the Push class for working with push notifications.
removeAllListeners() Removes all SDK event listeners.
removeListener(eventName, eventListener) Removes an SDK event listener.
request(options) function Make a request to the current Backend Services JavaScript SDK instance.
sync() Starts the synchronization procedure. Emits the 'syncStart' event when started and the 'syncEnd' event when the procedure finishes. 'syncEnd' contains information about the completed sync operation that you can use to find out how many items were synchronized.
users An instance of the Users class for working with users.

Static members

Name Return type Description
$ Reference to the current Telerik Backend Services (Everlive) JavaScript SDK.
AuthStatus A class used to represent the current authentication status of the Telerik Backend Services JavaScript SDK instance.
Callbacks Defines callback functions used throughout the SDK.
ResultTypes Defines result types returned by functions throughout the SDK.
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.