A B C D F G I J O R S T V 

A

Adapter - Class in com.strongloop.android.remoting.adapters
The entry point to all networking accomplished with LoopBack.
Adapter(Context) - Constructor for class com.strongloop.android.remoting.adapters.Adapter
Creates a new, disconnected Adapter.
Adapter(Context, String) - Constructor for class com.strongloop.android.remoting.adapters.Adapter
Creates a new Adapter, connecting it to `url`.
Adapter.Callback - Interface in com.strongloop.android.remoting.adapters
A callback that returns the HTTP response body.
Adapter.JsonArrayCallback - Class in com.strongloop.android.remoting.adapters
A callback that returns a JSON array.
Adapter.JsonArrayCallback() - Constructor for class com.strongloop.android.remoting.adapters.Adapter.JsonArrayCallback
 
Adapter.JsonCallback - Class in com.strongloop.android.remoting.adapters
A callback that parses a JSON response.
Adapter.JsonCallback() - Constructor for class com.strongloop.android.remoting.adapters.Adapter.JsonCallback
 
Adapter.JsonObjectCallback - Class in com.strongloop.android.remoting.adapters
A callback that returns a JSON object.
Adapter.JsonObjectCallback() - Constructor for class com.strongloop.android.remoting.adapters.Adapter.JsonObjectCallback
 
addItem(RestContractItem, String) - Method in class com.strongloop.android.remoting.adapters.RestContract
Adds a single item to this contract.
addItemsFromContract(RestContract) - Method in class com.strongloop.android.remoting.adapters.RestContract
Adds all items from contract.
app_name - Static variable in class com.strongloop.remoting.android.R.string
 
AppBaseTheme - Static variable in class com.strongloop.remoting.android.R.style
Theme customizations available in newer API levels can go in res/values-vXX/styles.xml, while customizations related to backward-compatibility can go here.
AppTheme - Static variable in class com.strongloop.remoting.android.R.style
All customizations that are NOT specific to a particular API-level can go here.

B

BuildConfig - Class in com.strongloop.remoting.android
 
BuildConfig() - Constructor for class com.strongloop.remoting.android.BuildConfig
 

C

com.strongloop.android.remoting - package com.strongloop.android.remoting
 
com.strongloop.android.remoting.adapters - package com.strongloop.android.remoting.adapters
 
com.strongloop.remoting.android - package com.strongloop.remoting.android
 
connect(Context, String) - Method in class com.strongloop.android.remoting.adapters.Adapter
Connects the Adapter to `url`.
connect(Context, String) - Method in class com.strongloop.android.remoting.adapters.RestAdapter
 
createObject(Map<String, ? extends Object>) - Method in class com.strongloop.android.remoting.Repository
Creates a new VirtualObject as a virtual instance of this remote class.

D

DEBUG - Static variable in class com.strongloop.remoting.android.BuildConfig
 

F

fromJson(JSONObject) - Static method in class com.strongloop.android.remoting.JsonUtil
Converts a JSONObject to a Map.
fromJson(JSONArray) - Static method in class com.strongloop.android.remoting.JsonUtil
Converts a JSONArray to a List.

G

getAdapter() - Method in class com.strongloop.android.remoting.Repository
Gets the Adapter that should be used for invoking methods, both for static methods on this prototype and all methods on all instances of this prototype.
getClassName() - Method in class com.strongloop.android.remoting.Repository
Gets the name given to this prototype on the server.
getContract() - Method in class com.strongloop.android.remoting.adapters.RestAdapter
Gets this adapter's RestContract, a custom contract for fine-grained route configuration.
getCreationParameters() - Method in class com.strongloop.android.remoting.VirtualObject
Gets the creation parameters this object was created from.
getPattern() - Method in class com.strongloop.android.remoting.adapters.RestContractItem
Gets the pattern corresponding to this route, e.g.
getPatternForMethod(String) - Method in class com.strongloop.android.remoting.adapters.RestContract
Returns the custom pattern representing the given method string, or null if no custom pattern exists.
getRepository() - Method in class com.strongloop.android.remoting.VirtualObject
Gets the Repository this object was created from.
getUrl(String, Map<String, ? extends Object>) - Method in class com.strongloop.android.remoting.adapters.RestContract
Returns a rendered URL pattern using the parameters provided.
getUrlForMethod(String, Map<String, ? extends Object>) - Method in class com.strongloop.android.remoting.adapters.RestContract
Resolves a specific method, replacing pattern fragments with the optional parameters as appropriate.
getUrlForMethodWithoutItem(String) - Method in class com.strongloop.android.remoting.adapters.RestContract
Generates a fallback URL for a method whose contract has not been customized.
getVerb() - Method in class com.strongloop.android.remoting.adapters.RestContractItem
Gets the verb corresponding to this route, e.g.
getVerbForMethod(String) - Method in class com.strongloop.android.remoting.adapters.RestContract
Gets the HTTP verb for the given method string.

I

ic_launcher - Static variable in class com.strongloop.remoting.android.R.drawable
 
invokeInstanceMethod(String, Map<String, ? extends Object>, Map<String, ? extends Object>, Adapter.Callback) - Method in class com.strongloop.android.remoting.adapters.Adapter
Invokes a remotable method exposed within a prototype on the server.
invokeInstanceMethod(String, Map<String, ? extends Object>, Map<String, ? extends Object>, Adapter.Callback) - Method in class com.strongloop.android.remoting.adapters.RestAdapter
Invokes a remotable method exposed within a prototype on the server.
invokeMethod(String, Map<String, ? extends Object>, Adapter.Callback) - Method in class com.strongloop.android.remoting.VirtualObject
Invokes a remotable method exposed within instances of this class on the server.
invokeStaticMethod(String, Map<String, ? extends Object>, Adapter.Callback) - Method in class com.strongloop.android.remoting.adapters.Adapter
Invokes a remotable method exposed statically on the server.
invokeStaticMethod(String, Map<String, ? extends Object>, Adapter.Callback) - Method in class com.strongloop.android.remoting.adapters.RestAdapter
Invokes a remotable method exposed statically on the server.
invokeStaticMethod(String, Map<String, ? extends Object>, Adapter.Callback) - Method in class com.strongloop.android.remoting.Repository
Invokes a remotable method exposed statically within this class on the server.
isConnected() - Method in class com.strongloop.android.remoting.adapters.Adapter
Gets whether this adapter is connected to a server.
isConnected() - Method in class com.strongloop.android.remoting.adapters.RestAdapter
 

J

JsonUtil - Class in com.strongloop.android.remoting
Utility methods for converting JSON objects to Java collection objects (and vice versa).
JsonUtil() - Constructor for class com.strongloop.android.remoting.JsonUtil
 

O

onError(Throwable) - Method in interface com.strongloop.android.remoting.adapters.Adapter.Callback
The method invoked when an error occurs.
onSuccess(String) - Method in interface com.strongloop.android.remoting.adapters.Adapter.Callback
The method invoked when the call completes successfully.
onSuccess(JSONArray) - Method in class com.strongloop.android.remoting.adapters.Adapter.JsonArrayCallback
The method invoked when the call completes successfully and the response is a JSON array or null if the response string is "null".
onSuccess(Object) - Method in class com.strongloop.android.remoting.adapters.Adapter.JsonArrayCallback
 
onSuccess(Object) - Method in class com.strongloop.android.remoting.adapters.Adapter.JsonCallback
The method invoked when the call completes successfully.
onSuccess(String) - Method in class com.strongloop.android.remoting.adapters.Adapter.JsonCallback
 
onSuccess(JSONObject) - Method in class com.strongloop.android.remoting.adapters.Adapter.JsonObjectCallback
The method invoked when the call completes successfully and the response is a JSON object or null if the response string is "null".
onSuccess(Object) - Method in class com.strongloop.android.remoting.adapters.Adapter.JsonObjectCallback
 

R

R - Class in com.strongloop.remoting.android
 
R() - Constructor for class com.strongloop.remoting.android.R
 
R.attr - Class in com.strongloop.remoting.android
 
R.attr() - Constructor for class com.strongloop.remoting.android.R.attr
 
R.drawable - Class in com.strongloop.remoting.android
 
R.drawable() - Constructor for class com.strongloop.remoting.android.R.drawable
 
R.string - Class in com.strongloop.remoting.android
 
R.string() - Constructor for class com.strongloop.remoting.android.R.string
 
R.style - Class in com.strongloop.remoting.android
 
R.style() - Constructor for class com.strongloop.remoting.android.R.style
 
Repository - Class in com.strongloop.android.remoting
A local representative of remote model repository, it provides access to static methods like
Repository(String) - Constructor for class com.strongloop.android.remoting.Repository
Creates a new Repository, associating it with the named remote class.
RestAdapter - Class in com.strongloop.android.remoting.adapters
A specific Adapter implementation for RESTful servers.
RestAdapter(Context, String) - Constructor for class com.strongloop.android.remoting.adapters.RestAdapter
 
RestContract - Class in com.strongloop.android.remoting.adapters
A contract specifies how remote method names map to HTTP routes.
RestContract() - Constructor for class com.strongloop.android.remoting.adapters.RestContract
 
RestContractItem - Class in com.strongloop.android.remoting.adapters
A single item within a larger SLRESTContract, encapsulation a single route's verb and pattern, e.g.
RestContractItem(String) - Constructor for class com.strongloop.android.remoting.adapters.RestContractItem
Creates a new item encapsulating the given pattern and the default verb, "POST".
RestContractItem(String, String) - Constructor for class com.strongloop.android.remoting.adapters.RestContractItem
Creates a new item encapsulating the given pattern and verb.

S

setAdapter(Adapter) - Method in class com.strongloop.android.remoting.Repository
Sets the Adapter that should be used for invoking methods, both for static methods on this prototype and all methods on all instances of this prototype.
setContract(RestContract) - Method in class com.strongloop.android.remoting.adapters.RestAdapter
Sets this adapter's RestContract, a custom contract for fine-grained route configuration.
setCreationParameters(Map<String, ? extends Object>) - Method in class com.strongloop.android.remoting.VirtualObject
Sets the creation parameters this object was created from.
setRepository(Repository) - Method in class com.strongloop.android.remoting.VirtualObject
Sets the Repository this object was created from.

T

toJson(Object) - Static method in class com.strongloop.android.remoting.JsonUtil
Converts a Java object to a JSON object.

V

VirtualObject - Class in com.strongloop.android.remoting
A local representative of a single virtual object.
VirtualObject(Repository, Map<String, ? extends Object>) - Constructor for class com.strongloop.android.remoting.VirtualObject
Creates a new object from the given repository and parameters.
A B C D F G I J O R S T V