queryUsageAndQuota method

void queryUsageAndQuota(int storageType, [ StorageUsageCallback usageCallback, StorageErrorCallback errorCallback ])

Source

void queryUsageAndQuota(int storageType,
    [StorageUsageCallback usageCallback,
    StorageErrorCallback errorCallback]) {
  if (errorCallback != null) {
    _blink.BlinkDeprecatedStorageInfo.instance.queryUsageAndQuota_Callback_3_(
        this, storageType, usageCallback, errorCallback);
    return;
  }
  if (usageCallback != null) {
    _blink.BlinkDeprecatedStorageInfo.instance
        .queryUsageAndQuota_Callback_2_(this, storageType, usageCallback);
    return;
  }
  _blink.BlinkDeprecatedStorageInfo.instance
      .queryUsageAndQuota_Callback_1_(this, storageType);
  return;
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/DeprecatedStorageInfo/queryUsageAndQuota.html