Core Docs | Additional Modules Docs
@Description: gives javascript access to the flash storage
@File: sharedObject.js
@Author: Paul Visco
@Description: clears data for a specific key in the sharedObject
@File: sharedObject.js
@Param: string key The name of the stored data
@Example:sb.sharedObject.clear('friend');
@Description: clears all data stored in the sharedObject
@File: sharedObject.js
@Example:sb.sharedObject.clearAll();
@Description: get data from the sharedObject
@File: sharedObject.js
@Param: string key The name of the stored data
@Example:sb.sharedObject.get('friend');
@Description: gets data from the sharedObject, alias for this.load for backwards compat
@File: sharedObject.js
@Param: string key The name of the stored data
@Example:sb.sharedObject.load('friend');
@Description: saves data in the sharedObject
@File: sharedObject.js
@Param: string key The name of the stored data
@Param: string val The value to store
@Example:sb.sharedObject.save('friend', 'paul');
@Description: saves data in the sharedObject
@File: sharedObject.js
@Param: string key The name of the stored data
@Param: string val The value to store
@Example:sb.sharedObject.set('friend', 'paul');
@Description: returns the typeOf for easier integration with sb.storage
@File: sharedObject.js
@Example:sb.sharedObject.typeOf();