Click or drag to resize
MobileBackend Class
Represents a Mobile Backend in the Mobile Cloud Service and provides access to all capabilities of the backend. The MobileBackendManager create all MobileBackends specified in the MobileBackendManager's configuration.
Inheritance Hierarchy
SystemObject
  Oracle.Cloud.Mobile.MobileBackendMobileBackend

Namespace: Oracle.Cloud.Mobile.MobileBackend
Assembly: Oracle.Cloud.Mobile (in Oracle.Cloud.Mobile.dll) Version: 16.1.3.1 (16.1.3.1)
Syntax
public sealed class MobileBackend : IServiceProvider, 
	IMobileBackend

The MobileBackend type exposes the following members.

Properties
  NameDescription
Public propertyAppConfig
Returns an instance of AppConfig. Callers can download the configuration form the service by invoking LoadAppConfig().
Public propertyApplicationKey
The app key of the current mobile application read from the configuration.
Public propertyAuthenticationType
Returns the current AuthenticationType in use. Setting the property will update the Authorization property and cause any signined user to be logged out.
Public propertyAuthorization
Returns the Authorization object that provides authorization capabilities and access to user properties.
Public propertyBaseUri
The base uri of the Mobile Backend read from the configuration.
Public propertyConfiguration
The configuration for the Mobile Backend. This object is readonly.
Public propertyCustomCodeUri
The URI including the path prefix for custom API REST endpoints in the Mobile Cloud Service.
Public propertyDiagnostics
Returns the Diagnostics object that enables end-end debugging across application and cloud.
Public propertyName
The name of the Mobile Backend read from the configuration.
Public propertyPlatformUri
The URI including the path prefix for platform API REST endpoints in the Mobile Cloud Service.
Top
Methods
  NameDescription
Public methodCreateHttpClient
Configures and returns a new HttpClient instance that can talk to the Mobile Backend. Auth and Diagnostics headers will be automatically inserted.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetCustomCodeUriForPath
Returns a URI for a custom API with the given path in the Mobile Cloud Service. The path to the custom API.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetPlatforUriForPath
Returns a URI for a platform API with the given path in the Mobile Cloud Service. The path to the platform API.
Public methodGetService(Type)
Returns a Service Proxy for of the given type that exposes platform capabilities for this Mobile Backend.
Public methodGetServiceT
Returns a Service Proxy for of the given type that exposes platform capabilities for this Mobile Backend.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoadAppConfigAsync
Downloads the configuration from the service. The AppConfig property will contain the downloaded configuration.
Public methodSetAuthenticationType
Sets the AuthenticationType to use. The authentication parameters should have been previously configured. This method will update the Authorization property and also set the AuthConfiguration property on the MobileBackendConfiguration object.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also