This method of the ClientStoragePermission Class obtains the limit on the amount of data that can be stored.
public long getStorageLimit();
Returns The storage limit in bytes.