Supported Salesforce APIs

Mobile SDK supports these Salesforce APIs.

RestRequest 

The RestRequest class provides factory and extension methods that wrap Salesforce API calls. These methods use request parameters that you provide to construct the network call.

Swift, Java, KotlinObjective-C
RestRequestSFRestRequest

RestRequest returns a specialized copy of itself that reflects your parameters. To send your request to Salesforce, you pass this customized object to the Mobile SDK REST client.

RestRequest supports the Salesforce APIs in this section.

Single Access UI Bridge API 

To display a Salesforce UI in a webview or an external browser without requiring users to re-enter their credentials, Mobile SDK constructs a frontdoor URL. The frontdoor URL takes an access token and a redirect URI, then directs the user to the redirect URI with a new session.

Beginning in version 12.2, Mobile SDK uses the Single Access UI Bridge API to construct the frontdoor URL, which was previously constructed manually.

To use the Single Access UI Bridge API, call this REST wrapper.

iOS 

1// SFRestAPI.h
2
3- (SFRestRequest *)requestForSingleAccess:(NSString *)redirectUri;

Android 

1// RestRequest.java
2
3public static RestRequest getRequestForSingleAccess(String redirectUri)
4throws UnsupportedEncodingException

For more information on the Single Access UI Bridge API, see Salesforce Help: Generate a Frontdoor URL to Bridge into UI Sessions.

See Also

We've Moved

Welcome to the new home of the Mobile SDK Developer Guide! For now, the Japanese guide can be found in PDF form.