diff --git a/docs/asyncstorage.html b/docs/asyncstorage.html index 11280a89f54..fec6c3c131f 100644 --- a/docs/asyncstorage.html +++ b/docs/asyncstorage.html @@ -3,13 +3,13 @@ system. It should be used instead of LocalStorage.
It is recommended that of AsyncStorage directly for anything more than light usage since it operates globally.
This JS code is a simple facad over the native iOS implementation to provide
a clear JS API, real Error objects, and simple non-multi functions. Each
-method returns a Promise object.
Fetches key and passes the result to callback, along with an Error if
-there is any. Returns a Promise object.
Sets value for key and calls callback on completion, along with an
-Error if there is any. Returns a Promise object.
Returns a Promise object.
Merges existing value with input value, assuming they are stringified json. Returns a Promise object.
Not supported by all native implementations.
Erases all AsyncStorage for all clients, libraries, etc. You probably
+method returns a Promise object.
Fetches key and passes the result to callback, along with an Error if
+there is any. Returns a Promise object.
Sets value for key and calls callback on completion, along with an
+Error if there is any. Returns a Promise object.
Returns a Promise object.
Merges existing value with input value, assuming they are stringified json. Returns a Promise object.
Not supported by all native implementations.
Erases all AsyncStorage for all clients, libraries, etc. You probably
don't want to call this - use removeItem or multiRemove to clear only your
-own keys instead. Returns a Promise object.
Gets all keys known to the system, for all callers, libraries, etc. Returns a Promise object.
multiGet invokes callback with an array of key-value pair arrays that
-matches the input format of multiSet. Returns a Promise object.
multiGet(['k1', 'k2'], cb) -> cb([['k1', 'val1'], ['k2', 'val2']])
multiSet and multiMerge take arrays of key-value array pairs that match
-the output of multiGet, e.g. Returns a Promise object.
multiSet([['k1', 'val1'], ['k2', 'val2']], cb);
Delete all the keys in the keys array. Returns a Promise object.
Merges existing values with input values, assuming they are stringified
+own keys instead. Returns a Promise object.
Gets all keys known to the system, for all callers, libraries, etc. Returns a Promise object.
multiGet invokes callback with an array of key-value pair arrays that
+matches the input format of multiSet. Returns a Promise object.
multiGet(['k1', 'k2'], cb) -> cb([['k1', 'val1'], ['k2', 'val2']])
multiSet and multiMerge take arrays of key-value array pairs that match
+the output of multiGet, e.g. Returns a Promise object.
multiSet([['k1', 'val1'], ['k2', 'val2']], cb);
Delete all the keys in the keys array. Returns a Promise object.
Merges existing values with input values, assuming they are stringified
json. Returns a Promise object.
Not supported by all native implementations.
Provide a set of routes to initially mount the scenes for. Required if no initialRoute is provided
Optionally provide a navigation bar that persists across scene transitions
Optionally provide the navigator object from a parent Navigator
Will be called with the new route of each scene after the transition is -complete or after the initial mounting. This overrides the onDidFocus -handler that would be found in this.props.navigator
Will be called with (ref, indexInStack) when the scene ref changes
Will emit the target route upon mounting and before each nav transition, -overriding the handler in this.props.navigator. This overrides the onDidFocus -handler that would be found in this.props.navigator
Required function which renders the scene for a given route. Will be +complete or after the initial mounting
Will be called with (ref, indexInStack) when the scene ref changes
Will emit the target route upon mounting and before each nav transition
Required function which renders the scene for a given route. Will be invoked with the route and the navigator object
Styles to apply to the container of each scene