Class: MobileBackendManager

MobileBackendManager


new MobileBackendManager()

The entry-point into the Oracle Mobile Cloud Service SDK.

The entry-point into the Oracle Mobile Cloud Service SDK. The MobileBackendManager has a singleton from which MobileBackend objects can be accessed, which in turn provide access to Analytics, Storage, Auth and other capabilities. The singleton can be accessed as mcs.mobileBackendManager.
Source:

Members


platform :Platform

The platform implementation to use in the application.

The platform implementation to use in the application. Callers can derive from Platform to provide a specific implementation for device state and capabilities.
Type:
Source:

Methods


getMobileBackend(name)

Create and return mobile backend.

Create and return mobile backend.
Parameters:
Name Type Description
name String The name of the MobileBackend.
Source:
Returns:
A MobileBackend object with the specified name.
Type
MobileBackend

returnMobileBackend(name, config)

Sets the configuration for the application.

Sets the configuration for the application. The configuration should be set once before any MobileBackend is accessed.
Parameters:
Name Type Description
name String The name of the MobileBackend.
config OracleMobileCloudConfig The Oracle mobile cloud configuration object.
Source:
Returns:
A MobileBackend object with the specified name.
Type
MobileBackend

setConfig(config)

Sets the configuration for the application.

Sets the configuration for the application. The configuration should be set once before any MobileBackend is accessed.
Parameters:
Name Type Description
config OracleMobileCloudConfig The Oracle mobile cloud configuration object.
Source: