Class NSUbiquitousKeyValueStore

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class NSUbiquitousKeyValueStore
extends NSObject
  • Constructor Details

    • NSUbiquitousKeyValueStore

      public NSUbiquitousKeyValueStore()
    • NSUbiquitousKeyValueStore

      protected NSUbiquitousKeyValueStore​(NSObject.Handle h, long handle)
    • NSUbiquitousKeyValueStore

      protected NSUbiquitousKeyValueStore​(NSObject.SkipInit skipInit)
  • Method Details

    • getDefaultStore

      public static NSUbiquitousKeyValueStore getDefaultStore()
    • asDictionary

      public NSDictionary<NSString,​?> asDictionary()
    • put

      public void put​(String key, NSObject object)
    • put

      public void put​(String key, String string)
    • put

      public void put​(String key, NSData data)
    • put

      public void put​(String key, NSArray<?> array)
    • put

      public void put​(String key, NSDictionary<NSString,​?> dictionary)
    • put

      public void put​(String key, long value)
    • put

      public void put​(String key, double value)
    • put

      public void put​(String key, boolean value)
    • asMap

      public Map<String,​?> asMap()
    • DidChangeExternallyNotification

      public static NSString DidChangeExternallyNotification()
    • ChangeReasonKey

      protected static NSString ChangeReasonKey()
    • ChangedKeysKey

      protected static NSString ChangedKeysKey()
    • get

      public NSObject get​(String aKey)
    • setObject

      protected void setObject​(NSObject anObject, String aKey)
    • remove

      public void remove​(String aKey)
    • getString

      public String getString​(String aKey)
    • getArray

      public NSArray<?> getArray​(String aKey)
    • getDictionary

      public NSDictionary<NSString,​?> getDictionary​(String aKey)
    • getData

      public NSData getData​(String aKey)
    • getLong

      public long getLong​(String aKey)
    • getDouble

      public double getDouble​(String aKey)
    • getBoolean

      public boolean getBoolean​(String aKey)
    • setString

      protected void setString​(String aString, String aKey)
    • setData

      protected void setData​(NSData aData, String aKey)
    • setArray

      protected void setArray​(NSArray<?> anArray, String aKey)
    • setDictionary

      protected void setDictionary​(NSDictionary<NSString,​?> aDictionary, String aKey)
    • setLongLong

      protected void setLongLong​(long value, String aKey)
    • setDouble

      protected void setDouble​(double value, String aKey)
    • setBool

      protected void setBool​(boolean value, String aKey)
    • synchronize

      public boolean synchronize()