Namespace: mcs

Namespace: mcs

mcs

MCS module.
Source:

Members

(static, readonly) LOG_LEVEL :number

Log levels enum.
Type:
  • number
Properties:
Name Type Description
NONE number 0
ERROR number 1
WARN number 2
INFO number 3
DEBUG number 4
Source:

(readonly) AUTHENTICATION_TYPES :string

Authentication types enum.
Type:
  • string
Properties:
Name Type Description
basic string 'basic'
oauth string 'oauth'
facebook string 'facebook'
token string 'token'
Source:

(readonly) mobileBackend :MobileBackend

Mobile backend object. Represents a mobile backend in Oracle Mobile Hub and provides access to all capabilities of the backend.
Type:
Source:

Methods

init(config)

Init MCS with configuration
Parameters:
Name Type Description
config OracleMobileCloudConfig MCS configuration The callback will be call when notification received by Cxa Analytics notification provider.
Source:

(static) AnalyticsEvent(name) → {AnalyticsEvent}

Analytics event constructor. Creates analytics event.
Parameters:
Name Type Description
name string event name
Source:
Returns:
Type
AnalyticsEvent

(static) StorageObject(storageCollection, jsonopt) → {StorageObject}

Storage object constructor. Access point to class that represents a storage object resource that can be used to store data.
Parameters:
Name Type Attributes Description
storageCollection StorageCollection
json Object <optional>
Json storage object representation
Source:
Returns:
Type
StorageObject