套件 | spark.managers |
介面 | public interface IPersistenceManager |
實作者 | PersistenceManager |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | AIR 2.5 |
相關 API 元素
公用方法
方法 | 定義自 | ||
---|---|---|---|
Clears all the data that is being stored by the persistence
manager. | IPersistenceManager | ||
Returns the value of a property stored in the persistence manager. | IPersistenceManager | ||
Initializes the persistence manager. | IPersistenceManager | ||
Flushes the data being managed by the persistence manager to
disk, or to another external storage file. | IPersistenceManager | ||
Stores a value in the persistence manager. | IPersistenceManager |
方法詳細資訊
clear | () | 方法 |
public function clear():void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | AIR 2.5 |
Clears all the data that is being stored by the persistence manager.
getProperty | () | 方法 |
public function getProperty(key:String):Object
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | AIR 2.5 |
Returns the value of a property stored in the persistence manager. Properties are saved as key:value pairs.
參數
key:String — The property key.
|
Object — The value of a property stored in the persistence manager.
|
load | () | 方法 |
save | () | 方法 |
setProperty | () | 方法 |
Tue Jun 12 2018, 03:47 PM Z